92 lines
3.7 KiB
HTML
92 lines
3.7 KiB
HTML
{% load menu_tags cms_tags sekizai_tags i18n %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta http-equiv="content-language" content="fr" />
|
|
<title>Compte Citoyen :: Montpellier Agglomération :: {% page_attribute "page_title" %}</title>
|
|
<link rel="shortcut icon" href="{{ STATIC_URL }}/themes/django-montpellier/favicon.png">
|
|
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/themes/django-montpellier/style.css">
|
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700,700italic,400italic|Carme|Arvo' rel='stylesheet' type='text/css'>
|
|
{% render_block "css" %}
|
|
</head>
|
|
<body {% block bodyargs %}{% endblock %}>
|
|
{% cms_toolbar %}
|
|
<div id="page">
|
|
<div id="header">
|
|
<div id="top">
|
|
<a href="/" accesskey="1"><img src="{{ STATIC_URL }}/themes/django-montpellier/logo.png"
|
|
title="Montpellier agglomération" /></a>
|
|
<div class="region-header">
|
|
{% if user.is_authenticated %}
|
|
<div id="toplinks">
|
|
<span><a class="logout" href="{% url 'auth_logout' %}">{% trans "Logout" %}</a>
|
|
{% block admin-links %}{% endblock %}
|
|
</span>
|
|
</div>
|
|
<div id="username">{{ user.first_name }} {{ user.last_name }}</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% block messages %}
|
|
{% if messages %}
|
|
<div id="messages">
|
|
<ul class="messages">
|
|
{% for message in messages %}
|
|
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
</div> <!-- header -->
|
|
<div id="main-content-wrapper">
|
|
|
|
<div id="agglolinks">
|
|
{% show_menu_below_id "agglo-links" 0 0 100 100 "compte-agglo-montpellier/agglo-links-menu.html" %}
|
|
</div>
|
|
<!--
|
|
<a class="agglo-accueil" href="http://www.montpellier-agglo.com">Mon agglo</a>
|
|
<a class="agglo-connaitre" href="http://www.montpellier-agglo.com/widgets/connaitre">Connaître</a>
|
|
<a class="agglo-vivre" href="http://www.montpellier-agglo.com/widgets/vivre">Vivre</a>
|
|
<a class="agglo-entreprendre" href="http://www.montpellier-agglo.com/widgets/entreprendre">Entreprendre</a>
|
|
<a class="agglo-accueil" href="http://idp-test-entrouvert.montpellier-agglo.com">Mes e-services</a>
|
|
-->
|
|
|
|
{% block title %}{% endblock %}
|
|
{% block menu %}
|
|
<div id="menu">
|
|
<ul>{% show_menu_below_id "top-page" 0 0 100 100 %}</ul>
|
|
</div>
|
|
{% endblock %}
|
|
<div id="main-content">
|
|
<div id="content">
|
|
{% block content %}
|
|
{% endblock %}
|
|
</div> <!-- #content -->
|
|
</div> <!-- #main-content -->
|
|
</div> <!-- #main-content-wrapper -->
|
|
<div id="footer">
|
|
<p id="legal">Copyright © 2006-2013 Entr'ouvert</p>
|
|
<ul id="footer-menu">
|
|
{% show_menu_below_id "footer-menu" 0 0 100 100 "compte-agglo-montpellier/footer-menu.html" %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
{% render_block "js" %}
|
|
<script>
|
|
function toTitleCase(str)
|
|
{
|
|
return str.replace(/\w\S*/g,
|
|
function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});
|
|
}
|
|
$('#commune-selector').live('change',
|
|
function () {
|
|
var value = $(this).val();
|
|
$('#futurs-demarches').toggleClass('selected', value != 'none');
|
|
$('#futurs-demarches').text('Ici bientôt les e-services de la commune de ' + toTitleCase(value));
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|