Statistics
| Branch: | Tag: | Revision:

root / templates / error.html @ d0777394

History | View | Annotate | Download (4.4 kB)

1 97e42c7d Leonidas Poulopoulos
{% load i18n %}
2 97e42c7d Leonidas Poulopoulos
<html>
3 97e42c7d Leonidas Poulopoulos
<head>
4 97e42c7d Leonidas Poulopoulos
<title>Error</title>
5 97e42c7d Leonidas Poulopoulos
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
6 97e42c7d Leonidas Poulopoulos
<META HTTP-EQUIV="Expires" CONTENT="-1">
7 97e42c7d Leonidas Poulopoulos
<script src="/static/js/jquery.min.js" type="text/javascript"></script>
8 97e42c7d Leonidas Poulopoulos
<link rel="stylesheet" type="text/css" href="/static/css/base.css">
9 97e42c7d Leonidas Poulopoulos
<link rel="stylesheet" type="text/css" href="/static/css/smoothness/jquery-ui-1.8.13.custom.css">
10 97e42c7d Leonidas Poulopoulos
<script type="text/javascript" src="/static/js/jquery-ui-1.8.12.custom.min.js"></script>
11 26d25791 Leonidas Poulopoulos
<script type="text/javascript" src="/static/js/jquery.tooltip.min.js"></script>
12 97e42c7d Leonidas Poulopoulos
13 26d25791 Leonidas Poulopoulos
<script type="text/javascript">
14 26d25791 Leonidas Poulopoulos
$(document).ready(function(){
15 26d25791 Leonidas Poulopoulos
        $(".relogin").tooltip({ position: "bottom center", opacity: 0.7});
16 26d25791 Leonidas Poulopoulos
        });
17 26d25791 Leonidas Poulopoulos
</script>
18 26d25791 Leonidas Poulopoulos
<style type="text/css">
19 26d25791 Leonidas Poulopoulos
20 26d25791 Leonidas Poulopoulos
    .tooltip {
21 26d25791 Leonidas Poulopoulos
        display: none;
22 26d25791 Leonidas Poulopoulos
        background: transparent url(/static/black_arrow_updown.png);
23 26d25791 Leonidas Poulopoulos
        font-size: 12px;
24 26d25791 Leonidas Poulopoulos
        height: 70px;
25 26d25791 Leonidas Poulopoulos
        width: 160px;
26 26d25791 Leonidas Poulopoulos
        padding: 25px;
27 26d25791 Leonidas Poulopoulos
                padding-top: 30px;
28 26d25791 Leonidas Poulopoulos
        color: #fff;
29 26d25791 Leonidas Poulopoulos
    }
30 26d25791 Leonidas Poulopoulos
31 26d25791 Leonidas Poulopoulos
</style>
32 97e42c7d Leonidas Poulopoulos
</head>
33 97e42c7d Leonidas Poulopoulos
34 97e42c7d Leonidas Poulopoulos
35 97e42c7d Leonidas Poulopoulos
36 97e42c7d Leonidas Poulopoulos
<body>
37 97e42c7d Leonidas Poulopoulos
        <div id="main">
38 97e42c7d Leonidas Poulopoulos
                        <div id="header">
39 97e42c7d Leonidas Poulopoulos
                                <a class="grnetlogo" href="{% url group-routes %}">
40 97e42c7d Leonidas Poulopoulos
                                        <img class="logoimg" src="/static/grnet_logo.png">
41 97e42c7d Leonidas Poulopoulos
                                </a>
42 97e42c7d Leonidas Poulopoulos
                                <div id="title">
43 97e42c7d Leonidas Poulopoulos
                                        <a href="/">Firewall on Demand</a>
44 97e42c7d Leonidas Poulopoulos
                                </div>
45 97e42c7d Leonidas Poulopoulos
                                <div class="loginform">
46 97e42c7d Leonidas Poulopoulos
                                        <div id="formcontent">
47 97e42c7d Leonidas Poulopoulos
                                                {% if user.is_authenticated %}
48 97e42c7d Leonidas Poulopoulos
                                                <span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span>
49 97e42c7d Leonidas Poulopoulos
                                                {% endif %}
50 26d25791 Leonidas Poulopoulos
                                                {% comment %}
51 97e42c7d Leonidas Poulopoulos
                                                <span {% if  %}class="topmenuaction"{% else %}class="topmenuuser"{% endif %} >
52 26d25791 Leonidas Poulopoulos
                                                                <form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform">
53 97e42c7d Leonidas Poulopoulos
                                                                {% csrf_token %}
54 97e42c7d Leonidas Poulopoulos
                                                                <input name="next" type="hidden" value="{{ next }}" />
55 97e42c7d Leonidas Poulopoulos
                                                                <input id="langsel" name="language" type="hidden" value="" />
56 97e42c7d 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 %}
57 97e42c7d Leonidas Poulopoulos
                                                                {% endfor %}
58 97e42c7d Leonidas Poulopoulos
                                                        </form>
59 97e42c7d Leonidas Poulopoulos
                                                </span>
