1
0

base.html 935 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{% block head_title %}{% endblock %}</title>
  5. {% block extra_head %}
  6. {% endblock %}
  7. </head>
  8. <body>
  9. {% block body %}
  10. {% if messages %}
  11. <div>
  12. <strong>Messages:</strong>
  13. <ul>
  14. {% for message in messages %}
  15. <li>{{message}}</li>
  16. {% endfor %}
  17. </ul>
  18. </div>
  19. {% endif %}
  20. <!--
  21. <div>
  22. <strong>Menu:</strong>
  23. <ul>
  24. {% if user.is_authenticated %}
  25. <li><a href="{% url 'account_email' %}">Change E-mail</a></li>
  26. <li><a href="{% url 'account_logout' %}">Sign Out</a></li>
  27. {% else %}
  28. <li><a href="{% url 'account_login' %}">Sign In</a></li>
  29. <li><a href="{% url 'account_signup' %}">Sign Up</a></li>
  30. {% endif %}
  31. </ul>
  32. </div>
  33. -->
  34. {% block content %}
  35. {% endblock %}
  36. {% endblock %}
  37. {% block extra_body %}
  38. {% endblock %}
  39. </body>
  40. </html>