root / templates / base.html @ d0777394
History | View | Annotate | Download (3.7 kB)
1 | 064ecc91 | Leonidas Poulopoulos | {% load i18n %} |
---|---|---|---|
2 | 064ecc91 | Leonidas Poulopoulos | <html>
|
3 | 064ecc91 | Leonidas Poulopoulos | <head>
|
4 | 064ecc91 | Leonidas Poulopoulos | <title>GRNET's FoD :: {% block title %}{% endblock %} </title> |
5 | 9cad4715 | Leonidas Poulopoulos | <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
6 | c1509909 | Leonidas Poulopoulos | <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"> |
7 | c1509909 | Leonidas Poulopoulos | |
8 | 064ecc91 | Leonidas Poulopoulos | <script src="/static/js/jquery.min.js" type="text/javascript"></script> |
9 | 94fb8123 | Leonidas Poulopoulos | <script src="/static/js/jquery_csrf_protect.js" type="text/javascript"></script> |
10 | 064ecc91 | Leonidas Poulopoulos | <link rel="stylesheet" type="text/css" href="/static/css/base.css"> |
11 | 064ecc91 | Leonidas Poulopoulos | <link rel="stylesheet" type="text/css" href="/static/css/smoothness/jquery-ui-1.8.13.custom.css"> |
12 | 064ecc91 | Leonidas Poulopoulos | <script type="text/javascript" src="/static/js/jquery-ui-1.8.12.custom.min.js"></script> |
13 | fb67376a | Leonidas Poulopoulos | <script type="text/javascript" src="/static/js/jquery.tooltip.min.js"></script> |
14 | cb2bec3d | Leonidas Poulopoulos | <script type="text/javascript" src="/static/js/jquery.cookie.js"></script> |
15 | 064ecc91 | Leonidas Poulopoulos | <script type="text/javascript"> |
16 | 064ecc91 | Leonidas Poulopoulos | |
17 | 064ecc91 | Leonidas Poulopoulos | function setlang(lang){
|
18 | 064ecc91 | Leonidas Poulopoulos | $("#langsel").val(lang);
|
19 | 064ecc91 | Leonidas Poulopoulos | $("#langform").submit();
|
20 | 064ecc91 | Leonidas Poulopoulos | }
|
21 | 064ecc91 | Leonidas Poulopoulos | |
22 | 064ecc91 | Leonidas Poulopoulos | </script>
|
23 | 064ecc91 | Leonidas Poulopoulos | {% block extrahead %}{% endblock %} |
24 | 064ecc91 | Leonidas Poulopoulos | </head>
|
25 | 064ecc91 | Leonidas Poulopoulos | |
26 | 064ecc91 | Leonidas Poulopoulos | |
27 | 064ecc91 | Leonidas Poulopoulos | |
28 | 064ecc91 | Leonidas Poulopoulos | <body>
|
29 | 064ecc91 | Leonidas Poulopoulos | <div id="main"> |
30 | 064ecc91 | Leonidas Poulopoulos | <div id="header"> |
31 | 97e42c7d | Leonidas Poulopoulos | <a class="grnetlogo" href="{% url group-routes %}"> |
32 | 064ecc91 | Leonidas Poulopoulos | <img class="logoimg" src="/static/grnet_logo.png"> |
33 | 064ecc91 | Leonidas Poulopoulos | </a>
|
34 | 064ecc91 | Leonidas Poulopoulos | <div id="title"> |
35 | 33e8f0b8 | Leonidas Poulopoulos | <a href="{% url group-routes %}">Firewall on Demand</a> |
36 | 064ecc91 | Leonidas Poulopoulos | </div>
|
37 | 064ecc91 | Leonidas Poulopoulos | <div class="loginform"> |
38 | 064ecc91 | Leonidas Poulopoulos | <div id="formcontent"> |
39 | 064ecc91 | Leonidas Poulopoulos | {% if user.is_authenticated %} |
40 | 064ecc91 | Leonidas Poulopoulos | <span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span> |
41 | 064ecc91 | Leonidas Poulopoulos | {% endif %} |
42 | 97e42c7d | Leonidas Poulopoulos | {% comment %} |
43 | 064ecc91 | Leonidas Poulopoulos | <span {% if %}class="topmenuaction"{% else %}class="topmenuuser"{% endif %} > |
44 | 064ecc91 | Leonidas Poulopoulos | <form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform"> |
45 | 064ecc91 | Leonidas Poulopoulos | {% csrf_token %} |
46 | 064ecc91 | Leonidas Poulopoulos | <input name="next" type="hidden" value="{{ next }}" /> |
47 | 064ecc91 | Leonidas Poulopoulos | <input id="langsel" name="language" type="hidden" value="" /> |
48 | 064ecc91 | Leonidas Poulopoulos | {% for lang in LANGUAGES %}<a class="select_lang" href="#" onclick="setlang('{{ lang.0 }}'); return false;" title="{{lang.1}}">{% ifnotequal LANGUAGE_CODE lang.0 %}<font style="font-weight:normal;">{% endifnotequal %}{% trans lang.1 %}{% ifnotequal LANGUAGE_CODE lang.0 %}</font>{% endifnotequal %}</a>{% if not forloop.last %} -{% endif %} |
49 | 064ecc91 | Leonidas Poulopoulos | {% endfor %} |
50 | 064ecc91 | Leonidas Poulopoulos | </form>
|
51 | 064ecc91 | Leonidas Poulopoulos | </span>
|
52 | 97e42c7d | Leonidas Poulopoulos | {% endcomment %} |
53 | 064ecc91 | Leonidas Poulopoulos | {% if user.is_authenticated %} |
54 | 97e42c7d | Leonidas Poulopoulos | <span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span> |
55 | 97e42c7d | Leonidas Poulopoulos | {% if user.is_superuser %} |
56 | 064ecc91 | Leonidas Poulopoulos | <span class="topmenuaction"><a href="{% url admin:index %}">{% trans "Admin" %}</a></span> |
57 | 97e42c7d | Leonidas Poulopoulos | {% endif %} |
58 | 064ecc91 | Leonidas Poulopoulos | <span class="topmenuaction"><a href="{% url logout %}">{% trans "Logout" %}</a></span> |
59 | 064ecc91 | Leonidas Poulopoulos | {% else %} |
60 | 049a5a10 | Leonidas Poulopoulos | <span class="topmenuaction"><a href="{% url login %}">{% trans "Shibboleth Login" %}</a></span> |
61 | 064ecc91 | Leonidas Poulopoulos | {% endif %} |
62 | 064ecc91 | Leonidas Poulopoulos | </div>
|
63 | 064ecc91 | Leonidas Poulopoulos | |
64 | 064ecc91 | Leonidas Poulopoulos | </div>
|
65 | 064ecc91 | Leonidas Poulopoulos | </div>
|
66 | 064ecc91 | Leonidas Poulopoulos | <div id="content"> |
67 | 064ecc91 | Leonidas Poulopoulos | {% block brcrmb_container %} |
68 | 33e8f0b8 | Leonidas Poulopoulos | <div class="info_content_title">{% if user.is_authenticated %}<a href="{% url group-routes %}">{% trans "My rules" %}</a>{% endif %} |
69 | 064ecc91 | Leonidas Poulopoulos | {% block breadcrumbs %}{% endblock %} |
70 | 064ecc91 | Leonidas Poulopoulos | </div>
|
71 | 5141cf4a | Leonidas Poulopoulos | {% if messages %} |
72 | 5141cf4a | Leonidas Poulopoulos | <div id="messages"> |
73 | 5141cf4a | Leonidas Poulopoulos | {% for message in messages %} |
74 | 5141cf4a | Leonidas Poulopoulos | <span{% if %} class="{{ message.tags }}"{% endif %}>{{ message }}</span><br /> |
75 | 5141cf4a | Leonidas Poulopoulos | {% endfor %} |
76 | 5141cf4a | Leonidas Poulopoulos | </div>
|
77 | 5141cf4a | Leonidas Poulopoulos | {% endif %} |
78 | 064ecc91 | Leonidas Poulopoulos | {% endblock %} |
79 | 064ecc91 | Leonidas Poulopoulos | {% block content %} |
80 | 064ecc91 | Leonidas Poulopoulos | {% endblock %} |
81 | 064ecc91 | Leonidas Poulopoulos | |
82 | 064ecc91 | Leonidas Poulopoulos | </div>
|
83 | 33e8f0b8 | Leonidas Poulopoulos | |
84 | 064ecc91 | Leonidas Poulopoulos | <div id="footer"> |
85 | 064ecc91 | Leonidas Poulopoulos | {% if user.is_authenticated %} |
86 | 064ecc91 | Leonidas Poulopoulos | {% trans "If you have any questions or need help, contact GRNET Helpdesk at <a href='mailto:helpdesk@grnet.gr'>helpdesk@grnet.gr</a> or 800-11-47638." %}<br /> |
87 | 064ecc91 | Leonidas Poulopoulos | {% endif %} |
88 | bbb71107 | Leonidas Poulopoulos | <a href="http://www.grnet.gr">{% trans "GRNET" %} NOC</a> | <a href="/fod/about/info/">{% trans "Info" %}</a> | <a href="/fod/about/terms-of-service/">{% trans "Service Terms" %}</a> |
89 | 064ecc91 | Leonidas Poulopoulos | </div>
|
90 | 064ecc91 | Leonidas Poulopoulos | </div>
|
91 | 064ecc91 | Leonidas Poulopoulos | </body>
|
92 | 064ecc91 | Leonidas Poulopoulos | </html> |