system_log.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {% extends 'auth_layout.html' %}
  2. {% block content %}
  3. <div class="row">
  4. <div class="col">
  5. <h3><i class="ri-file-list-3-line"></i> System Log</h3>
  6. </div>
  7. </div>
  8. <div class="row">
  9. <div class="col">
  10. <table class="table table-striped">
  11. <thead>
  12. <tr>
  13. <th scope="col">Admin User</th>
  14. <th scope="col">Date/Time</th>
  15. <th scope="col">Action</th>
  16. </tr>
  17. </thead>
  18. <tbody>
  19. {% for log in context.logs %}
  20. <tr>
  21. <td>{{ log.username }}</td>
  22. <td>{{ log.date }}</td>
  23. <td>
  24. {% if log.action[:21] == 'Changed SMTP Password' %}
  25. SMTP password was changed.
  26. {% else %}
  27. {{ log.action }}
  28. {% endif %}
  29. </td>
  30. </tr>
  31. {% endfor %}
  32. </tbody>
  33. </table>
  34. </div>
  35. </div>
  36. {% endblock %}