messages.html 954 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {% extends 'base.html' %}
  2. {% block header %}
  3. <h1>Messages for {{ area }} </h1>
  4. {% endblock %}
  5. {% block content %}
  6. <div class="large-12 cell">
  7. <div class="grid-x">
  8. <div class="large-12 cell">
  9. <a href="{{ url_for('list_bases') }}">Back to Message Base Areas</a>
  10. </div>
  11. <div class="large-12 cell">
  12. {{ pagination.info }}
  13. </div>
  14. <div class="large-12 cell">
  15. {{ pagination.links }}
  16. </div>
  17. </div>
  18. {% for msg in messages %}
  19. <div class="grid-x padding-x">
  20. <div class="large-1 cell"><a href="{{ url_for('display_message', area=area, msgno=msg.MsgNum) }}">{{ msg.MsgNum }}</a></div>
  21. <div class="large-2 cell">{{ msg.written|datefmt }}</div>
  22. <div class="large-2 cell">{{ msg.from }}</div>
  23. <div class="large-2 cell">{{ msg.to }}</div>
  24. <div class="large-5 cell"><a href="{{ url_for('display_message', area=area, msgno=msg.MsgNum) }}">{{ msg.subject }}</a></div>
  25. </div>
  26. {% endfor %}
  27. <div class="large-12 cell">
  28. {{ pagination.links }}
  29. </div>
  30. </div>
  31. {% endblock %}