Fixed invalid logo path
[flowspy] / templates / error.html
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% block title %}{% if error %}{% if inactive %}Activation Pending{% else %}Error{% endif %}{% endif %}{% endblock %}
4
5 {% block extrahead %}
6         <script type="text/javascript">
7         $(document).ready(function(){
8                 $(".relogin").tooltip({ position: "bottom center", opacity: 0.7});
9                 });
10         </script>
11         <style type="text/css">
12
13             .tooltip {
14                 display: none;
15                 background: transparent url(/static/black_arrow_updown.png);
16                 font-size: 12px;
17                 height: 70px;
18                 width: 160px;
19                 padding: 25px;
20                         padding-top: 30px;
21                 color: #fff;
22             }
23
24         </style>
25 {% endblock %}
26
27 {% block menublock %}
28         {% if user.is_authenticated %}
29                 <span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span>
30         {% endif %}
31         {% if user.is_authenticated %}
32         <span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span>
33         {% if user.is_superuser %}
34                 <span class="topmenuaction"><a href="{% url admin:index %}">{% trans "Admin" %}</a></span>
35         {% endif %}
36         <span class="topmenuaction"><a href="{% url logout %}">{% trans "Logout" %}</a></span>
37         {% else %}
38         <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>
39         {% endif %}
40 {% endblock %}
41
42 {% block content %}
43         {% if error %}{% if inactive %}<h2>Activation Pending</h2>{% else %}<h2>Error</h2>{% endif %}{% endif %}
44         <div>
45         {% if missing_attributes %}
46         <p>One or more required shibboleth attributes were not released towards this service</p>
47         {% endif %}
48         <p {% if not inactive %}style="color: red;"{% endif %}>{% autoescape off %}{{error}}{% endautoescape %}</p>
49         {% if missing_attributes %}
50         <p>
51         Required shibboleth attributes:<br>
52         <ul>
53         <li>HTTP_EPPN</li>
54         <li>HTTP_SHIB_HOMEORGANIZATION</li>
55         <li>HTTP_SHIB_INETORGPERSON_MAIL</li>
56         <li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
57         </ul>
58         Optional Attributes:
59         <ul>
60         <li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
61         <li>HTTP_SHIB_PERSON_SURNAME</li>
62         </ul>
63         </p>
64         {% endif %}
65         </div>
66 {% endblock %}