add theme for montpellier-ville

This commit is contained in:
Frédéric Péters 2016-06-24 16:01:01 +02:00
parent b37933993b
commit 3bc8483d45
14 changed files with 1598 additions and 0 deletions

View File

@ -6,10 +6,12 @@ prefix = /usr
all:
(cd wcs/montpellier2 && msgfmt -o fr.mo fr.po)
(cd wcs/montpellier-commune && msgfmt -o fr.mo fr.po)
(cd wcs/montpellier-ville && msgfmt -o fr.mo fr.po)
clean:
rm -f wcs/montpellier2/fr.mo
rm -f wcs/montpellier-commune/fr.mo
rm -f wcs/montpellier-ville/fr.mo
rm -rf build sdist
build: clean
@ -24,9 +26,11 @@ install:
mkdir -p $(DESTDIR)$(prefix)/share/publik/themes/montpellier-theme/templates
mkdir -p $(DESTDIR)$(prefix)/share/wcs/themes/montpellier2
mkdir -p $(DESTDIR)$(prefix)/share/wcs/themes/montpellier-commune
mkdir -p $(DESTDIR)$(prefix)/share/wcs/themes/montpellier-ville
cp -r templates/* $(DESTDIR)$(prefix)/share/publik/themes/montpellier-theme/templates/
cp -ar wcs/montpellier2/* $(DESTDIR)$(prefix)/share/wcs/themes/montpellier2/
cp -ar wcs/montpellier-commune/* $(DESTDIR)$(prefix)/share/wcs/themes/montpellier-commune/
cp -ar wcs/montpellier-ville/* $(DESTDIR)$(prefix)/share/wcs/themes/montpellier-ville/
dist-bzip2: build
mkdir sdist

View File

@ -0,0 +1,3 @@
span#breadcrumb a:nth-child(3) {
display: none;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1,331 @@
@import url(fonts.css);
body {
background: white url(montpellier/bkg-mtp1.jpg) fixed top left no-repeat;
background-size: cover;
font-family: dejarip, arial, helvetica, sans-serif;
}
a#back-to-fr {
position: absolute;
right: 0;
top: -5px;
display: block;
text-indent: -10000px;
position: absolute;
background: white url(montpellier/back-to-fr.png) top left no-repeat;
width: 157px;
height: 39px;
}
div#header {
position: static;
margin: 0 auto;
background: transparent;
}
div#header a#bandeau-commune {
padding: 8px 0 0 75px;
background: url(montpellier/SIT_MPL_084_SIT_MPL_058_logowebMTP.png) top left no-repeat;
text-indent: 0;
color: white;
font-family: adelle;
font-size: 24px;
}
a {
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
transition: all 200ms ease-out;
}
div#top {
height: 50px;
width: 1000px;
margin: 0 auto;
}
a#bandeau-commune {
padding-top: 60px;
padding-left: 0;
background: url(dardilly/img-sprites.png) no-repeat 0 0;
background-origin: content-box;
width: 180px;
height: 77px;
text-indent: -1000em;
border: none;
}
div#main-content-wrapper {
margin: 0;
margin-top: 20px;
width: auto;
}
div#main-content {
width: 1000px;
margin: auto;
background: white;
background: rgba(255, 255, 255, 0.8);
}
div#content {
padding-top: 1px;
}
div#toplinks {
top: 40px;
left: 0;
padding: 2px 6px;
background: transparent;
box-sizing: border-box;
text-align: right;
width: 100%;
margin-right: 10px;
max-width: 1000px;
}
#toplinks a.logout {
background: none;
padding-left: 0;
}
div#toplinks span.logged-in,
div#toplinks span.login {
border: none;
background: none;
text-align: right;
}
#toplinks span.logged-in a.myspace,
#toplinks span.logged-in a.myaccount {
padding-right: 10px;
}
div#toplinks a {
color: white;
padding: 0;
}
div#global-title {
font-family: dejarip;
font-weight: bold;
background: #333333;
color: white;
font-size: 16px;
padding: 5px;
}
div#global-title span {
text-transform: uppercase;
}
div#services > h3 {
display: none;
}
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: transparent;
color: #1191D0;
padding-left: 1ex;
text-transform: none;
}
div#steps ol li {
background: #6c6c6c;
}
div#steps ol li.current {
background: #1191D0;
}
div#steps li.current span.marker,
div#steps span.marker {
color: white;
}
div#centre li li a,
div#gauche li a {
}
div#content #disclose-dataview,
p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons input {
background: #1191D0;
}
div#home-page-intro p:first-child {
margin-top: 0;
}
div#home-page-intro {
margin-top: 30px;
background: transparent url(montpellier/numero-vert.png) top right no-repeat;;
padding-right: 510px;
min-height: 180px;
}
div#services-2nd > ul,
div#services > ul {
padding: 5px 10px 0 0;
box-sizing: border-box;
margin-bottom: 0;
-moz-column-count: 3;
-webkit-column-count: 3;
column-count: 3;
}
div#services-2nd > ul > li,
div#services > ul > li {
border: 1px solid #C2C5CC;
}
hr.clear {
margin: 0;
}
div#footer {
border: none;
margin-top: 0;
}
br.clear {
clear: both;
}
#footer h3, #footer a {
color: white;
}
div#footer div#help {
background: transparent;
border: none;
color: #ccc;
}
#agglo-link a {
background-color: transparent;
}
p#welcome {
display: none;
}
div#centre {
margin-top: -1px;
}
div#profile {
width: 1000px;
}
#toplinks a.restricted {
position: absolute;
top: 4px;
right: 5px;
}
#toplinks #welcome span {
background: none;
border: none;
}
div#breadcrumb {
margin-top: 1ex;
margin-bottom: 0;
}
div#gauche {
margin-left: 10px;
}
div#content a {
color: #333;
}
div#content a:hover {
color: #111;
}
div.buttons {
text-align: left;
}
div#services-2nd > ul > li strong,
div#services > ul > li strong {
background: transparent;
padding-left: 10px;
padding-bottom: 0;
}
div#services-2nd > ul > li strong > a,
div#services > ul > li strong > a {
color: #295AA6;
}
div#droite {
display: block;
width: auto;
float: none;
}
div#droite #myspace { display: none; }
div#droite #consultations { display: none; }
div#droite #announces { display: none; }
div#droite #home-page-intro {
display: none;
}
div#droite > div#services-2nd > h3 {
display: none;
}
div#droite::before {
margin-top: 10px;
box-sizing: border-box;
display: block;
width: 100%;
content: "SERVICES EN LIGNE - Réaliser mes démarches";
font-family: dejarip;
font-weight: bold;
background: #333333;
color: white;
font-size: 16px;
padding: 5px;
}
div#services-2nd::before {
display: block;
margin: 1em;
font-size: 120%;
content: "Votre espace pour vos démarches administratives en ligne.";
}
div#services ul ul,
div#services-2nd ul ul {
list-style: none;
}
div#services ul ul li::before,
div#services-2nd ul ul li::before {
content: "- ";
line-height: 160%;
}
div#footer {
visibility: hidden;
}

View File

@ -0,0 +1,9 @@
$(function() {
$('.dataview').before('<a href="#" id="disclose-dataview">Afficher le détail de la demande</a>');
$('#disclose-dataview').click(
function() {
$(this).hide();
$('.dataview').show();
return false;
});
});

View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<theme name="montpellier-ville" version="1.0">
<label>Ville de Montpellier</label>
<desc>...</desc>
<keywords>
<keyword>auquotidien-no-titles-in-section</keyword>
<keyword>auquotidien-welcome-in-services</keyword>
</keywords>
</theme>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,7 @@
msgid "There were errors processing your form. See below for details."
msgstr ""
"Attention, un problème est survenu lors du remplissage du formulaire. "
"Veuillez regarder ci-dessous pour le corriger."
msgid "My Space"
msgstr "Mes démarches"

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

View File

@ -0,0 +1,98 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"><!-- ☭ -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>[page_title]</title>
<link rel="shortcut icon" href="/themes/auquotidien/favicon.png" />
<link rel="alternate" type="application/atom+xml" title="[site_name]" href="[root_url]announces/atom"/>
<script type="text/javascript" src="/qo/js/jquery.js"></script>
[script]
<link rel="stylesheet" type="text/css" href="[css]"/>
[if-any domain_key]
<link rel="stylesheet" type"text/css" href="/themes/montpellier-ville/custom-[domain_key].css"/>
[end]
["<!--[if lt IE 10]>"]<style>
div#services > ul > li { width: 48%; float: left; height: 18em; }
div#centre { padding-top: 45px; margin-top: 0px; }
</style>["<![endif]-->"]
<script type="text/javascript" src="[theme_url]/dataview.js"></script>
</head>
<body[if-any onload] onload="[onload]"[end]>
<div id="page">
<div id="header">
<div id="top">
<a id="back-to-fr" href="http://www.montpellier.fr/">Montpellier.fr</a>
<a id="bandeau-commune" href="[commune_url]" accesskey="1"><span>[site_name]</span></a>
<div id="toplinks">
[if-any user]
<p id="welcome"><span>Bienvenue [session_user_display_name]</span></p>
<span class="logged-in">
<a class="myspace" href="/myspace/">Mes démarches</a>
<a class="myaccount" href="[idp-url]accounts/">Mon compte</a>
<a class="logout" href="[root_url]logout">D&eacute;connexion</a>
</span>
[else]
<span class="login"><a href="[root_url]login/">Connexion</a> / <a href="[root_url]register/">Inscription</a></span>
[end]
</div>
</div>
</div> <!-- header -->
<div id="main-content-wrapper">
<div id="main-content">
<div id="global-title">
<span>Montpellier au quotidien</span> - Améliorer mon cadre de vie</span>
</div>
<div id="content" [if-any is_index]class="large"[end]>
[if-any breadcrumb]<div id="breadcrumb">[breadcrumb]</div>[end]
[if-any gauche]
<div id="gauche">
[gauche]
</div>
[end]
[if-any bigdiv]<div id="[bigdiv]" [if-any breadcrumb]class="has-breadcrumb"[end]>[end]
[if-any title]<h2>[title]</h2>[end]
[body]
[if-any bigdiv]</div>[end]
</div> <!-- #content -->
<hr class="clear"/>
</div> <!-- #main-content -->
</div> <!-- #main-content-wrapper -->
<div id="footer-wrapper">
<div id="footer">
[links]
<div id="help">
Pour plus d'informations sur le compte citoyen et les téléservices,
n'hésitez pas à <a
href="https://eservices.montpellier3m.fr/nous-contacter/">demander de l'aide</a>
sur le site de Montpellier Méditerranée Métropole.
</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>
</div>
</div>
<br class="clear"/>
</div>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff