Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
3.6 KiB

  1. {% load i18n %}
  2. {% load staticfiles %}
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <title>{% block PageTitle %}Mumble Administration{% endblock %}</title>
  7. <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  8. <link rel="stylesheet" type="text/css" href="{% static 'ext-3.2.0/resources/css/ext-all.css' %}" />
  9. <link rel="stylesheet" type="text/css" href="{% static 'style.css' %}" />
  10. <link rel="stylesheet" type="text/css" href="{% static 'templatestyle.css' %}" />
  11. <link rel="stylesheet" type="text/css" href="{% static 'mumble/css/style.css' %}" />
  12. <link rel="shortcut icon" type="image/png" href="{% static 'mumble/img/mumble.16x16.png' %}" />
  13. {% if debug %}
  14. <script type="text/javascript" src="{% static 'ext-3.2.0/adapter/ext/ext-base-debug.js' %}"></script>
  15. <script type="text/javascript" src="{% static 'ext-3.2.0/ext-all-debug.js' %}"></script>
  16. {% else %}
  17. <script type="text/javascript" src="{% static 'ext-3.2.0/adapter/ext/ext-base.js' %}"></script>
  18. <script type="text/javascript" src="{% static 'ext-3.2.0/ext-all.js' %}"></script>
  19. {% endif %}
  20. <script type="text/javascript" src="{% static 'checkcolumn.js' %}"></script>
  21. {% block HeadTag %}
  22. {% endblock %}
  23. </head>
  24. <body bgcolor="#3B69AD">
  25. {% block body %}
  26. <div id="content">
  27. <!-- header -->
  28. <div id="headpanel">
  29. <div id="headlinks">
  30. {% if user.is_authenticated %}
  31. <a href="{% url 'django.contrib.auth.views.logout' %}">{% trans "Log out" %}</a> |
  32. {% else %}
  33. <a href="{% url 'django.contrib.auth.views.login' %}">{% trans "Log in" %}</a> |
  34. {% endif %}
  35. {% if user.is_staff %}
  36. <a href="{% url 'admin:index' %}" target="_blank">{% trans "Administration" %}</a> |
  37. {% if "rosetta" in INSTALLED_APPS %}
  38. <a href="{% url 'rosetta.views.home' %}" target="_blank">{% trans "Edit translations" %}</a> |
  39. {% endif %}
  40. {% endif %}
  41. <a href="{% url 'views.imprint' %}">{% trans "Imprint" %}</a>
  42. </div>
  43. <h2>{% block Headline %}{% endblock %}</h2>
  44. </div>
  45. <!-- navi -->
  46. <div id="navipanel">
  47. <ul id="navilinks">
  48. <li><a href="{% url 'mumble.views.redir' %}">{% trans "Home" %}</a></li>
  49. {% if MumbleActive %}
  50. <li><b>Mumble</b></li>
  51. {% else %}
  52. <li><a href="{% url 'mumble.views.mumbles' %}">Mumble</a></li>
  53. {% endif %}
  54. {% if ProfileActive %}
  55. <li><b>Profile</b></li>
  56. {% else %}
  57. <li><a href="{% url 'views.profile' %}">{% trans "Profile" %}</a></li>
  58. {% endif %}
  59. </ul>
  60. </div>
  61. <!-- content -->
  62. <div id="contentpanel">
  63. {% block ContentMaster %}
  64. <div id="contentleft">
  65. {% block LeftColumn %}
  66. {% endblock %}
  67. </div>
  68. <div id="contentright">
  69. {% block Content %}
  70. {% endblock %}
  71. </div>
  72. {% endblock %}
  73. </div>
  74. <!-- footer -->
  75. <div id="footerpanel">
  76. You are using <a href="http://bitbucket.org/Svedrin/mumble-django" target="_blank">Mumble-Django {{ CURRENTVERSION }}</a> --
  77. interface built using <a href="http://extjs.com/" target="_blank">ExtJS</a>
  78. </div>
  79. </div>
  80. {% endblock %}
  81. </body>
  82. </html>
  83. {# kate: space-indent on; indent-width 2; replace-tabs on; hl Django HTML Template; #}