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.
pratic-themes/portail-citoyen2/templates/base.html

110 lines
4.1 KiB
HTML

<!DOCTYPE html>
{% 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 "portail_citoyen/css/style.css" %}"> -->
<link rel="stylesheet" href="{{ STATIC_URL }}pratic2/style.css" />
<link rel="stylesheet" href="{{ STATIC_URL }}pratic2/portail-citoyen.css" />
{% render_block "css" %}
{% block extra_scripts %}
<script src="{% static "cms/js/libs/jquery.min.js" %}"></script>
{% endblock %}
</head>
<body {% block bodyargs %}{% endblock %}>
{% cms_toolbar %}
<div id="page">
<div id="top">
<h1>Pr@tic</h1>
<!-- <div class="region-header">
{% if user.is_authenticated %}
<div id="toplinks">
<span class="logged-in">
<p class="user fullname">{{ user.get_full_name }}</p>
<a class="logout" href="{{ LOGOUT_URL }}">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 id="contact-us"><a href="mailto:info@entrouvert.com">Contactez-nous</a></div>
</div> -->
</div>
{% block breadcrumb %}
<ul id="breadcrumb">
{% show_breadcrumb "breadcrumb.html" %}
</ul>
{% endblock %}
<div id="content">
{% block menu %}
<div id="nav">
<p>Bonjour {{ user.get_full_name }}</p>
<ul>{% show_menu 1 0 100 100 "portail_citoyen/top-menu.html" %}
<li id="top-menu-aide" class="sibling">
<a href="{{ LOGOUT_URL }}">Déconnexion</a>
</li>
</ul>
</div>
{% endblock %}
{% block messages %}
{% if messages %}
<div id="messages" class="block">
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% endblock %}
<div id="main-content">
{% block content %}
{% endblock %}
</div> <!-- #main-content -->
</div> <!-- #main-content-wrapper -->
<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 Authentic</p></div>
</div>
{% render_block "js" %}
{% if messages %}
<script>
jQuery('#messages').delay(3000*(1+{{ messages|length }})).fadeOut('slow');
</script>
{% endif %}
<script>
jQuery(window).resize(function() {
if (jQuery(window).width() < 490) {
if (! jQuery('#nav').hasClass('small')) {
jQuery('#nav').addClass('small');
jQuery('#nav').hide();
jQuery('#single-title').click(function() {
jQuery('#nav').slideToggle();
});
}
} else {
if (jQuery('#nav').hasClass('small')) {
jQuery('#nav').removeClass('small');
jQuery('#nav').show();
jQuery('#single-title').unbind('click');
}
}
}).trigger('resize');
</script>
</body>
</html>