~ubuntu-branches/ubuntu/saucy/mumble-django/saucy-proposed

« back to all changes in this revision

Viewing changes to pyweb/templates/index.html

  • Committer: Package Import Robot
  • Author(s): Michael Ziegler
  • Date: 2013-05-19 18:06:11 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20130519180611-flqpsk20fu2t6hq4
Tags: 2.9-1
* New upstream release.
* Drop DM-Upload-Allowed as it isn't used any longer.
* Update VCS-{SVN,Browser} tags.
* Update Django dependency to 1.5.
* Remove template patch for django-registration 0.8 (applied upstream).
* Remove the hunk that adds MessageMiddleware to settings.py (applied
  upstream).
* Disable the registration app for now (incompatible to Django 1.5).
* Remove dependency to python-simplejson.
* Adapt apache config to staticfiles change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% load i18n %}
 
2
{% load staticfiles %}
2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4
<html xmlns="http://www.w3.org/1999/xhtml">
4
5
  <head>
5
6
    <title>{% block PageTitle %}Mumble Administration{% endblock %}</title>
6
7
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
7
8
 
8
 
    <link rel="stylesheet"    type="text/css"  href="{{ MEDIA_URL }}/ext-3.2.0/resources/css/ext-all.css" />
9
 
    <link rel="stylesheet"    type="text/css"  href="{{ MEDIA_URL }}/style.css" />
10
 
    <link rel="stylesheet"    type="text/css"  href="{{ MEDIA_URL }}/templatestyle.css" />
11
 
    <link rel="stylesheet"    type="text/css"  href="{{ MUMBLE_MEDIA_PREFIX }}css/style.css"  />
12
 
    <link rel="shortcut icon" type="image/png" href="{{ MUMBLE_MEDIA_PREFIX }}img/mumble.16x16.png" />
 
9
    <link rel="stylesheet"    type="text/css"  href="{% static 'ext-3.2.0/resources/css/ext-all.css' %}" />
 
10
    <link rel="stylesheet"    type="text/css"  href="{% static 'style.css' %}" />
 
11
    <link rel="stylesheet"    type="text/css"  href="{% static 'templatestyle.css' %}" />
 
12
    <link rel="stylesheet"    type="text/css"  href="{% static 'mumble/css/style.css' %}"  />
 
13
    <link rel="shortcut icon" type="image/png" href="{% static 'mumble/img/mumble.16x16.png' %}" />
13
14
 
14
15
    {% if debug %}
15
 
      <script type="text/javascript" src="{{ MEDIA_URL }}/ext-3.2.0/adapter/ext/ext-base-debug.js"></script>
16
 
      <script type="text/javascript" src="{{ MEDIA_URL }}/ext-3.2.0/ext-all-debug.js"></script>
 
16
      <script type="text/javascript" src="{% static 'ext-3.2.0/adapter/ext/ext-base-debug.js' %}"></script>
 
17
      <script type="text/javascript" src="{% static 'ext-3.2.0/ext-all-debug.js' %}"></script>
17
18
    {% else %}
18
 
      <script type="text/javascript" src="{{ MEDIA_URL }}/ext-3.2.0/adapter/ext/ext-base.js"></script>
19
 
      <script type="text/javascript" src="{{ MEDIA_URL }}/ext-3.2.0/ext-all.js"></script>
 
19
      <script type="text/javascript" src="{% static 'ext-3.2.0/adapter/ext/ext-base.js' %}"></script>
 
20
      <script type="text/javascript" src="{% static 'ext-3.2.0/ext-all.js' %}"></script>
20
21
    {% endif %}
21
 
    <script type="text/javascript" src="{{ MEDIA_URL }}/checkcolumn.js"></script>
 
22
    <script type="text/javascript" src="{% static 'checkcolumn.js' %}"></script>
22
23
 
23
24
    {% block HeadTag %}
24
25
    {% endblock %}
30
31
      <div id="headpanel">
31
32
        <div id="headlinks">
32
33
          {% if user.is_authenticated %}
33
 
            <a href="{% url django.contrib.auth.views.logout %}">{% trans "Log out" %}</a> |
 
34
            <a href="{% url 'django.contrib.auth.views.logout' %}">{% trans "Log out" %}</a> |
34
35
          {% else %}
35
 
            <a href="{% url django.contrib.auth.views.login %}">{% trans "Log in" %}</a> |
 
36
            <a href="{% url 'django.contrib.auth.views.login' %}">{% trans "Log in" %}</a> |
36
37
          {% endif %}
37
38
          {% if user.is_staff %}
38
 
            <a href="{% url admin:index %}" target="_blank">{% trans "Administration" %}</a> |
 
39
            <a href="{% url 'admin:index' %}" target="_blank">{% trans "Administration" %}</a> |
39
40
            {% if "rosetta" in INSTALLED_APPS %}
40
 
              <a href="{% url rosetta.views.home %}" target="_blank">{% trans "Edit translations" %}</a> |
 
41
              <a href="{% url 'rosetta.views.home' %}" target="_blank">{% trans "Edit translations" %}</a> |
41
42
            {% endif %}
42
43
          {% endif %}
43
 
          <a href="{% url views.imprint %}">{% trans "Imprint" %}</a>
 
44
          <a href="{% url 'views.imprint' %}">{% trans "Imprint" %}</a>
44
45
        </div>
45
46
        <h2>{% block Headline %}{% endblock %}</h2>
46
47
      </div>
47
48
      <!-- navi -->
48
49
      <div id="navipanel">
49
50
        <ul id="navilinks">
50
 
          <li><a href="{% url mumble.views.redir %}">{% trans "Home" %}</a></li>
 
51
          <li><a href="{% url 'mumble.views.redir' %}">{% trans "Home" %}</a></li>
51
52
          {% if MumbleActive %}
52
53
            <li><b>Mumble</b></li>
53
54
          {% else %}
54
 
            <li><a href="{% url mumble.views.mumbles %}">Mumble</a></li>
 
55
            <li><a href="{% url 'mumble.views.mumbles' %}">Mumble</a></li>
55
56
          {% endif %}
56
57
          {% if ProfileActive %}
57
58
            <li><b>Profile</b></li>
58
59
          {% else %}
59
 
            <li><a href="{% url views.profile %}">{% trans "Profile" %}</a></li>
 
60
            <li><a href="{% url 'views.profile' %}">{% trans "Profile" %}</a></li>
60
61
          {% endif %}
61
62
        </ul>
62
63
      </div>