Haraka-Wildduck Docker Mail Server with NodeJS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
4.4 KiB

4 years ago
  1. <div class="row">
  2. <div class="col-md-12">
  3. <h1><span class="glyphicon glyphicon-lock" aria-hidden="true"></span> Security</h1>
  4. </div>
  5. </div>
  6. <div class="row">
  7. <div class="col-md-12">
  8. <!-- Nav tabs -->
  9. <ul class="nav nav-tabs" role="tablist">
  10. {{> securitymenu}}
  11. </ul>
  12. <div class="tab-content">
  13. <div role="tabpanel" class="tab-pane active" id="overview">
  14. <p>&nbsp;</p>
  15. <table class="table table-responsive">
  16. <thead>
  17. <tr>
  18. <th>
  19. Environment
  20. </th>
  21. <th>
  22. Action
  23. </th>
  24. <th>
  25. Result
  26. </th>
  27. <th>
  28. IP
  29. </th>
  30. <th>
  31. Session
  32. </th>
  33. <th>
  34. Time
  35. </th>
  36. </tr>
  37. </thead>
  38. <tbody>
  39. {{#if results}}
  40. {{#each results}}
  41. <tr>
  42. <td>
  43. {{protocol}}
  44. </td>
  45. <td>
  46. {{#if asp}}
  47. <div class="pull-right">
  48. <strong>{{asp.name}}</strong>
  49. </div>
  50. {{/if}}
  51. {{action}}
  52. ({{events}})
  53. </td>
  54. <td>
  55. {{#if label}}
  56. <span class="label label-{{label}}">{{result}}</span>
  57. {{else}}
  58. {{result}}
  59. {{/if}}
  60. </td>
  61. <td>
  62. {{ip}}
  63. </td>
  64. <td>
  65. {{#if sess}}
  66. <em>{{sessStr}}</em>
  67. {{else}}
  68. {{/if}}
  69. </td>
  70. <td class="datestring-fixed text-right" title="{{created}}">
  71. {{created}}
  72. </td>
  73. </tr>
  74. {{/each}}
  75. {{else}}
  76. <tr>
  77. <td colspan="6">
  78. <em>No events found</em>
  79. </td>
  80. </tr>
  81. {{/if}}
  82. </tbody>
  83. </table>
  84. <nav aria-label="nav">
  85. <ul class="pager">
  86. {{#if previousCursor}}
  87. <li class="previous"><a href="/account/security/events?previous={{previousCursor}}&amp;page={{previousPage}}"><span aria-hidden="true">&larr;</span> Newer</a></li>
  88. {{else}}
  89. <li class="previous disabled"><a href="#"><span aria-hidden="true">&larr;</span> Newer</a></li>
  90. {{/if}}
  91. {{#if nextCursor}}
  92. <li class="next"><a href="/account/security/events?next={{nextCursor}}&amp;page={{nextPage}}">Older <span aria-hidden="true">&rarr;</span></a></li>
  93. {{else}}
  94. <li class="next disabled"><a href="#">Older <span aria-hidden="true">&rarr;</span></a></li>
  95. {{/if}}
  96. </ul>
  97. </nav>
  98. </div>
  99. </div>
  100. </div>
  101. </div>