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