remove unused templates, move base.html in new path
This commit is contained in:
parent
ba673c647e
commit
9873991d42
|
@ -1,28 +0,0 @@
|
||||||
{% load staticfiles %}
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<title>[page_title]</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="[css]"/>
|
|
||||||
[script]
|
|
||||||
</head>
|
|
||||||
<body[if-any onload] onload="[onload]"[end]>
|
|
||||||
<div id="page">
|
|
||||||
<div id="top"> <h1>Pr@tic</h1> </div>
|
|
||||||
[if-any breadcrumb]<p id="breadcrumb">[breadcrumb]</p>[end]
|
|
||||||
<div id="content">
|
|
||||||
<div id="info-box"><h1>[if-any title][title][else][site_name][end]</h1></div>
|
|
||||||
[prelude]
|
|
||||||
[body]
|
|
||||||
</div>
|
|
||||||
<div id="infocookie"><p> Vous devez accepter les cookies pour vous identifier.</p></div>
|
|
||||||
<div id="footer">
|
|
||||||
<img id="europe" alt="Europe" src="{% static "pratic2/imageFooter/Europe.png" %}" />
|
|
||||||
<img id="france" alt="République française" src="{% static "pratic2/imageFooter/RepFrancaise.png" %}" />
|
|
||||||
<img id="npdc" alt="Nord pas de calais" src="{% static "pratic2/imageFooter/NPDC.png" %}" />
|
|
||||||
</div>
|
|
||||||
<div id="head"><p id="lasso">Powered by Lasso</p></div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,54 +0,0 @@
|
||||||
{% load i18n %}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}authentic2/css/style.css" />
|
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}jquery/css/jquery-ui.custom.css" />
|
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}ulx/css/ulx.css" />
|
|
||||||
<title>{% block title %}User test{% endblock %}</title>
|
|
||||||
{{ openid_meta }}
|
|
||||||
{% block extra_scripts %}
|
|
||||||
{% endblock %}
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body {% block bodyargs %}{% endblock %} >
|
|
||||||
<div id="wrap">
|
|
||||||
<a href="/"><div id="header">
|
|
||||||
{% block header %}
|
|
||||||
<h1>Authentic 2</h1>
|
|
||||||
<span>{% trans "Versatile Identity Management Server" %}</span>
|
|
||||||
{% endblock %}
|
|
||||||
</div></a>
|
|
||||||
|
|
||||||
<div id="splash"></div>
|
|
||||||
|
|
||||||
<div id="content">
|
|
||||||
{% if request.user.is_authenticated %}
|
|
||||||
<div id="user">
|
|
||||||
<p>
|
|
||||||
{% blocktrans with request.user.get_full_name as username %}Hello {{ username }}.{% endblocktrans %}
|
|
||||||
<a id="logout" href="{% url 'auth_logout' %}">{% trans "Logout" %}</a></p>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% block messages %}
|
|
||||||
{% if messages %}
|
|
||||||
<ul class="messages">
|
|
||||||
{% for message in messages %}
|
|
||||||
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
|
||||||
{% block content %}{% endblock %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
{% block footer %}
|
|
||||||
Copyright © 2013 Entr'ouvert — {{ AUTHENTIC2_VERSION }}
|
|
||||||
{% endblock %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
Reference in New Issue