Compare commits

...

12 Commits

Author SHA1 Message Date
Frédéric Péters 4ae9f4210f change banner image for le-cres (#29230) 2019-01-24 09:31:53 +01:00
Frédéric Péters 8bbe16cfa5 include gadjo template override in legacy themes (#26492) 2018-09-18 09:09:03 +02:00
Frédéric Péters 7f366b1bad templates: remove obsolete authentic2 template tags 2018-08-09 10:28:40 +02:00
Frédéric Péters fdee3ed676 restore base.html as it has been removed from publik-base-theme (#25154) 2018-07-26 13:18:27 +02:00
Frédéric Péters 529ea75dc3 montpellier2: fix link to website not to use simplesamlphp (#20295) 2017-11-27 12:10:37 +01:00
Frédéric Péters 4199e82c99 Revert "templates: enhance context sensitivity of compte lecteur bloc content (#13253)"
This reverts commit 460ef18e6ea77b73826704ee51ef1eea74977233; let's not
touch the blurp now, it's being changed to be a proper json cell.
2017-10-10 09:21:43 +02:00
Frédéric Péters 630ff157eb add wcs theme for murviel-les-montpellier (#19138) 2017-10-10 09:20:13 +02:00
Frédéric Péters 460ef18e6e templates: enhance context sensitivity of compte lecteur bloc content (#13253) 2017-05-30 07:37:56 +02:00
Frédéric Péters 5ad07abccb add wcs theme for saint-jean-de-vedas (#16344) 2017-05-30 07:37:56 +02:00
Frédéric Péters 9b5c0b0a43 style: adapt to wcs now using <button> for buttons 2017-02-21 15:28:21 +01:00
Frédéric Péters 63141f0e8b templates: adapt emails to publik-base-theme 2017-02-20 10:47:05 +01:00
Frédéric Péters fe2db6237d wcs: don't require SSO from 3m website anymore (#14499) 2017-01-03 16:09:32 +01:00
38 changed files with 249 additions and 40 deletions

View File

@ -1,13 +1,10 @@
{% extends "base.html" %}
{% load authentic2 %}
{% block extra-top-head %}
{% block extrascripts %}
{% endblock %}
{% block extra_scripts %}
{% endblock %}
{% renderblock "css" %}
{% renderblock "js" %}
{{ form.media }}
{% endblock %}

View File

@ -1,3 +1,6 @@
{% extends "emails/body_base.html" %}
{% block content %}
<p>Bonjour,</p>
<p>
@ -10,12 +13,10 @@ Voici pour rappel votre identifiant : {% firstof user.username user.email %}
</p>
<p>
Pour réinitialiser votre mot de passe, cliquez sur le lien suivant :
Pour réinitialiser votre mot de passe, cliquez sur le bouton suivant :
</p>
<p>
<a href="{{ base_url }}{{ reset_url }}">{{ base_url }}{{ reset_url }}</a>
</p>
{% include "emails/button-link.html" with url=reset_url label="Réinitialiser le mot de passe" %}
<p>
Nous vous remercions dutiliser notre portail de e-services.
@ -31,3 +32,4 @@ Les équipes de Montpellier Méditerranée Métropole.
Important : Cet email est généré par un automate, merci de ne pas y répondre.
</small>
</p>
{% endblock %}

View File

@ -7,7 +7,7 @@ Voici pour rappel votre identifiant : {% firstof user.username user.email %}
Pour réinitialiser votre mot de passe, cliquez sur le lien suivant :
{{ base_url }}{{ reset_url }}
{{ reset_url }}
Nous vous remercions dutiliser notre portail de e-services.

33
templates/base.html Normal file
View File

@ -0,0 +1,33 @@
{% extends theme_base %}
{% block extra-body-args %}
{% block bodyargs %}
{% endblock %}
{% endblock %}
{% block placeholder-content %}
{% block content %}
{% endblock %}
{% endblock %}
{% block user-info %}
{% if user.is_authenticated %}
<span class="logged-in">
{% if idp_account_url %}<a href="{{idp_account_url}}">{% endif %}
<span class="connected-user">{{user.first_name}} {{user.last_name}}</span>{% if idp_account_url %}</a>{% endif %}
<a class="logout" href="{% url 'auth_logout' %}">D&eacute;connexion</a>
</span>
{% endif %}
{% endblock %}
{% block messages %}
{% if messages %}
<div id="messages" class="messages-login">
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% endblock %}

View File

@ -1,3 +1,6 @@
{% extends "emails/body_base.html" %}
{% block content %}
<p>Bonjour,</p>
<p>Vous avez demandé à ouvrir un compte usager sur le portail de Montpellier
@ -38,3 +41,5 @@ Mon compte.
<div style="color:#888;border-top:1px solid #888">
Important : Cet email est généré par un automate, merci de ne pas y répondre.
</div>
{% endblock %}

View File

@ -163,6 +163,7 @@ p.command,
a.edit-custom-text,
#page div.back-home-button a,
div#steps ol li
div.buttons button,
div.buttons input {
background-color: #4449A8;
}

View File

@ -142,6 +142,7 @@ div#content #disclose-dataview,
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #3c3c3c;
}

View File

@ -101,6 +101,7 @@ div#content #disclose-dataview,
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #455744;
}

View File

@ -145,6 +145,7 @@ div#services > ul > li strong {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #EC9200;
}

View File

@ -163,6 +163,7 @@ div#steps span.marker {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #f68423;
color: white;

View File

@ -166,6 +166,7 @@ p.command,
a.edit-custom-text,
#page div.back-home-button a,
div#steps ol li
div.buttons button,
div.buttons input {
background-color: #4449A8;
}

View File

@ -152,6 +152,7 @@ div#services > ul > li strong {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #028ADE;
}

View File

@ -154,6 +154,7 @@ div#steps span.marker {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #f68423;
color: white;

View File

@ -11,7 +11,7 @@ a {
}
div#top {
background: transparent url(le-cres/bandeau_demarche_plateforme.png) bottom left no-repeat;
background: transparent url(le-cres/bandeau_demarche_plateforme.jpg) bottom left no-repeat;
height: 141px;
width: 1003px;
margin: 0 auto;
@ -129,6 +129,7 @@ div#content #disclose-dataview,
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #4E799F;
}

View File

@ -0,0 +1,79 @@
body {
background: url(murviel-les-montpellier/pages_fnd.jpg) fixed no-repeat center top;
}
a#bandeau-commune {
background: url(murviel-les-montpellier/logo-quadri_vecto1.png) no-repeat left top;
height: 90px;
border: none;
text-indent: -10000px;
}
div#main-content-wrapper {
margin-top: 95px;
}
div#header {
background: transparent;
}
div#toplinks {
background: rgba(255, 255, 255, 0.9);
font-weight: bold;
}
div#services > ul > li,
div#centre h3,
div#breadcrumb {
background: rgba(255, 255, 255, 0.9);
}
div#member, div#new_member, div#accessibility, div#contact, div#info, div#rub_agenda, div#rub_annonce, div#profile, div#rub_consultation, div#rub_service {
background: rgba(255, 255, 255, 0.9);
}
div#services > ul > li strong {
background: #930000;
color: white;
}
div#footer {
background: white;
padding: 1em;
}
div#steps ol li {
background: #aaa;
}
div#steps ol li.current {
background: #1C9CE0;
}
div#steps ol li.current span.marker,
div#steps span.marker {
color: white;
}
div#rub_consultation h2, div#rub_service h2, div#rub_annonce h2, div#rub_agenda h2, div#profile h2, div#services-2nd h3, div#member h2, div#help h2, div#info h2, div#accessibility h2, div#contact h2, div#gauche h3, div.large div#rub_service h3, div#centre h3 {
padding-left: 10px;
color: #1C9CE0;
}
div#side div#tracking-code {
background: white;
}
div#side div#tracking-code a {
padding: 1ex 1em;
padding-top: 0;
display: block;
}
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #1C9CE0;
}

