Newer
Older
postorius / templates / mailman-django / base.html
@benste benste on 15 Aug 2011 2 KB corrected link issues MediaURL-JS
  1. <!doctype html>
  2. {% load i18n %}
  3. <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--><!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]--><!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]--><!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]--><!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]--><head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <title></title>
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10. <link rel="shortcut icon" href="{{MEDIA_URL}}/images/favicon.ico">
  11. <link rel="apple-touch-icon" href="{{MEDIA_URL}}images/apple-touch-icon.png">
  12. <link rel="stylesheet" href="{{MEDIA_URL}}{{MAILMAN_THEME}}/css/style.css?v=2">
  13. <link rel="stylesheet" href="{{MEDIA_URL}}{{MAILMAN_THEME}}/css/icons.css">
  14. <script src="{{MEDIA_URL}}{{MAILMAN_THEME}}/js/libs/modernizr-1.7.min.js"></script>
  15. </head>
  16. <body>
  17. <div id="mm_page">
  18. <h1>
  19. {% block heading %}
  20. {% if list %}
  21. {{list.list_name}} <span>{{list.real_name}}</span>
  22. {% else %}
  23. <span>on {{domain}}</span>
  24. {% endif %}
  25. {% endblock %}</h1>
  26. {% if error %}
  27. <div class="mm_box mm_smallBox">
  28. <div class="mm_boxHeader">{% trans "Error" %}</div>
  29. {{error}}
  30. </div>
  31. {% endif %}
  32. {% if message %}
  33. <div class="mm_box mm_smallBox">
  34. <div class="mm_boxHeader">{% trans "Message" %}</div>
  35. {{message}}
  36. </div>
  37. {% endif %}
  38. {% block header%}{% endblock %}
  39. {% block actionButtonsList %}{% endblock %}
  40. {% block smallBoxLeft %}{% endblock %}
  41. {% block smallBoxRight %}{% endblock %}
  42. <div id="mm_footer">
  43. {% block footer %}
  44. {% include "mailman-django/list_selector.html" %}
  45. {% if request.user.is_authenticated %}
  46. <p id="login"><a href="{% url user_login %}">{% trans "Login" %}</a> {{request.user.username}}</p>
  47. {% else %}
  48. <p id="logout"><a href="{% url user_logout %}">{% trans "Logout" %}</a> {{request.user.username}}</p>
  49. {% endif %}
  50. {% endblock %}
  51. </div>
  52. </div>
  53. <script src="{{MEDIA_URL}}{{MAILMAN_THEME}}/js/libs/jquery-1.5.1.min.js"></script>
  54. <script src="{{MEDIA_URL}}{{MAILMAN_THEME}}/js/plugins.js"></script>
  55. <script src="{{MEDIA_URL}}{{MAILMAN_THEME}}/js/script.js"></script>
  56. </body>