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 <link rel="stylesheet" type="text/css" href="/static/css/base.css">
10 <link rel="stylesheet" type="text/css" href="/static/css/smoothness/jquery-ui-1.8.13.custom.css">
11 <script type="text/javascript" src="/static/js/jquery-ui-1.8.12.custom.min.js"></script>
12 {% if user.is_authenticated %}
13 <script type="text/javascript" src="{% url load-js 'poller' %}"></script>
15 <script type="text/javascript">
17 function setlang(lang){
18 $("#langsel").val(lang);
19 $("#langform").submit();
22 //function highlight(elemId){
23 // var elem = $(elemId);
24 // elem.css("background-color", "#ffffbb");
25 // setTimeout(function() { $(elemId).animate({ backgroundColor: "white" }, 2000)}, 1500);
29 //$(document).ready( function(){
30 // if (document.location.hash) {
31 // highlight(document.location.hash);
33 // $('a[href*=#]').click(function(){
34 // var elemId = '#' + $(this).attr('href').split('#')[1];
40 {% block extrahead %}{% endblock %}
48 <a class="grnetlogo" href="{% url group-routes %}">
49 <img class="logoimg" src="/static/grnet_logo.png">
52 <a href="{% url group-routes %}">Firewall on Demand</a>
54 <div class="loginform">
55 <div id="formcontent">
56 {% if user.is_authenticated %}
57 <span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span>
60 <span {% if user.is_authenticated %}class="topmenuaction"{% else %}class="topmenuuser"{% endif %} >
61 <form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform">
63 <input name="next" type="hidden" value="{{ next }}" />
64 <input id="langsel" name="language" type="hidden" value="" />
65 {% 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 %}
70 {% if user.is_authenticated %}
71 <span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span>
72 {% if user.is_superuser %}
73 <span class="topmenuaction"><a href="{% url admin:index %}">{% trans "Admin" %}</a></span>
75 <span class="topmenuaction"><a href="{% url logout %}">{% trans "Logout" %}</a></span>
77 <span class="topmenuaction"><a href="{% url login %}">{% trans "Shibboleth Login" %}</a></span>
84 {% block brcrmb_container %}
85 <div class="info_content_title">{% if user.is_authenticated %}<a href="{% url group-routes %}">{% trans "My rules" %}</a>{% endif %}
86 {% block breadcrumbs %}{% endblock %}
90 {% for message in messages %}
91 <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="/about/info/">{% trans "Info" %}</a> | <a href="/about/terms-of-service">{% trans "Service Terms" %}</a>