View File

@ -127,6 +127,7 @@ div#content #disclose-dataview,
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #3c3c3c;
}

View File

@ -160,6 +160,7 @@ div#services > ul > li strong {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #F1AF00;
}

View File

@ -166,6 +166,7 @@ div#steps span.marker {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #f68423;
color: white;

View File

@ -130,6 +130,7 @@ div#content #disclose-dataview,
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #3c3c3c;
}

View File

@ -148,6 +148,7 @@ div#content #disclose-dataview,
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #6c6c6c;
}

View File

@ -156,6 +156,7 @@ div#profile {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #185da5;
}

View File

@ -0,0 +1,54 @@
div#page {
background: #F8F8F8;
}
div#rub_consultation h2, div#rub_service h2, div#rub_annonce h2, div#rub_agenda h2, div#profile h2, div#services-2nd h3, div#member h2, div#help h2, div#info h2, div#accessibility h2, div#contact h2, div#gauche h3, div.large div#rub_service h3, div#centre h3 {
background: #265AA2;
color: white;
}
div#services > ul > li strong {
background: #FF9900;
}
div#footer-wrapper {
background: #444444;
color: white;
}
div#footer-wrapper a {
color: #FF9900;
}
div#footer-wrapper #agglo-link a {
width: 190px;
background: transparent url(logo-agglo-50p.png) center right no-repeat;
color: white;
}
a#bandeau-commune {
background: url(saint-jean-de-vedas/logo.png) top left no-repeat;
border: 0;
height: 150px;
text-indent: -9999px;
}
div#page {
border-top: 50px solid #FF9900;
margin-top: 110px;
}
div#main-content-wrapper {
margin-top: 0px;
}
div#links h3 {
visibility: hidden;
}
div#links a {
color: white;
}

