This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
compte-agglo-montpellier/compte_agglo_montpellier/templates/base.html

172 lines
8.7 KiB
HTML

<!DOCTYPE html>
{% load menu_tags cms_tags sekizai_tags i18n portail_citoyen_tags %}
<html>
<head>
<meta charset="UTF-8"><!---->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<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'>
<script src="//d3nslu0hdya83q.cloudfront.net/dist/1.0/raven.min.js"></script>
<script>
Raven.config('{{ SENTRY_JS }}').install();
</script>
{% render_block "css" %}
{% block extra_scripts %}
{% endblock %}
</head>
<body {% block bodyargs %}{% endblock %}>
{% cms_toolbar %}
<div id="page">
<div id="header">
<div id="top">
{% if user.is_authenticated %}
<a href="{{ SITE_AGGLO_MONTPELLIER }}/simplesamlphp/module.php/core/as_login.php?ReturnTo={{ SITE_AGGLO_MONTPELLIER }}&amp;AuthId=default-sp" accesskey="1"><img src="{{ STATIC_URL }}/themes/django-montpellier/logo.png"
title="Montpellier agglomération" /></a>
{% else %}
<a href="{{ SITE_AGGLO_MONTPELLIER }}" accesskey="1"><img src="{{ STATIC_URL }}/themes/django-montpellier/logo.png"
title="Montpellier agglomération" /></a>
{% endif %}
<div class="region-header">
{% if user.is_authenticated %}
<div id="toplinks">
<span>
<a class="logout" href="{% url 'auth_logout' %}">{% trans "Logout" %}</a>
{% user_in_group "Agglo::Téléservices::Admin" as is_eservice_admin %}
{% user_in_group_prefix "Agglo::Téléservices::BackOffice::" as is_eservice_backoffice_user %}
{% if is_eservice_admin %}
<a class="restricted" href="{{ ESERVICES }}admin/">Administration</a>
{% elif is_eservice_backoffice_user %}
<a class="restricted" href="{{ ESERVICES }}backoffice/">Back office</a>
{% endif %}
</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">
{% if user.is_authenticated %}
<a class="agglo-mon-agglo" href="{{ SITE_AGGLO_MONTPELLIER }}/simplesamlphp/module.php/core/as_login.php?ReturnTo={{ SITE_AGGLO_MONTPELLIER }}&amp;AuthId=default-sp">Mon agglo</a>
<a class="agglo-connaitre" href="{{ SITE_AGGLO_MONTPELLIER }}/simplesamlphp/module.php/core/as_login.php?ReturnTo={{ SITE_AGGLO_MONTPELLIER }}/connaitre&amp;AuthId=default-sp">Connaître</a>
<a class="agglo-vivre" href="{{ SITE_AGGLO_MONTPELLIER }}/simplesamlphp/module.php/core/as_login.php?ReturnTo={{ SITE_AGGLO_MONTPELLIER }}/vivre&amp;AuthId=default-sp">Vivre</a>
<a class="agglo-entreprendre" href="{{ SITE_AGGLO_MONTPELLIER }}/simplesamlphp/module.php/core/as_login.php?ReturnTo={{ SITE_AGGLO_MONTPELLIER }}/entreprendre&amp;AuthId=default-sp">Entreprendre</a>
{% else %}
<a class="agglo-mon-agglo" href="{{ SITE_AGGLO_MONTPELLIER }}">Mon agglo</a>
<a class="agglo-connaitre" href="{{ SITE_AGGLO_MONTPELLIER }}connaitre">Connaître</a>
<a class="agglo-vivre" href="{{ SITE_AGGLO_MONTPELLIER }}vivre">Vivre</a>
<a class="agglo-entreprendre" href="{{ SITE_AGGLO_MONTPELLIER }}entreprendre">Entreprendre</a>
{% endif %}
</div>
{% block title %}{% endblock %}
{% block menu %}
<div id="menu">
<ul>{% show_menu_below_id "top-page" 0 1 100 100 "compte-agglo-montpellier/top-menu.html" %}</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>
<ul id="footer-menu">
{% if user.is_authenticated %}
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/transport&amp;AuthId=default-sp">Je me déplace</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/environnement&amp;AuthId=default-sp">Je préserve</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}simplesamlphp/module.php/core/as_login.php?ReturnTo=/entreprendre&amp;AuthId=default-sp">Je travaille</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/solidarité&amp;AuthId=default-sp">Je partage</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/culture&amp;AuthId=default-sp">Je me cultive</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/tourisme-traditions&amp;AuthId=default-sp">Je découvre</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/sport&amp;AuthId=default-sp">Je m'oxygène</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}simplesamlphp/module.php/core/as_login.php?ReturnTo=/connaître-compétences/logement&amp;AuthId=default-sp">Je me loge</a>
</li>
{% else %}
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}vivre/transport">Je me déplace</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}vivre/environnement">Je préserve</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}entreprendre">Je travaille</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}vivre/solidarité">Je partage</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}vivre/culture">Je me cultive</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}vivre/tourisme-traditions">Je découvre</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}vivre/sport">Je m'oxygène</a>
</li>
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="{{ SITE_AGGLO_MONTPELLIER }}connaître-compétences/logement">Je me loge</a>
</li>
{% endif %}
<li class="footer-menu-leaf">
<a class="footer-menu-leaf-link" href="http://www.monagglo2020.com/">Je participe</a>
</li>
</ul>
</div>
</div>
{% render_block "js" %}
</body>
</html>