templates structure updated
This commit is contained in:
parent
d45a21fc4b
commit
d2786f320d
|
@ -1,11 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
{% load menu_tags cms_tags sekizai_tags i18n portail_citoyen_tags %}
|
||||
{% load menu_tags cms_tags sekizai_tags i18n portail_citoyen_tags staticfiles %}
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="content-language" content="fr" />
|
||||
<title>Compte Citoyen :: Démo :: {% page_attribute "page_title" %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}portail_citoyen/css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="{% static "portail_citoyen/css/style.css" %}">
|
||||
{% render_block "css" %}
|
||||
{% block extra_scripts %}
|
||||
{% endblock %}
|
||||
|
@ -15,7 +15,7 @@
|
|||
<div id="page">
|
||||
<div id="header">
|
||||
<div id="top">
|
||||
<h1 id="logo"><a href="/"><img src="{{ STATIC_URL }}portail_citoyen/img/logo.png" alt="Entr'ouvert"/></a></h1>
|
||||
<h1 id="logo" href="/"><img src="{% static "portail_citoyen/img/logo.png" %}" alt="Entr'ouvert"/></a></h1>
|
||||
<div class="region-header">
|
||||
{% if user.is_authenticated %}
|
||||
<div id="toplinks">
|
||||
|
@ -52,6 +52,7 @@
|
|||
|
||||
{% block menu %}
|
||||
<div id="nav">
|
||||
<ul>{% show_menu_below_id "top-page" 0 0 100 100 "top-menu.html" %}</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
<div id="main-content">
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
{% extends "base.html" %}
|
||||
{% load cms_tags %}
|
||||
{% load menu_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div id="help-content">
|
||||
<h1 id="help-title">Utilisation du compte citoyen</h1>
|
||||
<div id="help-menu">
|
||||
<h2 id="help-summary-caption"><a id="help-summary-caption-link" href="/aide">Sommaire</a></h2>
|
||||
<ul id="help-menu-content">
|
||||
{% show_menu 2 3 0 1 %}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="help-text">
|
||||
<h2 id="help-page-title" class="{% page_attribute "slug" %}">{% page_attribute "page_title" %}</h2>
|
||||
{% block center %}
|
||||
{% placeholder "center" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -0,0 +1,10 @@
|
|||
{% extends "base.html" %}
|
||||
{% load cms_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div id="center">
|
||||
{% block center %}
|
||||
{% placeholder "center" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -1,106 +0,0 @@
|
|||
{% load menu_tags cms_tags sekizai_tags i18n %}
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8"><!-- ♥ -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<title>Compte Citoyen Orléans :: {% page_attribute "page_title" %}</title>
|
||||
<meta name="keywords" content="compte citoyen orleans" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="generator" content="Portail Citoyen Entr'ouvert -- Django CMS" />
|
||||
<meta name="author" content="Entr'ouvert, borrowed from ARTIFICA" />
|
||||
{% render_block "css" %}
|
||||
{% render_block "js" %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}themes/orleans/css/all.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}themes/orleans/css/local.css">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="{{ STATIC_URL }}themes/orleans/js/html5shiv.js"></script>
|
||||
<![endif]-->
|
||||
{% block extra_scripts %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<body class="home" role="document" {% block bodyargs %}{% endblock %}>
|
||||
{% cms_toolbar %}
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<p class="oldBrowser">Votre navigateur est trop ancien ! <a
|
||||
href="http://browsehappy.com/" target="_blank">Effectuez une
|
||||
mise à jour ou utilisez un navigateur plus récent.</a></p>
|
||||
<![endif]-->
|
||||
|
||||
<noscript><div class="noscript">
|
||||
<p>Merci d'activer javascript dans votre
|
||||
navigateur afin de profiter<br />pleinement de
|
||||
toutes les fontionnalités offertes par le
|
||||
site.</p>
|
||||
</div></noscript>
|
||||
|
||||
<div id="wrap">
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="skip"><a class="skiplink" href="/" accesskey="1" tabindex="1">Accueil du site</a></li>
|
||||
<li class="skip"><a class="skiplink" href="#accesContent" accesskey="2" tabindex="2">Aller au contenu</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<header class="header">
|
||||
<hgroup>
|
||||
<h1 class="logo" role="banner">
|
||||
<a href="http://www.orleans.fr/" title="Site de la ville d'Orléans">
|
||||
<img src="{{ STATIC_URL }}themes/orleans/img/logo.png" height="112" width="355" alt="Logo du site officiel de la ville d'Orléans" />
|
||||
<span>Le site officiel de la mairie d'Orléans</span>
|
||||
</a>
|
||||
</h1>
|
||||
<span class="slogan"><img src="{{ STATIC_URL }}themes/orleans/img/slogan.png" height="17" width="389" alt="Le site de la mairie d'Orléans" /></span>
|
||||
</hgroup>
|
||||
|
||||
</header>
|
||||
<div class="main overflow">
|
||||
<div class="breadcrumbs">
|
||||
<p>Vous êtes ici :</p>
|
||||
<ul>
|
||||
<li><a href="/">Compte Citoyen</a></li>
|
||||
<li class="separ"> / </li>
|
||||
{% block breadcrumbs %}{% endblock %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<section class="content" id="accesContent" role="main">
|
||||
<article>
|
||||
|
||||
{% if messages %}
|
||||
<div class="wrapSpecial">
|
||||
<div class="rteContent">
|
||||
<ul class="messages">
|
||||
{% for message in messages %}
|
||||
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<aside class="sidebarRight">
|
||||
{% block sidebar %}{% endblock %}
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
{% block footer %}{% endblock %}
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
{% extends "base.html" %}
|
||||
{% load cms_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div id="left">
|
||||
{% block left %}
|
||||
{% placeholder "left" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div id="right">
|
||||
{% block right %}
|
||||
{% placeholder "right" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<br style="clear"/>
|
||||
{% endblock %}
|
|
@ -0,0 +1,11 @@
|
|||
{% load menu_tags %}
|
||||
{% for child in children %}
|
||||
<li id="top-menu-{{ child.get_menu_title|slugify }}" class="{% if child.selected %}selected{% endif %}{% if child.ancestor %}ancestor{% endif %}{% if child.sibling %}sibling{% endif %}{% if child.descendant %}descendant{% endif %}{% if child.children %} has-children{% endif %}">
|
||||
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">{{ child.get_menu_title }}</a>
|
||||
{% if child.children %}
|
||||
<ul>
|
||||
{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
Reference in New Issue