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.

79 lines
3.2 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>Mumble Administration</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. <script type="text/javascript" src="{{ MEDIA_URL }}/ext-3.2.0/adapter/ext/ext-base-debug.js"></script>
  13. <script type="text/javascript" src="{{ MEDIA_URL }}/ext-3.2.0/ext-all-debug.js"></script>
  14. <script type="text/javascript" src="{{ MEDIA_URL }}/checkcolumn.js"></script>
  15. {% block HeadTag %}
  16. {% endblock %}
  17. </head>
  18. <body bgcolor="#3B69AD">
  19. {% block body %}
  20. <div id="content">
  21. <!-- header -->
  22. <div id="headpanel">
  23. <div id="headlinks">
  24. {% if user.is_authenticated %}
  25. <a href="{% url django.contrib.auth.views.logout %}">{% trans "Log out" %}</a> |
  26. {% else %}
  27. <a href="{% url django.contrib.auth.views.login %}">{% trans "Log in" %}</a> |
  28. {% endif %}
  29. {% if user.is_staff %}
  30. <a href="{% url admin:index %}" target="_blank">{% trans "Administration" %}</a> |
  31. {% if ROSETTA_INSTALLED %}
  32. <a href="{% url rosetta.views.home %}" target="_blank">{% trans "Edit translations" %}</a> |
  33. {% endif %}
  34. {% endif %}
  35. <a href="{% url views.imprint %}">{% trans "Imprint" %}</a>
  36. </div>
  37. <h2>{% block Headline %}{% endblock %}</h2>
  38. </div>
  39. <!-- navi -->
  40. <div id="navipanel">
  41. <ul id="navilinks">
  42. <li><a href="{% url mumble.views.redir %}">{% trans "Home" %}</a></li>
  43. {% if MumbleActive %}
  44. <li><b>Mumble</b></li>
  45. {% else %}
  46. <li><a href="{% url mumble.views.mumbles %}">Mumble</a></li>
  47. {% endif %}
  48. {% if ProfileActive %}
  49. <li><b>Profile</b></li>
  50. {% else %}
  51. <li><a href="{% url views.profile %}">{% trans "Profile" %}</a></li>
  52. {% endif %}
  53. </ul>
  54. </div>
  55. <!-- content -->
  56. <div id="contentpanel">
  57. {% block ContentMaster %}
  58. <div id="contentleft">
  59. {% block LeftColumn %}
  60. {% endblock %}
  61. </div>
  62. <div id="contentright">
  63. {% block Content %}
  64. {% endblock %}
  65. </div>
  66. {% endblock %}
  67. </div>
  68. <!-- footer -->
  69. <div id="footerpanel">
  70. You are using <a href="http://bitbucket.org/Svedrin/mumble-django" target="_blank">Mumble-Django {{ CURRENTVERSION }}</a> --
  71. interface built using <a href="http://extjs.com/" target="_blank">ExtJS</a>
  72. </div>
  73. </div>
  74. {% endblock %}
  75. </body>
  76. </html>