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.

75 lines
3.0 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-2.2/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-2.2/adapter/ext/ext-base.js"></script>
  13. <script type="text/javascript" src="{{ MEDIA_URL }}/ext-2.2/ext-all.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. <div id="contentleft">
  57. {% block LeftColumn %}
  58. {% endblock %}
  59. </div>
  60. <div id="contentright">
  61. {% block Content %}
  62. {% endblock %}
  63. </div>
  64. </div>
  65. <!-- footer -->
  66. <div id="footerpanel">
  67. You are using <a href="http://bitbucket.org/Svedrin/mumble-django" target="_blank">Mumble-Django</a> --
  68. interface built using <a href="http://extjs.com/" target="_blank">ExtJS</a>
  69. </div>
  70. </div>
  71. </body>
  72. </html>