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.

84 lines
3.5 KiB

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