4 <title>{% if error %}{% if inactive %}{% trans "Activation Pending" %}{% else %}{% trans "Error" %}{% endif %}{% endif %}</title>
5 <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
6 <META HTTP-EQUIV="Expires" CONTENT="-1">
7 <script src="/static/js/jquery.min.js" type="text/javascript"></script>
8 <link rel="stylesheet" type="text/css" href="/static/css/base.css">
9 <link rel="stylesheet" type="text/css" href="/static/css/smoothness/jquery-ui-1.8.13.custom.css">
10 <script type="text/javascript" src="/static/js/jquery-ui-1.8.12.custom.min.js"></script>
11 <script type="text/javascript" src="/static/js/jquery.tooltip.min.js"></script>
13 <script type="text/javascript">
14 $(document).ready(function(){
15 $(".relogin").tooltip({ position: "bottom center", opacity: 0.7});
18 <style type="text/css">
22 background: transparent url(/static/black_arrow_updown.png);
32 <script type="text/javascript">
34 function setlang(lang){
35 $("#langsel").val(lang);
36 $("#langform").submit();
47 <a class="grnetlogo" href="{% url group-routes %}">
48 <img class="logoimg" src="/static/grnet_logo.png">
51 <a href="{% url group-routes %}">Firewall on Demand</a>
53 <div class="loginform">
54 <div id="formcontent">
55 {% if user.is_authenticated %}
56 <span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span>
58 <span {% if user.is_authenticated %}class="topmenuaction"{% else %}class="topmenuuser"{% endif %} >
59 <form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform">
61 <input name="next" type="hidden" value="{{ next }}" />
62 <input id="langsel" name="language" type="hidden" value="" />
63 {% 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 %}
67 {% if user.is_authenticated %}
68 <span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span>
69 {% if user.is_superuser %}
70 <span class="topmenuaction"><a href="{% url admin:index %}">{% trans "Admin" %}</a></span>
72 <span class="topmenuaction"><a href="{% url logout %}">{% trans "Logout" %}</a></span>
74 <span class="topmenuaction relogin" title='{% trans "After clicking Retry Login, it is strongly suggested to close your browser and visit the page again" %}'><a href="{% url logout %}">{% trans "Retry Login" %}</a></span>
81 {% block brcrmb_container %}
82 <div class="info_content_title">{% if user.is_authenticated %}<a href="{% url group-routes %}">{% trans "My routes" %}</a>{% endif %}
83 {% block breadcrumbs %}{% endblock %}
88 {% if error %}{% if inactive %}<h2>{% trans "Activation Pending" %}</h2>{% else %}<h2>{% trans "Error" %}</h2>{% endif %}{% endif %}
90 {% if missing_attributes %}
91 <p>{% trans "One or more required shibboleth attributes were not released towards this service" %}</p>
93 <p {% if not inactive %}style="color: red;"{% endif %}>{% autoescape off %}{{error}}{% endautoescape %}</p>
94 {% if missing_attributes %}
96 {% trans "Required shibboleth attributes" %}:<br>
99 <li>HTTP_SHIB_HOMEORGANIZATION</li>
100 <li>HTTP_SHIB_INETORGPERSON_MAIL</li>
101 <li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
103 {% trans "Optional" %}:
105 <li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
106 <li>HTTP_SHIB_PERSON_SURNAME</li>
116 {% if user.is_authenticated %}
117 {% 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 />
119 <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>