log.ftl 984 B

1234567891011121314151617181920212223242526272829303132333435
  1. <#import "template.ftl" as layout>
  2. <@layout.mainLayout active='log' bodyClass='log'; section>
  3. <div class="row">
  4. <div class="col-md-10">
  5. <h2>${msg("accountLogHtmlTitle")}</h2>
  6. </div>
  7. </div>
  8. <table class="table table-striped table-bordered">
  9. <thead>
  10. <tr>
  11. <td>${msg("date")}</td>
  12. <td>${msg("event")}</td>
  13. <td>${msg("ip")}</td>
  14. <td>${msg("client")}</td>
  15. <td>${msg("details")}</td>
  16. </tr>
  17. </thead>
  18. <tbody>
  19. <#list log.events as event>
  20. <tr>
  21. <td>${event.date?datetime}</td>
  22. <td>${event.event}</td>
  23. <td>${event.ipAddress}</td>
  24. <td>${event.client!}</td>
  25. <td><#list event.details as detail>${detail.key} = ${detail.value} <#if detail_has_next>, </#if></#list></td>
  26. </tr>
  27. </#list>
  28. </tbody>
  29. </table>
  30. </@layout.mainLayout>