View File

@ -145,6 +145,7 @@ div#services > ul > li strong {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #EC9200;
}

View File

@ -155,6 +155,7 @@ div#profile {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #185da5;
}

View File

@ -153,6 +153,7 @@ div#services > ul > li strong,
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div#steps ol li
div.buttons input {
background-color: #00BDCE;
@ -187,6 +188,7 @@ div.buttons input {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #97378C;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -77,11 +77,7 @@ div#centre { padding-top: 45px; margin-top: 0px; }
</div>
<div>
<div id="agglo-link">
[if-any user]
<a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/&AuthId=default-sp">
[else]
<a href="[siteagglo]">
[end]
<p>Ce service est proposé en partenariat avec
Montpellier Méditerranée Métropole.</p>
</a>

View File

@ -0,0 +1,19 @@
{% extends "gadjo/root.html" %}
{% block site-header %}
<h1 class="breadcrumbs">{% block breadcrumb %}{% endblock %}</h1>
{% endblock %}
{% block help-link %}
<li class="ui-help"><a href="https://doc-publik.entrouvert.com/">Aide</a></li>
{% endblock %}
{% block more-user-links %}
{% endblock %}
{% block extrascripts %}
{% if manager_homepage_url %}
<script src="{{manager_homepage_url}}__services.js"></script>
<script src="{{manager_homepage_url}}static/js/publik.js?{{statics_hash}}"></script>
{% endif %}
{% endblock %}

View File

@ -211,12 +211,15 @@ hr.clear {
margin: 0;
padding: 0;
color: #888;
background: url(button_connexion.gif) left center no-repeat;
border: 1px solid #e9e9e9;
line-height: 20px;
height: 22px;
}
#toplinks span.login {
background: url(button_connexion.gif) left center no-repeat;
}
#toplinks span.logged-in {
background: none;
}
@ -436,6 +439,7 @@ div.buttons br {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #265aa2;
color: white;
@ -454,6 +458,7 @@ p.command {
p.command a:focus,
#page div.back-home-button a:focus,
div.buttons button:focus,
div.buttons input:focus {
border: 1px solid black;
}
@ -1171,3 +1176,7 @@ div.hidden {
column-count: 1;
}
}
br.clear {
clear: both;
}

View File

@ -167,6 +167,7 @@ div#content #disclose-dataview,
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #265aa2;
}

View File

@ -83,11 +83,7 @@ div#centre { padding-top: 45px; margin-top: 0px; }
</div>
<div>
<div id="agglo-link">
[if-any user]
<a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/&AuthId=default-sp">
[else]
<a href="[siteagglo]">
[end]
<p>Ce service est proposé en partenariat avec
Montpellier Méditerranée Métropole.</p>
</a>

View File

