Revision 442e21b6 templates/error.html

b/templates/error.html
6 6
{% block extrahead %}
7 7
	<script type="text/javascript">
8 8
	$(document).ready(function(){
9
		$(".relogin").tooltip({ position: "bottom center", opacity: 0.7});
9
		$("#ttip").tooltip();
10 10
		});
11 11
	</script>
12
	<style type="text/css">
13

  
14
	    .tooltip {
15
	        display: none;
16
	        background: transparent url(/fodstatic/black_arrow_updown.png);
17
	        font-size: 12px;
18
	        height: 70px;
19
	        width: 160px;
20
	        padding: 25px;
21
			padding-top: 30px;
22
	        color: #fff;
23
	    }
12
{% endblock %}
24 13

  
25
</style>
14
    {% block content %}
15
	<div class="container-fluid">
16
      <div class="row-fluid">
17
        <div class="span2">
18
        </div><!--/span-->
26 19

  
27
{% endblock %}
20
		<div class="span10">
21
			<div class="row-fluid">
22
				<!--/span-->
23
				{% if error %}{% if inactive %}<h3 class="muted">{% trans "Activation Pending" %}</h3>{% else %}<h3 class="muted">{% trans "Error" %}</h3>{% endif %}{% endif %}
24
				<hr><br>
25
					
26
					<div class="span10 alert {% if missing_attributes %}alert-error{% else %}alert-info{% endif %}">
27
					{% if missing_attributes %}
28
						<p>{% trans "One or more required shibboleth attributes were not released towards this service" %}</p>
29
						{% endif %}
30
						<p>{% autoescape off %}{{error}}{% endautoescape %}</p>
31
						{% if missing_attributes %}
32
						<p>
33
						{% trans "Required shibboleth attributes" %}:<br>
34
						<ul>
35
						<li>HTTP_EPPN</li>
36
						<li>HTTP_SHIB_HOMEORGANIZATION</li>
37
						<li>HTTP_SHIB_INETORGPERSON_MAIL</li>
38
						<li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
39
						</ul>
40
						{% trans "Optional" %}:
41
						<ul>
42
						<li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
43
						<li>HTTP_SHIB_PERSON_SURNAME</li>
44
						</ul>
45
						</p>
46
						{% endif %}
47
					</div>
48
				<!--/span-->
49
			</div><!--/row-->
50
		</div><!--/span-->
28 51

  
29
{% block content %}
30
	{% if error %}{% if inactive %}<h3 class="muted">{% trans "Activation Pending" %}</h3>{% else %}<h3 class="muted">{% trans "Error" %}</h3>{% endif %}{% endif %}
31
	<div class="container"><div class="row">
32
	<div class="span8">
33
	{% if missing_attributes %}
34
	<p>{% trans "One or more required shibboleth attributes were not released towards this service" %}</p>
35
	{% endif %}
36
	<p {% if not inactive %}style="color: red;"{% endif %}>{% autoescape off %}{{error}}{% endautoescape %}</p>
37
	{% if missing_attributes %}
38
	<p>
39
	{% trans "Required shibboleth attributes" %}:<br>
40
	<ul>
41
	<li>HTTP_EPPN</li>
42
	<li>HTTP_SHIB_HOMEORGANIZATION</li>
43
	<li>HTTP_SHIB_INETORGPERSON_MAIL</li>
44
	<li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
45
	</ul>
46
	{% trans "Optional" %}:
47
	<ul>
48
	<li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
49
	<li>HTTP_SHIB_PERSON_SURNAME</li>
50
	</ul>
51
	</p>
52
	{% endif %}
53
	</div>
54
	</div>
55
	</div>
56
{% endblock %}
52
        </div><!--/span-->
53
    </div><!--/.fluid-container-->
54
	{% endblock %}

Also available in: Unified diff