forked from entrouvert/publik-base-theme
general: make standalone pwa_display mode as default (#67047)
This commit is contained in:
parent
46d96b7242
commit
d2f9fcaab3
|
@ -24,6 +24,8 @@ for dirname in sorted(os.listdir('static')):
|
|||
theme['variables'] = {}
|
||||
if not theme['variables'].get('css_variant'):
|
||||
theme['variables']['css_variant'] = dirname
|
||||
if 'pwa_display' not in theme['variables']:
|
||||
theme['variables']['pwa_display'] = 'standalone'
|
||||
if os.path.exists(os.path.join('static', dirname, 'extra.js')):
|
||||
theme['variables']['no_extra_js'] = False
|
||||
else:
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Aix Marseille Métropole",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#0d1d2d",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -323,7 +323,6 @@
|
|||
}
|
||||
},
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#001c76",
|
||||
"email_header_img": "img/logo.png",
|
||||
"email_header_right_img": "img/logo-departement.png"
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
"label": "Angoulême",
|
||||
"variables": {
|
||||
"theme_color": "#009CDC",
|
||||
"email_header_asset": "emails:logo",
|
||||
"pwa_display": "standalone"
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Arles 2020",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#0055a4",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "IDE'AU (atReal)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#4c87c7",
|
||||
"favicon": "ideau/img/favicon.ico"
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Auch",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#B3B18C"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -455,7 +455,6 @@
|
|||
},
|
||||
"variables" : {
|
||||
"include_top_links" : false,
|
||||
"pwa_display" : "standalone",
|
||||
"theme_color" : "#5b7197"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,7 +88,6 @@
|
|||
"variables" : {
|
||||
"cell_picture_size" : "520x220",
|
||||
"include_top_links" : false,
|
||||
"pwa_display": "standalone",
|
||||
"theme_color" : "#eb1c23"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -102,7 +102,6 @@
|
|||
"variables" : {
|
||||
"cell_picture_size" : "520x220",
|
||||
"include_top_links" : false,
|
||||
"pwa_display": "standalone",
|
||||
"theme_color" : "#008fd2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Caen",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#FFC300",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Cap Atlantique",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#00b6d8",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Alpes-Maritimes - e-zyservices",
|
||||
"variables": {
|
||||
"theme_color": "#0F70B7",
|
||||
"pwa_display": "standalone",
|
||||
"email_header_asset": "emails:logo",
|
||||
"email_header_department_asset": "emails:department-logo"
|
||||
},
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
"label": "La Cinor 2021",
|
||||
"variables": {
|
||||
"theme_color": "#38a58f",
|
||||
"email_header_asset": "emails:logo",
|
||||
"pwa_display": "standalone"
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Clermont ICI",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#FF8001",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Clermont Métropole",
|
||||
"variables": {
|
||||
"theme_color": "#333333",
|
||||
"pwa_display": "standalone",
|
||||
"email_header_img": "img/emails-logo.png"
|
||||
},
|
||||
"settings": {
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Concarneau",
|
||||
"variables": {
|
||||
"favicon": "concarneau/img/favicon-32x32.png",
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#f39200"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
"label": "Corrèze (CD19)",
|
||||
"variables": {
|
||||
"theme_color": "#7cb342",
|
||||
"pwa_display": "standalone"
|
||||
"theme_color": "#7cb342"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Dordogne (CD24)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"include_top_links": true,
|
||||
"theme_color": "#f4f7fa",
|
||||
"email_header_asset": "emails:logo"
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
"label": "Essey-Lès-Nancy",
|
||||
"variables": {
|
||||
"theme_color": "#FFDF64",
|
||||
"pwa_display": "standalone"
|
||||
"theme_color": "#FFDF64"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Grand Paris Seine & Oise",
|
||||
"variables": {
|
||||
"theme_color": "#0075c1",
|
||||
"email_header_img": "img/logo-email.png",
|
||||
"pwa_display": "standalone"
|
||||
"email_header_img": "img/logo-email.png"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Grand Chambéry",
|
||||
"variables": {
|
||||
"theme_color": "#E5112F",
|
||||
"pwa_display": "standalone",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
"settings": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Grand Châtellerault",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#126c86"
|
||||
},
|
||||
"settings": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Grand Nancy",
|
||||
"variables": {
|
||||
"theme_color": "#ed1c24",
|
||||
"pwa_display": "standalone"
|
||||
"theme_color": "#ed1c24"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Grenoble Métropole 2019",
|
||||
"variables": {
|
||||
"global_title": "Grenoble Métropole",
|
||||
"pwa_display": "standalone",
|
||||
"include_top_links": true,
|
||||
"email_header_img": "img/logo-metro.png",
|
||||
"theme_color": "#FFEC44"
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
"variables": {
|
||||
"overlay": "izi-ici",
|
||||
"global_title": "Grenoble Métropole",
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#FFEC27",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
"variables": {
|
||||
"overlay": "izi-ici",
|
||||
"global_title": "Grenoble",
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#175F83",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Haguenau",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#005694",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Haute-Garonne (CD31)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#00789b"
|
||||
},
|
||||
"settings" : {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Hautes-Alpes (CD05) (2020)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#B73720"
|
||||
},
|
||||
"settings": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Hautes-Alpes Territoire",
|
||||
"variables": {
|
||||
|
||||
"theme_color": "#cccccc",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Hautes-Pyrénées (CD65)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#00539f",
|
||||
"include_top_links": false
|
||||
},
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Hellemmes",
|
||||
"variables": {
|
||||
"include_top_links": true,
|
||||
"pwa_display": "standalone",
|
||||
"email_header_asset": "emails:logo",
|
||||
"email_header_img": "",
|
||||
"theme_color": "#97c038"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Isère (CD38)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#FECE15",
|
||||
"email_header_asset2": "emails:logo2"
|
||||
},
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "IZI ICI",
|
||||
"variables": {
|
||||
"global_title": "IZI ICI",
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#5d737e",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "La Baule",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#15357b",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "La Hague (2022)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#209EBD",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "La Réunion (région)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#00579e",
|
||||
"email_header_img": "img/region-reunion-2.png"
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Lambersart",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#A2C748",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
"label": "Landes (CD40)",
|
||||
"variables": {
|
||||
"theme_color": "#33892D",
|
||||
"email_header_asset": "emails:logo",
|
||||
"pwa_display": "standalone"
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
"label": "Lanester",
|
||||
"variables": {
|
||||
"theme_color": "#015397",
|
||||
"pwa_display": "standalone"
|
||||
"theme_color": "#015397"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Lille",
|
||||
"variables": {
|
||||
"include_top_links": true,
|
||||
"pwa_display": "standalone",
|
||||
"email_header_asset": "emails:logo",
|
||||
"email_header_img": "",
|
||||
"theme_color": "#e1001a"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Lomme",
|
||||
"variables": {
|
||||
"include_top_links": true,
|
||||
"pwa_display": "standalone",
|
||||
"email_header_asset": "emails:logo",
|
||||
"email_header_img": "",
|
||||
"theme_color": "#009ead"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Marseille",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#1a489c",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Mauguio-Carnon",
|
||||
"variables": {
|
||||
"email_header_img": "img/logo-email-header.png",
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#018b91"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Metz Métropole (2019)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#45abc2"
|
||||
},
|
||||
"settings": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Meudon 2021",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#22104b",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "miribel",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#57BCD7",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
"variables": {
|
||||
"theme_color": "#1f4791",
|
||||
"email_header_asset": "emails:logo",
|
||||
"cell_picture_size": "660x220",
|
||||
"pwa_display": "standalone"
|
||||
"cell_picture_size": "660x220"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
"label": "Montreuil",
|
||||
"variables": {
|
||||
"theme_color": "#243b48",
|
||||
"pwa_display": "standalone"
|
||||
"theme_color": "#243b48"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Nancy en Direct",
|
||||
"variables": {
|
||||
"theme_color": "#f15252",
|
||||
"pwa_display": "standalone",
|
||||
"include_top_links": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
"variables": {
|
||||
"favicon": "pre-saint-gervais/img/favicon.ico",
|
||||
"include_top_links": false,
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#ffffff"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
"label": "Quimper",
|
||||
"variables": {
|
||||
"include_top_links": false,
|
||||
"theme_color": "#00aa9e",
|
||||
"pwa_display": "standalone"
|
||||
"theme_color": "#00aa9e"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Roannais Icitoyen",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#333333",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Les Sables d'Olonne (2022)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#0D306F",
|
||||
"email_header_asset": "emails:logo",
|
||||
"include_top_links": false
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Les Sables d'Olonne",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#67C2C9",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
@ -25,4 +24,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Saint-Laurent-du-Var",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#00a3d3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Saône et Loire (CD71) (2019)",
|
||||
"variables": {
|
||||
"email_header_img": "img/logo-header.png",
|
||||
"theme_color": "#179ad6",
|
||||
"pwa_display": "standalone"
|
||||
"theme_color": "#179ad6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
"label": "Signal Publik",
|
||||
"variables": {
|
||||
"include_top_links": false,
|
||||
"theme_color": "#37bd9c",
|
||||
"pwa_display": "standalone"
|
||||
"theme_color": "#37bd9c"
|
||||
},
|
||||
"settings": {
|
||||
"combo": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Thonon Agglomération 2021",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#FCC400",
|
||||
"email_header_asset": "emails:logo"
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Thonon Agglomération Online",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#178387",
|
||||
"include_top_links": true,
|
||||
"email_header_asset": "emails:logo",
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
"512"
|
||||
],
|
||||
"include_top_links": false,
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#DC1822",
|
||||
"included_js_libraries": ["jquery.js", "jquery-ui.js"]
|
||||
},
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Toulouse Métropole",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"email_header_img": "img/logo-metropole.png",
|
||||
"theme_color": "#ff6900"
|
||||
},
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
"favicon": "toulouse/img/favicon-16.png",
|
||||
"email_header_img": "img/email-header.png",
|
||||
"email_header_width": "100%",
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#de3559",
|
||||
"icon_prefix": "img/launcher-icon-",
|
||||
"icon_sizes": [
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Université de Lorraine",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#FFEF44"
|
||||
},
|
||||
"settings": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Vendée (CD85)",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#ED1B24"
|
||||
},
|
||||
"settings": {
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"label": "Vénissieux",
|
||||
"variables": {
|
||||
"email_header_img": "img/logo-venissieux-bleu.png",
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#3795b2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Villeneuve d'Ascq",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#5787f5"
|
||||
},
|
||||
"settings": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"label": "Villeurbanne Intranet",
|
||||
"variables": {
|
||||
"pwa_display": "standalone",
|
||||
"theme_color": "#0e96a8",
|
||||
"email_header_asset": "emails:logo",
|
||||
"include_registration_link": false
|
||||
|
|
Loading…
Reference in New Issue