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.

77 lines
3.1 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="{{ MEDIA_URL }}/mumble/style.css" />
  11. <link rel="shortcut icon" type="image/png" href="{{ MEDIA_URL }}/mumble/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. <div id="content">
  20. <!-- header -->
  21. <div id="headpanel">
  22. <div id="headlinks">
  23. {% if user.is_authenticated %}
  24. <a href="{% url django.contrib.auth.views.logout %}">{% trans "Log out" %}</a> |
  25. {% else %}
  26. <a href="{% url django.contrib.auth.views.login %}">{% trans "Log in" %}</a> |
  27. {% endif %}
  28. {% if user.is_staff %}
  29. <a href="{% url admin:index %}" target="_blank">{% trans "Administration" %}</a> |
  30. {% if ROSETTA_INSTALLED %}
  31. <a href="{% url rosetta.views.home %}" target="_blank">{% trans "Edit translations" %}</a> |
  32. {% endif %}
  33. {% endif %}
  34. <a href="{% url views.imprint %}">{% trans "Imprint" %}</a>
  35. </div>
  36. <h2>{% block Headline %}{% endblock %}</h2>
  37. </div>
  38. <!-- navi -->
  39. <div id="navipanel">
  40. <ul id="navilinks">
  41. <li><a href="{% url mumble.views.redir %}">{% trans "Home" %}</a></li>
  42. {% if MumbleActive %}
  43. <li><b>Mumble</b></li>
  44. {% else %}
  45. <li><a href="{% url mumble.views.mumbles %}">Mumble</a></li>
  46. {% endif %}
  47. {% if ProfileActive %}
  48. <li><b>Profile</b></li>
  49. {% else %}
  50. <li><a href="{% url views.profile %}">{% trans "Profile" %}</a></li>
  51. {% endif %}
  52. </ul>
  53. </div>
  54. <!-- content -->
  55. <div id="contentpanel">
  56. {% block ContentMaster %}
  57. <div id="contentleft">
  58. {% block LeftColumn %}
  59. {% endblock %}
  60. </div>
  61. <div id="contentright">
  62. {% block Content %}
  63. {% endblock %}
  64. </div>
  65. {% endblock %}
  66. </div>
  67. <!-- footer -->
  68. <div id="footerpanel">
  69. You are using <a href="http://bitbucket.org/Svedrin/mumble-django" target="_blank">Mumble-Django {{ CURRENTVERSION }}</a> --
  70. interface built using <a href="http://extjs.com/" target="_blank">ExtJS</a>
  71. </div>
  72. </div>
  73. </body>
  74. </html>