4 <title>GRNET's FoD :: {% block title %}{% endblock %} </title>
5 <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
6 <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
8 <script src="/static/js/jquery.min.js" type="text/javascript"></script>
9 <script src="/static/js/jquery_csrf_protect.js" type="text/javascript"></script>
10 <link rel="stylesheet" type="text/css" href="/static/css/base.css">
11 <link rel="stylesheet" type="text/css" href="/static/css/smoothness/jquery-ui-1.8.13.custom.css">
12 <script type="text/javascript" src="/static/js/jquery-ui-1.8.12.custom.min.js"></script>
13 {% if user.is_authenticated %}
14 <script type="text/javascript" src="{% url load-js 'poller' %}"></script>
16 <script type="text/javascript">
18 function setlang(lang){
19 $("#langsel").val(lang);
20 $("#langform").submit();
23 //function highlight(elemId){
24 // var elem = $(elemId);
25 // elem.css("background-color", "#ffffbb");
26 // setTimeout(function() { $(elemId).animate({ backgroundColor: "white" }, 2000)}, 1500);
30 //$(document).ready( function(){
31 // if (document.location.hash) {
32 // highlight(document.location.hash);
34 // $('a[href*=#]').click(function(){
35 // var elemId = '#' + $(this).attr('href').split('#')[1];
41 {% block extrahead %}{% endblock %}
49 <a class="grnetlogo" href="{% url group-routes %}">
50 <img class="logoimg" src="/static/grnet_logo.png">
53 <a href="{% url group-routes %}">Firewall on Demand</a>
55 <div class="loginform">
56 <div id="formcontent">
57 {% if user.is_authenticated %}
58 <span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span>
61 <span {% if user.is_authenticated %}class="topmenuaction"{% else %}class="topmenuuser"{% endif %} >
62 <form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform">
64 <input name="next" type="hidden" value="{{ next }}" />
65 <input id="langsel" name="language" type="hidden" value="" />
66 {% 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 %}
71 {% if user.is_authenticated %}
72 <span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span>
73 {% if user.is_superuser %}
74 <span class="topmenuaction"><a href="{% url admin:index %}">{% trans "Admin" %}</a></span>
76 <span class="topmenuaction"><a href="{% url logout %}">{% trans "Logout" %}</a></span>
78 <span class="topmenuaction"><a href="{% url login %}">{% trans "Shibboleth Login" %}</a></span>
85 {% block brcrmb_container %}
86 <div class="info_content_title">{% if user.is_authenticated %}<a href="{% url group-routes %}">{% trans "My rules" %}</a>{% endif %}
87 {% block breadcrumbs %}{% endblock %}
91 {% for message in messages %}
92 <span{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</span><br />
103 {% if user.is_authenticated %}
104 {% 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 />
106 <a href="http://www.grnet.gr">{% trans "GRNET" %} NOC</a> | <a href="#">{% trans "Info" %}</a> | <a href="#">{% trans "Service Terms" %}</a>