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.

73 lines
2.9 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. <a href="{% url rosetta.views.home %}" target="_blank">{% trans "Edit translations" %}</a> |
  31. {% endif %}
  32. <a href="{% url views.imprint %}">{% trans "Imprint" %}</a>
  33. </div>
  34. <h2>{% block Headline %}{% endblock %}</h2>
  35. </div>
  36. <!-- navi -->
  37. <div id="navipanel">
  38. <ul id="navilinks">
  39. <li><a href="{% url mumble.views.redir %}">{% trans "Home" %}</a></li>
  40. {% if MumbleActive %}
  41. <li><b>Mumble</b></li>
  42. {% else %}
  43. <li><a href="{% url mumble.views.mumbles %}">Mumble</a></li>
  44. {% endif %}
  45. {% if ProfileActive %}
  46. <li><b>Profile</b></li>
  47. {% else %}
  48. <li><a href="{% url views.profile %}">{% trans "Profile" %}</a></li>
  49. {% endif %}
  50. </ul>
  51. </div>
  52. <!-- content -->
  53. <div id="contentpanel">
  54. <div id="contentleft">
  55. {% block LeftColumn %}
  56. {% endblock %}
  57. </div>
  58. <div id="contentright">
  59. {% block Content %}
  60. {% endblock %}
  61. </div>
  62. </div>
  63. <!-- footer -->
  64. <div id="footerpanel">
  65. You are using <a href="http://bitbucket.org/Svedrin/mumble-django" target="_blank">Mumble-Django</a> --
  66. interface built using <a href="http://extjs.com/" target="_blank">ExtJS</a>
  67. </div>
  68. </div>
  69. </body>
  70. </html>