Merge branch 'main' of ssh://git.entrouvert.org/imio-publik-themes

This commit is contained in:
Daniel Muyshond 2022-08-16 15:05:37 +02:00
commit 44edf215ec
11 changed files with 174 additions and 126 deletions

View File

@ -1,25 +1,26 @@
{
"label": "Braine-le-Château",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#026770",
"favicon": "brainelechateau/images/favicon.ico"
},
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.6831",
"lng": "4.2729"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
}
"label": "Braine-le-Château",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#026770",
"include_top_links": false,
"favicon": "brainelechateau/images/favicon.ico"
},
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.6831",
"lng": "4.2729"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
}
}

View File

@ -2,6 +2,6 @@
"label": "Dison",
"variables": {
"no_extra_js": false,
"theme_color": "#DBCCBC"
"theme_color": "#7B98C4"
}
}

View File

@ -1,7 +1,7 @@
@charset "UTF-8";
/*STYLE*/
$primary-color: #347785;
$primary-color: #7B98C4;
$width: 1100px;
$mobile-limit: 800px;
$font-size: 16px !default;

View File

@ -8,6 +8,9 @@
},
"header:logo" : {
"label" : "Image de logo"
},
"emails:logo": {
"label": "Image d'en-tête dans les mails"
}
},
"COMBO_CELL_ASSET_SLOTS.update" : {
@ -95,6 +98,7 @@
"theme_color" : "#651138",
"include_top_links" : false,
"favicon": "imio-basic/images/favicon.ico",
"no_extra_js": true
"no_extra_js": true,
"email_header_asset": "emails:logo"
}
}

View File

@ -1,25 +1,26 @@
{
"label": "Lens",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#343F4D",
"favicon": "lens/images/favicon.ico"
},
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.5578",
"lng": "3.8998"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
}
"label": "Lens",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#343F4D",
"include_top_links": false,
"favicon": "lens/images/favicon.ico"
},
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.5578",
"lng": "3.8998"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
}
}

View File

@ -1,25 +1,26 @@
{
"label": "Manage",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#07689F",
"favicon": "manage/images/favicon.ico"
},
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.5030",
"lng": "4.2353"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
}
"label": "Manage",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#07689F",
"include_top_links": false,
"favicon": "manage/images/favicon.ico"
},
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.5030",
"lng": "4.2353"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
}
}

View File

@ -1,25 +1,26 @@
{
"label": "Nandrin",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#34B233",
"favicon": "nandrin/images/favicon.ico"
},
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.5071457",
"lng": "5.4198465"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
}
"label": "Nandrin",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#34B233",
"include_top_links": false,
"favicon": "nandrin/images/favicon.ico"
},
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.5071457",
"lng": "5.4198465"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
}
}

View File

@ -8,6 +8,9 @@
},
"header:logo" : {
"label" : "Image de logo"
},
"emails:logo": {
"label": "Image d'en-tête dans les mails"
}
},
"COMBO_CELL_ASSET_SLOTS.update" : {
@ -95,6 +98,7 @@
"theme_color" : "#651138",
"include_top_links" : false,
"favicon": "imio-basic/images/favicon.ico",
"no_extra_js": true
"no_extra_js": true,
"email_header_asset": "emails:logo"
}
}

View File

@ -1,9 +1,25 @@
{
"label": "Verviers (2020)",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#0E6E62",
"favicon": "verviers_2020/images/favicon.ico"
}
"label": "Verviers (2020)",
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.591056",
"lng": "5.865595"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
},
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#0E6E62",
"favicon": "verviers_2020/images/favicon.ico"
}
}

View File

@ -1,25 +1,26 @@
{
"label": "Wavre (C.P.A.S.)",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#343F4D",
"favicon": "wavre/images/favicon.ico"
},
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.715896",
"lng": "4.612808"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
}
"label": "Wavre (C.P.A.S.)",
"variables": {
"no_extra_js": false,
"pwa_display": "standalone",
"theme_color": "#343F4D",
"include_top_links": false,
"favicon": "wavre/images/favicon.ico"
},
"settings": {
"combo": {
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.715896",
"lng": "4.612808"
},
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image d'en tête du guichet"
},
"header:logo": {
"label": "Logo d'en tête du guichet"
}
}
}
}
}

View File

@ -0,0 +1,19 @@
{% extends "qommon/forms/widget.html" %}
{% block widget-content %}
<a class="i_am_lost_btn" style="cursor: pointer;" onclick="resetMapWidget()">Localisation incorrecte / je suis perdu : réinitialiser la carte (positionne la carte sur la commune)</a>
<script type = "text/javascript">
function resetMapWidget() {
var $map = $('.qommon-map');
initial_lat = $map[0].attributes['data-def-lat'].value;
initial_lng = $map[0].attributes['data-def-lng'].value;
$map[0].leaflet_map.flyTo([initial_lat, initial_lng]);
}
</script>
<style>
@media screen and (max-width: 800px) {
.i_am_lost_btn {
display: none;
}
}
</style>
{% endblock %}