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.
cud-themes/portail-citoyen/templates.old/base.html

88 lines
3.1 KiB
HTML

<!DOCTYPE html>
{% load menu_tags cms_tags sekizai_tags i18n portail_citoyen_tags staticfiles i18n %}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="content-language" content="{{ LANGUAGE_CODE }}" />
<title>{% page_attribute "page_title" %}</title>
<link rel="stylesheet" type="text/css" href="{% static "portail_citoyen/css/style.css" %}">
{% render_block "css" %}
{% block extra_scripts %}
{% endblock %}
</head>
<body {% block bodyargs %}{% endblock %}>
{% cms_toolbar %}
<div id="page">
<div id="header">
<div id="top">
<div id="logo">
<!-- <a href="/"> -->
<!-- <img src="{% static "portail_citoyen/img/logo.png" %}" /> -->
<!-- </a> -->
</div>
<div class="region-header">
{% if user.is_authenticated %}
<div id="toplinks">
<span class="logged-in">
<p class="user fullname">
{% blocktrans with full_name=user.get_full_name %}
Bienvenue {{ full_name }}
{% endblocktrans %}
</p>
<a class="logout" href="{{ LOGOUT_URL }}">{% trans "Déconnexion" %}</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>
{% endif %}
</div>
</div>
</div> <!-- header -->
<div id="main-content-wrapper">
<div id="single-title">
{% block breadcumb %}
<ul>
{% show_breadcrumb %}
</ul>
{% endblock %}
</div>
{% block menu %}
<!-- <div id="nav"> -->
<!-- <ul>{% show_menu_below_id "accueil" 0 0 100 100 "portail_citoyen/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="bottom-content">
{% block bottom-content %}
{% endblock %}
</div>
<div id="footer">
<p id="faq">
Mentions légales - Crédits - FAQ
</p>
<p id="legal">© Copyright Dunkerque Grand Littoral 2013</p>
<ul id="footer-menu">
</ul>
</div>
</div>
{% render_block "js" %}
{% if messages %}
<script>
jQuery('#messages').delay(3000*(1+{{ messages|length }})).fadeOut('slow');
</script>
{% endif %}
</body>
</html>