myMeaux: default index.json & assets

This commit is contained in:
Thomas NOËL 2015-09-10 17:31:39 +02:00
parent 32b98be496
commit 613a53ef6e
29 changed files with 605 additions and 147 deletions

BIN
www/assets/banniere.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
www/assets/banniere2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 662 KiB

After

Width:  |  Height:  |  Size: 71 KiB

BIN
www/assets/bt-green.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
www/assets/bt-red.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
www/assets/btn_facebook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
www/assets/btn_twitter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
www/assets/connexion.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
x="0px"
y="0px"
viewBox="0 0 180 225"
enable-background="new 0 0 90 90"
xml:space="preserve"
id="svg2"
inkscape:version="0.48.5 r10040"
width="100%"
height="100%"
sodipodi:docname="icon-commerce.svg"><metadata
id="metadata14"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs12" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1301"
inkscape:window-height="847"
id="namedview10"
showgrid="false"
inkscape:zoom="2.0977778"
inkscape:cx="45.95339"
inkscape:cy="94.385593"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg2" /><path
d="m 69.058356,115.77119 -2.007238,-7.63876 h 80.844622 c 3.17377,0 5.95333,-2.12591 6.78599,-5.18906 l 16.8785,-62.117773 c 0.57723,-2.111823 0.13274,-4.37248 -1.19871,-6.114231 -1.33145,-1.739741 -3.39903,-2.761461 -5.58728,-2.761461 H 47.024998 L 42.678664,15.419356 C 41.866115,12.33006 39.072475,10.176 35.876582,10.176 H 16.717315 c -3.883744,0 -7.0313658,3.147623 -7.0313658,7.031366 0,3.883744 3.1476218,7.031367 7.0313658,7.031367 H 30.454224 L 55.116299,118.058 c -4.883341,3.15768 -8.123481,8.64037 -8.123481,14.88936 0,9.79282 7.938445,17.73328 17.733283,17.73328 9.442867,0 17.139961,-7.38736 17.68099,-16.69547 h 38.342669 c 0.0483,9.7526 7.96459,17.64479 17.72725,17.64479 9.79283,0 17.73328,-7.93845 17.73328,-17.73329 0,-9.79484 -7.93844,-17.73328 -17.73328,-17.73328 -4.10901,0 -7.88012,1.40989 -10.88695,3.75703 H 76.72528 c -2.137969,-1.97103 -4.75663,-3.41713 -7.666924,-4.14923 z M 114.98549,75.668672 110.88453,94.067683 H 96.606589 L 91.968623,75.668672 H 114.98549 z M 89.132746,64.417682 84.492768,46.014649 h 37.101722 l -4.10096,18.403033 H 89.132746 z M 85.003628,94.067683 H 64.062385 L 59.062392,75.668672 h 21.301259 l 4.639977,18.399011 z m 37.409442,0 4.10096,-18.399011 h 21.00359 l -4.99999,18.399011 h -20.10456 z m 28.16167,-29.650001 h -21.55267 l 4.10096,-18.403033 h 22.4517 l -4.99999,18.403033 z M 72.887796,46.014649 77.527773,64.417682 H 56.005276 L 51.005282,46.014649 h 21.882514 z"
id="path4"
style="fill:#ffffff;fill-opacity:1"
inkscape:connector-curvature="0" /></svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -1,7 +1,7 @@
.momo-image {
width: 100%;
border: 1px solid #FFF;
box-shadow: 0 0 10px rgba(0, 0, 0, .3);
box-shadow: 0 0 10px rgba(49, 50, 45, .95);
margin: 15px 0;
}
@ -9,9 +9,6 @@
background: #2A80AF;
color: #FFF;
}
.text-cadoles {
color: #2A80AF;
}
.btn-cadoles:hover {
background: #1A709F;
}
@ -28,26 +25,6 @@
border-color: #3e3f3a;
}
#home {
background: #93c54b;
background: -webkit-linear-gradient(0deg, #348F50 10%, #56B4D3 90%); /* Chrome 10+, Saf5.1+ */
background: -moz-linear-gradient(0deg, #348F50 10%, #56B4D3 90%); /* FF3.6+ */
background: -ms-linear-gradient(0deg, #348F50 10%, #56B4D3 90%); /* IE10 */
background: -o-linear-gradient(0deg, #348F50 10%, #56B4D3 90%); /* Opera 11.10+ */
background: linear-gradient(0deg, #348F50 10%, #56B4D3 90%); /* W3C */
background-image: url("bg.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
#dijon {
color: #FFF;
background: rgba(49, 50, 45, .95);
}
#dijon .navbar-inverse,
#dijon .navbar-inverse .btn,
#home .navbar-inverse,
#home .navbar-inverse .btn {
background: none;

View File

@ -1,7 +1,3 @@
/* this script will be run after the assets are loaded */
/* it could for example flash some new information, like this:
* setTimeout(function(){
* app.flash('<i class="fa fa-arrow-up pull-right" style="margin-right: 10px;"></i>' +
* 'There is a search tool available here', 'info');
* }, 10000);
*/
setTimeout(function(){
app.flash('<i class="fa fa-arrow-up pull-right" style="margin-right: 10px;"></i> There is a search tool available here', 'info');
}, 10000);

223
www/assets/meaux.css Normal file
View File

@ -0,0 +1,223 @@
body {
background: #ffffff;
font-family: 'latoregular',Arial,Verdana,sans-serif;
}
#home, .momo-page {
background-color: none;
background: none;
background-image: none;
background-size: normal;
}
#home {
background-repeat: no-repeat;
background-position: center center;
}
.momo-page {
top: 100px;
}
.bg {
background: none;
}
a {
color: white;
}
a:hover {
color: grey;
}
#momo-header {
background: url(banniere2.png) #ffffff no-repeat;
background-size: 100%;
background-position: center left;
height: 100px;
border: 1px red;
}
.navbar-default .navbar-brand, .navbar-default .navbar-brand:hover{
color: #6f7d86;
font-size: 150%;
margin-bottom: 20px;
}
.btn-red {
background-image: url("bt-red.jpg");
background-size: cover;
}
.btn-green {
background-image: url("bt-green.jpg");
background-size: cover;
}
.btn-red:hover, .btn-green:hover {
opacity: 0.8;
}
.btn-commerce {
background-image: url("icon-commerce.png");
}
.btn-connexion {
background-color : #afc966;
padding-top: 10px;
margin-top: 10px;
border-radius: 20px;
font-size: 150%;
font-family: "Playfair Display Bold Italic" , sans;
}
.btn-connexion i.fa-external-link {
display: none;
}
.btn-transparent, .btn-transparent:hover{
background-color: transparent;
margin-top: 10px;
min-height: 42px;
}
.btn-transparent img{
}
.facebook {
background: url("btn_facebook.png") #ffffff center no-repeat;
}
.tweeter {
background: url("btn_twitter.png") #ffffff center no-repeat;
}
.instagram {
background: url("btn_instagram.png") #ffffff center no-repeat;
}
.block-green {
background-image: url("bt-green.jpg");
background-size: cover;
padding: 10px;
}
.block-green h4 {
font-family: 'playfair_displaybold_italic',Arial,Verdana,sans-serif;
}
.block-green a {
color: #3e3f3a;
font-weight: bold;
}
.momo-footer .text-left {
/*background-color : #afc966;
border-radius: 20px;*/
}
.navbar-inverse {
background-color: #ffffff;
border-color: #ffffff;
}
.momo-title {
display:none;
}
.empty {
height: 50px;
}
.liste-actu h3 {
border-top: 1px solid #cdcdcd;
padding-top: 5px;
}
.liste-actu h3 a {
color : #3e3f3a;
}
.momo-footer {
display: none;
}
.elus {
border-top : 1px solid #cfcfcf;
border-bottom: 1px solid #cfcfcf;
min-height: 102px;
margin-bottom: 5px;
}
.elus img {
float: left;
padding-right: 10px;
height: 100px;
}
.elus p {
padding: 3px;
}
.elus .elu {
font-weight: bold;
}
.border-top {
border-top : 1px solid #cfcfcf;
margin-top: 30px;
padding-top: 10px;
}
@media screen and (min-width: 768px) {
.momo-page {
top: 110px;
}
.navbar-fixed-top .container-fluid {
background-color: #ffffff;
background: url(banniere2.png) #ffffff top left no-repeat;
}
#momo-header {
background: none;
}
#momo-search-input {
background-color: grey;
color: #ffffff;
}
#momo-menu {
background-color: grey;
color: #ffffff;
float: right;
}
#momo-menu a {
color: #ffffff;
}
#momo-menu a:hover {
color: #93c54b;
}
.navbar-left {
float:right !important;
clear: both;
}
}