60 26d25791 Leonidas Poulopoulos
                                                {% endcomment %}
61 97e42c7d Leonidas Poulopoulos
                                                {% if user.is_authenticated %}
62 97e42c7d Leonidas Poulopoulos
                                                <span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span>
63 97e42c7d Leonidas Poulopoulos
{% if user.is_superuser %}
64 97e42c7d Leonidas Poulopoulos
                                                <span class="topmenuaction"><a href="{% url admin:index %}">{% trans "Admin" %}</a></span>
65 97e42c7d Leonidas Poulopoulos
{% endif %}
66 97e42c7d Leonidas Poulopoulos
                                                <span class="topmenuaction"><a href="{% url logout %}">{% trans "Logout" %}</a></span>
67 97e42c7d Leonidas Poulopoulos
                                                {% else %}
68 26d25791 Leonidas Poulopoulos
                                                <span class="topmenuaction relogin" title="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>
69 97e42c7d Leonidas Poulopoulos
                                                {% endif %}
70 97e42c7d Leonidas Poulopoulos
                                        </div>
71 97e42c7d Leonidas Poulopoulos
                                        
72 97e42c7d Leonidas Poulopoulos
                                </div>
73 97e42c7d Leonidas Poulopoulos
                        </div>
74 97e42c7d Leonidas Poulopoulos
                        <div id="content">
75 97e42c7d Leonidas Poulopoulos
                                {% block brcrmb_container %}
76 97e42c7d Leonidas Poulopoulos
                                <div class="info_content_title">{% if user.is_authenticated %}<a href="{% url group-routes %}">{% trans "My routes" %}</a>{% endif %}
77 97e42c7d Leonidas Poulopoulos
                                {% block breadcrumbs %}{% endblock %}
78 97e42c7d Leonidas Poulopoulos
                                </div>
79 97e42c7d Leonidas Poulopoulos
                                
80 97e42c7d Leonidas Poulopoulos
                                {% endblock %}
81 97e42c7d Leonidas Poulopoulos
                                {% block content %}
82 1381e2d4 Leonidas Poulopoulos
                                {% if error %}{% if inactive %}<h2>Activation Pending</h2>{% else %}<h2>Error</h2>{% endif %}{% endif %}
83 26d25791 Leonidas Poulopoulos
                                <div>
84 f9634455 Leonidas Poulopoulos
                                {% if missing_attributes %}
85 26d25791 Leonidas Poulopoulos
                                <p>One or more required shibboleth attributes were not released towards this service</p>
86 f9634455 Leonidas Poulopoulos
                                {% endif %}
87 1381e2d4 Leonidas Poulopoulos
                                <p {% if  inactive %}style="color: red;"{% endif %}>{% autoescape off %}{{error}}{% endautoescape %}</p>
88 f9634455 Leonidas Poulopoulos
                                {% if missing_attributes %}
89 26d25791 Leonidas Poulopoulos
                                <p>
90 97e42c7d Leonidas Poulopoulos
                                Required shibboleth attributes:<br>
91 26d25791 Leonidas Poulopoulos
                                <ul>
92 26d25791 Leonidas Poulopoulos
                                <li>HTTP_EPPN</li>
93 26d25791 Leonidas Poulopoulos
                                <li>HTTP_SHIB_HOMEORGANIZATION</li>
94 26d25791 Leonidas Poulopoulos
                                <li>HTTP_SHIB_INETORGPERSON_MAIL</li>
95 26d25791 Leonidas Poulopoulos
                                <li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
96 26d25791 Leonidas Poulopoulos
                                </ul>
97 26d25791 Leonidas Poulopoulos
                                Optional Attributes:
98 26d25791 Leonidas Poulopoulos
                                <ul>
99 26d25791 Leonidas Poulopoulos
                                <li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
100 26d25791 Leonidas Poulopoulos
                                <li>HTTP_SHIB_PERSON_SURNAME</li>
101 26d25791 Leonidas Poulopoulos
                                </ul>
102 26d25791 Leonidas Poulopoulos
                                </p>
103 f9634455 Leonidas Poulopoulos
                                {% endif %}
104 26d25791 Leonidas Poulopoulos
                                </div>
105 97e42c7d Leonidas Poulopoulos
106 97e42c7d Leonidas Poulopoulos
                                {% endblock %}
107 97e42c7d Leonidas Poulopoulos
108 97e42c7d Leonidas Poulopoulos
                        </div>
109 97e42c7d Leonidas Poulopoulos
                        <div id="footer">
110 97e42c7d Leonidas Poulopoulos
                        {% if user.is_authenticated %}
111 97e42c7d 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 />
112 97e42c7d Leonidas Poulopoulos
                        {% endif %}
113 97e42c7d Leonidas Poulopoulos
                        <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>
114 97e42c7d Leonidas Poulopoulos
                        </div>
115 97e42c7d Leonidas Poulopoulos
        </div>
116 97e42c7d Leonidas Poulopoulos
</body>
117 97e42c7d Leonidas Poulopoulos
</html>