@ -0,0 +1,19 @@
{% extends "gadjo/root.html" %}
{% block site-header %}
<h1 class="breadcrumbs">{% block breadcrumb %}{% endblock %}</h1>
{% endblock %}
{% block help-link %}
<li class="ui-help"><a href="https://doc-publik.entrouvert.com/">Aide</a></li>
{% endblock %}
{% block more-user-links %}
{% endblock %}
{% block extrascripts %}
{% if manager_homepage_url %}
<script src="{{manager_homepage_url}}__services.js"></script>
<script src="{{manager_homepage_url}}static/js/publik.js?{{statics_hash}}"></script>
{% endif %}
{% endblock %}

View File

@ -435,6 +435,7 @@ div.buttons br {
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons button,
div.buttons input {
background: #265aa2;
color: white;
@ -453,6 +454,7 @@ p.command {
p.command a:focus,
#page div.back-home-button a:focus,
div.buttons button:focus,
div.buttons input:focus {
border: 1px solid black;
}

View File

@ -20,11 +20,7 @@ div#centre { padding-top: 45px; margin-top: 0px; }
<div id="page">
<div id="header">
<div id="top">
[if-any user]
<a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/&AuthId=default-sp" accesskey="1"><img src="[root_url]themes/montpellier2/logo.png" alt="[site_name]" /></a>
[else]
<a href="[siteagglo]" accesskey="1"><img src="[root_url]themes/montpellier2/logo.png" alt="[site_name]" /></a>
[end]
<div id="toplinks">
[if-any user]
<span><a class="logout" href="[root_url]logout">Me d&eacute;connecter</a></span>
@ -42,17 +38,10 @@ div#centre { padding-top: 45px; margin-top: 0px; }
<div id="main-content-wrapper">
<div id="agglolinks">
[if-any user]
<a class="agglo-accueil" href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/&AuthId=default-sp">Ma métropole</a>
<a class="agglo-connaitre" href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/widgets/connaitre&AuthId=default-sp">Connaître</a>
<a class="agglo-vivre" href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/widgets/vivre&AuthId=default-sp">Vivre</a>
<a class="agglo-entreprendre" href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/widgets/entreprendre&AuthId=default-sp">Entreprendre</a>
[else]
<a class="agglo-accueil" href="[siteagglo]">Ma métropole</a>
<a class="agglo-connaitre" href="[siteagglo]widgets/connaitre">Connaître</a>
<a class="agglo-vivre" href="[siteagglo]widgets/vivre">Vivre</a>
<a class="agglo-entreprendre" href="[siteagglo]widgets/entreprendre">Entreprendre</a>
[end]
</div>
<div id="main-content">
@ -84,16 +73,6 @@ div#centre { padding-top: 45px; margin-top: 0px; }
<div id="footer">
<div id="agglo-little-links">
<ul>
[if-any user]
<li><a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/transport&AuthId=default-sp">Je me déplace</a></li>
<li><a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/environnement&AuthId=default-sp">Je préserve</a></li>
<li><a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/entreprendre&AuthId=default-sp">Je travaille</a></li>
<li><a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/solidarit%C3%A9&AuthId=default-sp">Je partage</a></li>
<li><a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/culture&AuthId=default-sp">Je me cultive</a></li>
<li><a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/tourisme-traditions&AuthId=default-sp">Je découvre</a></li>
<li><a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/vivre/sport&AuthId=default-sp">Je m'oxygène</a></li>
<li><a href="[siteagglo]simplesamlphp/module.php/core/as_login.php?ReturnTo=/conna%C3%AEtre-comp%C3%A9tences/logement&AuthId=default-sp">Je me loge</a></li>
[else]
<li><a href="[siteagglo]vivre/transport">Je me déplace</a></li>
<li><a href="[siteagglo]vivre/environnement">Je préserve</a></li>
<li><a href="[siteagglo]entreprendre">Je travaille</a></li>
@ -102,7 +81,6 @@ div#centre { padding-top: 45px; margin-top: 0px; }
<li><a href="[siteagglo]vivre/tourisme-traditions">Je découvre</a></li>
<li><a href="[siteagglo]vivre/sport">Je m'oxygène</a></li>
<li><a href="[siteagglo]conna%C3%AEtre-comp%C3%A9tences/logement">Je me loge</a></li>
[end]
</ul>
</div>
<p id="legal">© Montpellier Méditerranée Métropole — Réalisation :