View File

@ -60,19 +60,6 @@
</div>
</script>
<script type="text/x-tmpl" id="momo-default-footer-tmpl">
<div class="col-xs-6 navbar-btn text-left">
<a href="https://dev.entrouvert.org/projects/momo/"
class="btn btn-success pull-left momo-repo"
target="_system"
onclick="javascript:app.utils.onExternalLinkClick()">Momo repository</a>
</div>
<div class="col-xs-6 navbar-btn text-right">
<a href="mailto:{%= o.meta.contact %}"
class="btn btn-success pull-right momo-contact">{%= o.meta.contact %}</a>
</div>
</script>
<script type="text/x-tmpl" id="momo-icon-tmpl">
{% if(o.icon){ %}
{% if(o.icon.isFramable()){ %}
@ -94,17 +81,17 @@
</div>
<div class="parent-navbar-brand">
<span class="navbar-brand" href="#home">
{% if(!(o.titlePersistent || o.meta.titlePersistent)){ %}
{% if(!(o.titlePersistent || o.meta.titlePersistent || o.id == 'home')){ %}
{%# (o.titleSeparator || o.meta.titleSeparator) %}
{% } %}
<span class="momo-icon">
{% var icon = (o.titlePersistent || o.meta.titlePersistent) ? o.meta.icon : o.icon || o.meta.icon; %}
{% var icon = (o.titlePersistent || o.meta.titlePersistent || o.id == 'home') ? o.meta.icon : o.icon || o.meta.icon; %}
{% if(icon){ %}
{%# tmpl('momo-icon-tmpl', { icon: icon, size: 20, header: true }) %}
{% } %}
</span>
<span class="momo-title">
{% if(o.titlePersistent || o.meta.titlePersistent){ %}
{% if(o.titlePersistent || o.meta.titlePersistent || o.id == 'home'){ %}
{%= o.meta.title %}
{%# (o.titleSeparator || o.meta.titleSeparator) %}
<small>
@ -320,7 +307,16 @@
<footer class="navbar navbar-inverse momo-footer">
<div class="container-fluid clearfix">
<div class="row">
{%# o.footer %}
<div class="col-xs-6 navbar-btn text-left">
<a href="https://dev.entrouvert.org/projects/momo/"
class="btn btn-success pull-left momo-repo"
target="_system"
onclick="javascript:app.utils.onExternalLinkClick()">Momo repository</a>
</div>
<div class="col-xs-6 navbar-btn text-right">
<a href="mailto:{%= o.meta.contact %}"
class="btn btn-success pull-right momo-contact">{%= o.meta.contact %}</a>
</div>
</div>
</div>
</footer>

View File

@ -1,72 +1,324 @@
{"meta": {
"title": "Ma ville au quotidien (Local)",
"icon": "icon.png",
"contact": "info@example.net",
"updateFreq": 5,
"manifestUrl": "http://pwr.link/entrouvert/index.json",
"assetsUrl": "http://pwr.link/entrouvert/assets.zip"
"title": "v5",
"icon": "",
"updateFreq": 1000,
"manifestUrl": "https://gestion-mobile-meaux.test.entrouvert.org/media/beta-index.json",
"assetsUrl": "https://gestion-mobile-meaux.test.entrouvert.org/media/beta-assets.zip",
"titlePersistent": false,
"titleSeparator": "",
"javascripts": ["assets/index.js"],
"stylesheets": ["assets/index.css","assets/meaux.css"],
"menu": ["home"]
},
"title": "Ma ville (Local)",
"content": "<p>Bienvenue !</p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>",
"title": "Mymeaux",
"id" : "meaux",
"icon" : "fa-home",
"className": "bg",
"menu": ["signalements", "connexion",
{"title": "Mettre à jour l'application",
"id": "momo-update",
"icon": "fa-refresh"
}
],
"display": "icons",
"pages": [
{"title": "Découvrir la ville",
"pages": [
{"title": "Office de tourisme",
"content": "<p>...</p>"
},
{"title": "Histoire de la ville",
"content": "<p>Début XXème:<br/><img src='assets/photo.jpg'/></p>..."
},
{"id": "plan-poi",
"title": "Plan de la ville",
"content": "<iframe width='425' height='350' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='http://www.openstreetmap.org/export/embed.html?bbox=5.000066757202148%2C47.30333063750183%2C5.065813064575195%2C47.339288006029356&amp;layer=mapnik' style='border: 1px solid black'></iframe><br/><small><a href='http://www.openstreetmap.org/#map=14/47.3213/5.0329'>View Larger Map</a></small>"
}
]
},
{"title": "Culture, sports, loisirs",
"pages": [
{"title": "Bibliothèques",
"content": "<p>...</p>"
},
{"title": "Culture",
"content": "<p>...</p>"
},
{"title": "Sports",
"content": "<p>...</p>"
},
{"title": "Conservatoire",
"content": "<p>...</p>"
},
{"title": "Annuaire des associations en ligne",
"url": "http://www.example.net",
{"title": "Signalements",
"id": "signalements",
"icon":"fa-mobile",
"className": "btn-red",
"colxs": 4,
"colsm": 6,
"display": "list",
"content" : "<div class=\"text-center\"><i class=\"fa fa-mobile fa-3x\"> </i> <h4>Signalements</h4></div>",
"pages": [{
"title": "<b>Signalement voirie :</b> mobilier urbain, éclairage public, signalisation, aire de jeux...",
"id": "signalement-voirie",
"url": "https://wcs-meaux.dev.entrouvert.org/signalements/signaler-un-probleme-de-voirie/tryauth",
"icon": "fa-globe",
"external": true
}
]
},
{"title": "Démocratie locale",
"content": "<p>C'est important.</p>",
"pages": [
{"title": "Conseil municipal",
"content": "<p>...</p>",
"seealso": ["plan-poi"]
},
{"title": "Rencontres de quartier",
"content": "<p>...</p>"
}
]
{
"title": "<b>Signalement propreté urbaine :</b> dépôt sur lespace public (et débris suite accident, Nettoyage de la voie public, traitement des dégradations",
"id": "signalement-proprete",
"url": "https://wcs-meaux.dev.entrouvert.org/signalements/signaler-un-probleme-de-proprete/tryauth",
"icon": "fa-globe",
"external": true
},
{"title": "Démarches administratives",
"pages": [
{"title": "Démarches en mairie",
"content": "<p>...</p>",
"seealso": ["plan-poi", "demarches-en-ligne"]
},
{
"id": "demarches-en-ligne",
"title": "Démarches en ligne",
"url": "https://example.net"
}
]
{
"title": "<b>Signalement espaces verts :</b> tonte, élagage, abattage, désherbage, fleurissement, nettoyage espaces verts",
"id": "signalement-espace-vert",
"url": "https://wcs-meaux.dev.entrouvert.org/signalements/signaler-un-probleme-espaces-verts/tryauth",
"icon": "fa-globe",
"external": true
},
{
"title": "<b>Signalement patrimoine bati :</b> problème sur un bâtiment",
"id": "signalement-patrimoine",
"url": "https://wcs-meaux.dev.entrouvert.org/signalements/signaler-un-probleme-patrimoine-bati/tryauth",
"icon": "fa-globe",
"external": true
},
{
"title": "<b>Signalement eau et assainissement :</b> fuite deau, entretien, affaissement, vol des plaques",
"id": "signalement-dea",
"url": "https://wcs-meaux.dev.entrouvert.org/signalements/signaler-un-probleme-eau-et-assaisnissement/tryauth",
"icon": "fa-globe",
"external": true
}
]
},
{"title": "Écrire au Maire",
"id": "contact-maire",
"icon":"fa-envelope",
"className": "btn-red",
"colxs": 4,
"colsm": 6,
"url": "https://wcs-meaux.dev.entrouvert.org/contacter-la-mairie/ecrire-au-maire/",
"external" : "true"
},
{"title": "Services en ligne",
"id": "services",
"icon":"fa-comments",
"className": "btn-red",
"colxs": 4,
"colsm": 6,
"url": "https://combo-meaux.dev.entrouvert.org/",
"external" : "true"
},
{"title": "Informations pratiques",
"id": "informations",
"icon":"fa-map",
"className": "btn-green",
"colxs": 4,
"colsm": 6,
"display": "list",
"content" : "<div class=\"text-center\"><i class=\"fa fa-map fa-3x\"></i><h4>Informations pratiques</h4></div>",
"pages": [
{
"title": "Les services de la ville",
"id": "services-ville",
"display": "list",
"icon" : "fa-institution",
"content": "<div class=\"text-center\"><i class=\"fa fa-institution fa-3x\"> </i> <h4>Les services</h4></div>",
"pages" : [
{
"title": "Le cabinet",
"id": "cabinet",
"content": "<div class=\"text-center\"><i class=\"fa fa-users fa-3x\"> </i> <h4>Cabinet du Maire </h4></div><div class=\"border-top\"><p>Le cabinet du Maire, a pour fonction dassister et de conseiller le Maire dans ses fonctions, notamment avec la gestion de son agenda, le suivi des courriers et le pilotage des dossiers réservés. </p><p>Il assure également le secrétariat pour tous les élus.</p><p>Vous pouvez aussi connaître les permanences du maire de Meaux et des Elus lors de leur comités consultatifs de quartiers (CCQ). Enfin, le Cabinet gère les relations publiques et presses.</p></div><div class=\"block-green\"><h4>Contact </h4><p>Tél. 01.60.09.85.60</p><p>Fax : 01.60.23.25.78</p></div>"
},
{
"title": "Direction de la communication",
"id": "communication",
"content": "<div class=\"text-center\"><i class=\"fa fa-users fa-3x\"> </i> <h4>Direction de la Communication et des Evènements </h4></div><div class=\"border-top\"><p>Elle est garante de la communication globale de la Ville et assure la cohésion entre tous les événements organisés par les différents services (sport, jeunesse, culture…). Elle promeut les événements et assure leur réussite.</p><p>Elle informe les habitants des actions que la municipalité propose pour lamélioration de leur vie dans le quotidien (grands projets, travaux, événements…)</p><p>Pour communiquer et informer, elle dispose de plusieurs outils et supports de communication : <ul><li>Laffichage abribus, </li><li>La diffusion de spots radio, </li><li>La réalisation de vidéos, </li><li>La distribution dimprimés : flyers, programmes, magazine </li><li>La gestion des sites internet et lenvoi de newsletters, </li><li>Lanimation de la page Facebook, </li><li>La diffusion sur les journaux dinformation électronique (Place Henri IV - Gare - Dunant - Bouvin - Colbert), </li><li>lédition de support comme : Meaux le journal, la lettre du maire, la lettre aux riverains…</li></ul><p>Elle soccupe aussi des relations avec la presse et les demandes des associations.</p></div><div class=\"block-green\"><h4>Contact </h4><p>Tél. 01.60.09.85.60</p><p>Fax : 01.60.23.25.78</p></div>"
},
{
"title": "Direction générale des services",
"id": "dgs",
"content": "<div class=\"text-center\"><i class=\"fa fa-users fa-3x\"> </i> <h4>Direction Générale des Services</h4></div><div class=\"border-top\"><p>La Direction Générale des Services est chargée, de diriger tout lensemble des services et den coordonner lorganisation, pour une meilleure efficacité.<p></div><div class=\"block-green\"><h4>Contact </h4><p>Hôtel de Ville<br />2, place de lHôtel de Ville<br />77100 Meaux</p><p>Tél. 01.60.09.97.00</p></div>"
},
{
"title": "Direction de la Petite Enfance, de lEnfance et de lEducation",
"id": "communication",
"content": "<div class=\"text-center\"><i class=\"fa fa-users fa-3x\"> </i> <h4>Direction de la Petite Enfance, de lEnfance et de lEducation</h4></div><div class=\"border-top\"><p>Elle coordonne lorganisation de lensemble des modes de garde des tout-petits et veille à assurer une bonne qualité daccueil des enfants confiés.</p><p>Pour les enfants entre 3 et 10 ans elle gère la vie scolaire par le fonctionnement, de lentretien ainsi que du personnel non enseignant des écoles.<br />Elle assure les inscriptions scolaires et organise des activités périscolaires et extra-scolaires.<p></div><div class=\"block-green\"><h4>Contact </h4><h4>Maison de la Petite Enfance</h4><p>26 rue Louis Braille<br />Tel : 01.83.69.02.20<br />Fax : 01.83.69.02.21</p><h4>Direction de la Petite Enfance, de lEnfance, et de lEducation (DPEEE)</h4><p>Hôtel de ville de Meaux<br />Tél. : 01.60.09.74.30<br />Fax 01.60.09.74.44<br />Du lundi au vendredi<br />9h-17h de septembre à juin<br />9h-11h30 et 13h30-17h en juillet et août</p><p>courriel : serviceenfanceeducation@meaux.fr</p><p><a href=\"http://www.espace-famille.net/meaux\">www.espace-famille.net/meaux</a></p></div>"
},
{
"title": "compléter la liste",
"id": "compliste",
"content": "text"
}
]
},
{
"title": "Les élus",
"id": "élus",
"display": "list",
"icon" : "fa-users",
"content": "<div class=\"text-center\"><i class=\"fa fa-users fa-3x\"> </i> <h4>Les élus</h4></div><div class=\"elus\"><img src=\"assets/csm_cope_d1cf0eedd7.jpg\" /><p><span class=\"elu\">Jean-François COPÉ</span><br />Maire de Meaux,<br />Président de la Communauté dAgglomération du Pays de Meaux</p></div><div class=\"elus\"><img src=\"assets/csm_parigi_a3ef12f79b.jpg\" /><p><span class=\"elu\">Jean-François PARIGI</span><br />Maire-Adjoint délégué aux Finances,<br /> au Personnel et aux Affaires Scolaires</p></div><div class=\"elus\"><img src=\"assets/csm_morin_e958828c01.jpg\" /><p><span class=\"elu\">Olivier MORIN</span><br />Maire-Adjoint délégué au Tourisme,<br /> à lAttractivité du territoire et au Développement Durable</p></div><div class=\"elus\"><img src=\"assets/csm_hericher_389c146330.jpg\" /><p><span class=\"elu\">Muriel HERICHER</span><br />Maire-Adjointe déléguée à la Culture et au Patrimoine</p></div><div class=\"elus\"><img src=\"assets/csm_rezeg_5014f958c0.jpg\" /><p><span class=\"elu\">Hamida REZEG</span><br />Maire-Adjointe déléguée à la Petite Enfance,<br /> à la Famille et au Secteur Périscolaire</p></div><div class=\"elus\"><img src=\"assets/csm_allard_e61a03ba6b.jpg\" /><p><span class=\"elu\">Christian ALLARD</span><br />Maire-Adjoint délégué aux Sports, à la Santé et au Développement des Professions médicales</p></div>"
},
{
"title": "Les horaires",
"id": "horaires",
"display": "list",
"icon" : "fa-institution",
"content": "<div class=\"text-center\"><i class=\"fa fa-users fa-3x\"> </i> <h4>Les horaires</h4></div><p class=\"border-top\">2 Place de l'Hôtel de ville 77100 Meaux</p><p> Tél. : 01.60.09.97.00 <p><p>contact@meaux.fr</p> <div class=\"block-green\"> <h4>HORAIRES</h4> <p>du lundi au vendredi : 8h30 - 18h </p><p>le samedi : 9h00 - 12h</p></div>",
"pages" : [
"plan-poi"
]
},
"plan-poi"
]
},
{"title": "Actualités",
"id": "actualites",
"icon":"fa-bullhorn",
"className": "btn-green",
"colxs": 4,
"colsm": 6,
"display": "list",
"pages" : [
{
"title": "<h4>Yes WeekElles</h4><p>Spectacles, concerts et bien d&#39;autres surprises, à la cité épiscopale et au Théâtre Luxembourg</p>",
"id": "actu1",
"url": "http://www.ville-meaux.fr/fr/liste-des-evenements/evenement/yes-weekelles.html",
"external" : "true"
},
{
"title": "<h4>Semaine Portes ouvertes dans les centres sociaux</h4><p>Du 14 au 19 septembre 2015</p>",
"id": "actu2",
"url": "http://www.ville-meaux.fr/fr/liste-des-evenements/evenement/semaine-portes-ouvertes-dans-les-centres-sociaux.html",
"external" : "true"
},
{
"title": "<h4>Forum emploi des saisons de Meaux</h4><p>Vendredi 4 septembre 2015</p>",
"id": "actu3",
"url": "http://www.ville-meaux.fr/fr/liste-des-evenements/evenement/forum-emploi-des-saisons-de-meaux.html",
"external" : "true"
},
{
"title": "<h4>Sportissimeaux</h4><p>Venez découvrir votre sport ! Les 12 et 13 septembre au Complexe sportif Tauziet</p>",
"id": "actu4",
"url": "http://www.ville-meaux.fr/fr/liste-des-evenements/evenement/sportissimeaux.html",
"external" : "true"
},
{
"title": "<h4>Conseil Municipal</h4><p>Prochain Conseil Municipal le Lundi 21 septembre</p>",
"id": "actu5",
"url": "http://www.ville-meaux.fr/fr/liste-des-evenements/evenement/conseil-municipal.html",
"external" : "true"
},
{
"title": "<h4>Battle de Meaux</h4><p>Présenté par Fantastik Armada</p>",
"id": "actu6",
"url": "http://www.ville-meaux.fr/fr/liste-des-evenements/evenement/battle-de-meaux.html",
"external" : "true"
},
{
"title": "<h4>Le Spectacle Historique de Meaux</h4><p>Pour les petits et les grands, le spectacle historique : Le guetteur de lumière. Découvrez 1h30 de magie pour un voyage unique dans le temps.</p>",
"id": "actu7",
"url": "http://www.ville-meaux.fr/fr/liste-des-evenements/evenement/le-spectacle-historique-de-meaux.html",
"external" : "true"
}
],
"content": "<div class=\"text-center\"><i class=\"fa fa-bullhorn fa-3x\"> </i> <h4>Actualités</h4></div>"
},
{"title": "Agenda",
"id": "agenda",
"icon":"fa-calendar",
"className": "btn-green",
"colxs": 4,
"colsm": 6,
"display": "list",
"pages":[
{
"title": "<h4>Concours \"réalisation de courts métrages de prévention contre le sida\"</h4><p>Du lundi 10 août au lundi 2 novembre 2015</p>",
"id": "agenda1",
"url": "http://www.ville-meaux.fr/fr/actualite/concours-realisation-de-courts-metrages-de-prevention-contre-le-sida.html",
"external" : "true"
},
{
"title": "<h4>Croisière commentée</h4><p>Montez à bord de La Tournaisienne</p>",
"id": "agenda1",
"url": "http://www.ville-meaux.fr/fr/actualite/croisiere-commentee.html",
"external" : "true"
},
{
"title": "<h4>Exposition : Mon violon m&#39;a sauvé la vie</h4><p>MON VIOLON MA SAUVÉ LA VIE DESTINS DE MUSICIENS DANS LA GRANDE GUERRE DU 20 JUIN AU 31 DÉCEMBRE 2015</p>",
"id": "agenda1",
"url": "http://www.ville-meaux.fr/fr/actualite/exposition-mon-violon-m-a-sauve-la-vie.html",
"external" : "true"
},
{
"title": "<h4>Le week end semi-marathon du pays de Meaux cherche ses bénévoles !</h4><p>Dimanche 18 octobre 2015</p>",
"id": "agenda1",
"url": "http://www.ville-meaux.fr/fr/actualite/le-week-end-semi-marathon-du-pays-de-meaux-cherche-ses-benevoles.html",
"external" : "true"
},
{
"title": "<h4>Food truck</h4><p>Du 1er juin au 30 septembre</p>",
"id": "agenda1",
"url": "http://www.ville-meaux.fr/fr/actualite/food-truck.html",
"external" : "true"
},
{
"title": "<h4>Concours des balcons et maisons fleuris 2015</h4>",
"id": "agenda1",
"url": "http://www.ville-meaux.fr/fr/actualite/concours-des-balcons-et-maisons-fleuris-2015.html",
"external" : "true"
},
{
"title": "<h4>Rendez-vous aux Jardins</h4><p>Rendez-vous aux Jardins, les 5, 6 et 7 juin 2015</p>",
"id": "agenda1",
"url": "http://www.ville-meaux.fr/fr/actualite/rendez-vous-aux-jardins.html",
"external" : "true"
},
{
"title": "<h4>La Maison du Diabète et de lObésité</h4><p>Aider les patients à éviter les complications liées au diabète et à lobésité</p>",
"id": "agenda1",
"url": "http://www.ville-meaux.fr/fr/actualite/la-maison-du-diabete-et-de-lobesite.html",
"external" : "true"
},
{
"title": "<h4>Inscription rentrée scolaire</h4><p>Inscription rentrée scolaire pour lannée 2015 - 2016, des enfants nés en 2012.</p>",
"id": "agenda1",
"url": "http://www.ville-meaux.fr/fr/actualite/inscription-rentree-scolaire.html",
"external" : "true"
}
],
"content": "<div class=\"text-center\"><i class=\"fa fa-calendar fa-3x\"> </i> <h4>Agenda</h4></div>"
},
{"id": "plan-poi",
"title": "Plan de la ville",
"icon": "fa-map-marker",
"className": "btn-red",
"colxs": 4,
"colsm": 6,
"url": "http://www.openstreetmap.org/export/embed.html?bbox=2.794818878173828%2C48.92373999482194%2C2.9863929748535156%2C48.991256905198185&amp;layer=mapnik"
},
{
"title":"",
"className": "empty",
"colxs": 12,
"colsm": 12
},
{"title": "connexion",
"id": "connexion",
"className": "btn-connexion",
"colxs": 6,
"url": "https://combo-meaux.dev.entrouvert.org/login/?next=https://combo-meaux.dev.entrouvert.org/",
"external" : "true"
},
{"title": "",
"id": "facebook",
"className": "btn-transparent facebook",
"colsm": 1,
"colxs": 2,
"url": "https://www.facebook.com/villedemeaux",
"external" : "true"
},
{"title": "",
"id": "twitter",
"className": "btn-transparent tweeter",
"colsm": 1,
"colxs": 2,
"url": "#",
"external" : "true"
},
{"title": "",
"id": "instagram",
"className": "btn-transparent instagram",
"colsm": 1,
"colxs": 2,
"url": "#",
"external" : "true"
}
],
"_pages": [
{"title": "<strong><span class=\"text-danger\">R</span><span class=\"text-warning\">E</span><span class=\"text-success\">A</span><span class=\"text-info\">D</span> <span class=\"text-primary\">M</span><span class=\"text-muted\">E</span></strong>",
"keywords": "",
"icon": "fa-bug text-danger",
"url": "http://pwr.link/entrouvert/acbfd626.jpg"
}
]
}

View File

@ -54,8 +54,7 @@ var app = {
'menu': [],
'stylesheets': [],
'javascripts': [],
'content': tmpl('momo-first-launch-tmpl', {}),
'footer': undefined
'content': tmpl('momo-first-launch-tmpl', {})
},
// Default page attributes
@ -117,34 +116,7 @@ var app = {
// Device ready callback
onDeviceReady: function() {
var request = new XMLHttpRequest();
request.open('GET', '../index.json');
request.onload = function() {
if (request.status != 200) {
/* this should never happen */
app.utils.setLoadingMsg("Initialisation de l'application : erreur de chargement");
} else {
var new_manifest = JSON.parse(this.responseText);
for (var attr in new_manifest.meta) {
if (new_manifest.meta.hasOwnProperty(attr)) {
app.manifest.meta[attr] = new_manifest.meta[attr];
}
}
app.manifest.title = new_manifest.title;
app.manifest.content = new_manifest.content;
app.manifest.pages = new_manifest.pages;
app.manifest.footer = new_manifest.footer;
app.onDefaultManifestLoaded();
}
};
request.send();
},
onDefaultManifestLoaded: function() {
app.initApplication();
},
initApplication: function() {
// Init fileSystem
app.initFileSystem();
@ -273,7 +245,7 @@ var app = {
app.flash(tmpl('momo-update-available-tmpl', { mtime: app.utils.formatDate(mtime) }), 'success');
app.utils.setLoadingMsg("Mise à jour disponible !");
} else {
app.utils.setLoadingMsg("Aucune nouvelle mises à jour");
app.utils.setLoadingMsg("Aucune nouvelles mises à jour");
}
if(typeof resolve === 'function'){
resolve(updateAvailable);
@ -642,11 +614,6 @@ var app = {
app.utils.setLoadingMsg("Démarrage de l'application");
app.hasStarted = true;
/* if there's no footer, fallback to the default */
if (typeof app.manifest.footer === 'undefined') {
app.manifest.footer = tmpl('momo-default-footer-tmpl', app.manifest);
}
// Default route to home
app.manifest.id = app.currentPage = 'home';
@ -1194,7 +1161,7 @@ var app = {
search: query,
icon: "fa fa-search",
title: 'Recherche "'+query+'"',
content: results.length ? null : '<div class="well text-center text-muted">Aucun résultat</div>',
content: results.length ? null : '<div class="well text-center text-muted">Aucun resultat</div>',
pages: results.map(function(item){
return item.ref;
}),