general: make standalone pwa_display mode as default (#67047)

This commit is contained in:
Frédéric Péters 2022-07-06 08:41:35 +02:00
parent 46d96b7242
commit d2f9fcaab3
69 changed files with 16 additions and 82 deletions

View File

@ -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:

View File

@ -1,7 +1,6 @@
{
"label": "Aix Marseille Métropole",
"variables": {
"pwa_display": "standalone",
"theme_color": "#0d1d2d",
"email_header_asset": "emails:logo"
},

View File

@ -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"

View File

@ -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": {

View File

@ -1,7 +1,6 @@
{
"label": "Arles 2020",
"variables": {
"pwa_display": "standalone",
"theme_color": "#0055a4",
"email_header_asset": "emails:logo"
},

View File

@ -1,7 +1,6 @@
{
"label": "IDE'AU (atReal)",
"variables": {
"pwa_display": "standalone",
"theme_color": "#4c87c7",
"favicon": "ideau/img/favicon.ico"
}

View File

@ -1,7 +1,6 @@
{
"label": "Auch",
"variables": {
"pwa_display": "standalone",
"theme_color": "#B3B18C"
}
}

View File

@ -455,7 +455,6 @@
},
"variables" : {
"include_top_links" : false,
"pwa_display" : "standalone",
"theme_color" : "#5b7197"
}
}

View File

@ -88,7 +88,6 @@
"variables" : {
"cell_picture_size" : "520x220",
"include_top_links" : false,
"pwa_display": "standalone",
"theme_color" : "#eb1c23"
}
}

View File

@ -102,7 +102,6 @@
"variables" : {
"cell_picture_size" : "520x220",
"include_top_links" : false,
"pwa_display": "standalone",
"theme_color" : "#008fd2"
}
}

View File

@ -1,7 +1,6 @@
{
"label": "Caen",
"variables": {
"pwa_display": "standalone",
"theme_color": "#FFC300",
"email_header_asset": "emails:logo"
},

View File

@ -1,7 +1,6 @@
{
"label": "Cap Atlantique",
"variables": {
"pwa_display": "standalone",
"theme_color": "#00b6d8",
"email_header_asset": "emails:logo"
},

View File

@ -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"
},

View File

@ -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": {

View File

@ -1,7 +1,6 @@
{
"label": "Clermont ICI",
"variables": {
"pwa_display": "standalone",
"theme_color": "#FF8001",
"email_header_asset": "emails:logo"
},

View File

@ -2,7 +2,6 @@
"label": "Clermont Métropole",
"variables": {
"theme_color": "#333333",
"pwa_display": "standalone",
"email_header_img": "img/emails-logo.png"
},
"settings": {

View File

@ -2,7 +2,6 @@
"label": "Concarneau",
"variables": {
"favicon": "concarneau/img/favicon-32x32.png",
"pwa_display": "standalone",
"theme_color": "#f39200"
}
}

View File

@ -1,8 +1,7 @@
{
"label": "Corrèze (CD19)",
"variables": {
"theme_color": "#7cb342",
"pwa_display": "standalone"
"theme_color": "#7cb342"
},
"settings": {
"combo": {

View File

@ -1,7 +1,6 @@
{
"label": "Dordogne (CD24)",
"variables": {
"pwa_display": "standalone",
"include_top_links": true,
"theme_color": "#f4f7fa",
"email_header_asset": "emails:logo"

View File

@ -1,8 +1,7 @@
{
"label": "Essey-Lès-Nancy",
"variables": {
"theme_color": "#FFDF64",
"pwa_display": "standalone"
"theme_color": "#FFDF64"
},
"settings": {
"combo": {

View File

@ -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"
}
}

View File

@ -2,7 +2,6 @@
"label": "Grand Chambéry",
"variables": {
"theme_color": "#E5112F",
"pwa_display": "standalone",
"email_header_asset": "emails:logo"
},
"settings": {

View File

@ -1,7 +1,6 @@
{
"label": "Grand Châtellerault",
"variables": {
"pwa_display": "standalone",
"theme_color": "#126c86"
},
"settings": {

View File

@ -1,7 +1,6 @@
{
"label": "Grand Nancy",
"variables": {
"theme_color": "#ed1c24",
"pwa_display": "standalone"
"theme_color": "#ed1c24"
}
}

View File

@ -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"

View File

@ -3,7 +3,6 @@
"variables": {
"overlay": "izi-ici",
"global_title": "Grenoble Métropole",
"pwa_display": "standalone",
"theme_color": "#FFEC27",
"email_header_asset": "emails:logo"
},

View File

@ -3,7 +3,6 @@
"variables": {
"overlay": "izi-ici",
"global_title": "Grenoble",
"pwa_display": "standalone",
"theme_color": "#175F83",
"email_header_asset": "emails:logo"
},

View File

@ -1,7 +1,6 @@
{
"label": "Haguenau",
"variables": {
"pwa_display": "standalone",
"theme_color": "#005694",
"email_header_asset": "emails:logo"
},

View File

@ -1,7 +1,6 @@
{
"label": "Haute-Garonne (CD31)",
"variables": {
"pwa_display": "standalone",
"theme_color": "#00789b"
},
"settings" : {

View File

@ -1,7 +1,6 @@
{
"label": "Hautes-Alpes (CD05) (2020)",
"variables": {
"pwa_display": "standalone",
"theme_color": "#B73720"
},
"settings": {

View File

@ -1,7 +1,6 @@
{
"label": "Hautes-Alpes Territoire",
"variables": {
"theme_color": "#cccccc",
"email_header_asset": "emails:logo"
},

View File

@ -1,7 +1,6 @@
{
"label": "Hautes-Pyrénées (CD65)",
"variables": {
"pwa_display": "standalone",
"theme_color": "#00539f",
"include_top_links": false
},

View File

@ -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"

View File

@ -1,7 +1,6 @@
{
"label": "Isère (CD38)",
"variables": {
"pwa_display": "standalone",
"theme_color": "#FECE15",
"email_header_asset2": "emails:logo2"
},

View File

@ -2,7 +2,6 @@
"label": "IZI ICI",
"variables": {
"global_title": "IZI ICI",
"pwa_display": "standalone",
"theme_color": "#5d737e",
"email_header_asset": "emails:logo"
},

View File

@ -1,7 +1,6 @@
{
"label": "La Baule",
"variables": {
"pwa_display": "standalone",
"theme_color": "#15357b",
"email_header_asset": "emails:logo"
},

View File

@ -1,7 +1,6 @@
{
"label": "La Hague (2022)",
"variables": {
"pwa_display": "standalone",
"theme_color": "#209EBD",
"email_header_asset": "emails:logo"
},

View File

@ -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"
}

View File

@ -1,7 +1,6 @@
{
"label": "Lambersart",
"variables": {
"pwa_display": "standalone",
"theme_color": "#A2C748",
"email_header_asset": "emails:logo"
},

View File

@ -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": {

View File

@ -1,8 +1,7 @@
{
"label": "Lanester",
"variables": {
"theme_color": "#015397",
"pwa_display": "standalone"
"theme_color": "#015397"
},
"settings": {
"combo": {

View File

@ -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"

View File

@ -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"

View File

@ -1,7 +1,6 @@
{
"label": "Marseille",
"variables": {
"pwa_display": "standalone",
"theme_color": "#1a489c",
"email_header_asset": "emails:logo"
},

View File

@ -2,7 +2,6 @@
"label": "Mauguio-Carnon",
"variables": {
"email_header_img": "img/logo-email-header.png",
"pwa_display": "standalone",
"theme_color": "#018b91"
}
}

View File

@ -1,7 +1,6 @@
{
"label": "Metz Métropole (2019)",
"variables": {
"pwa_display": "standalone",
"theme_color": "#45abc2"
},
"settings": {

View File

@ -1,7 +1,6 @@
{
"label": "Meudon 2021",
"variables": {
"pwa_display": "standalone",
"theme_color": "#22104b",
"email_header_asset": "emails:logo"
},

View File

@ -1,7 +1,6 @@
{
"label": "miribel",
"variables": {
"pwa_display": "standalone",
"theme_color": "#57BCD7",
"email_header_asset": "emails:logo"
},

View File

@ -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": {

View File

@ -1,8 +1,7 @@
{
"label": "Montreuil",
"variables": {
"theme_color": "#243b48",
"pwa_display": "standalone"
"theme_color": "#243b48"
},
"settings": {
"combo": {

View File

@ -2,7 +2,6 @@
"label": "Nancy en Direct",
"variables": {
"theme_color": "#f15252",
"pwa_display": "standalone",
"include_top_links": true
}
}

View File

@ -3,7 +3,6 @@
"variables": {
"favicon": "pre-saint-gervais/img/favicon.ico",
"include_top_links": false,
"pwa_display": "standalone",
"theme_color": "#ffffff"
}
}

View File

@ -2,8 +2,7 @@
"label": "Quimper",
"variables": {
"include_top_links": false,
"theme_color": "#00aa9e",
"pwa_display": "standalone"
"theme_color": "#00aa9e"
},
"settings": {
"combo": {

View File

@ -1,7 +1,6 @@
{
"label": "Roannais Icitoyen",
"variables": {
"pwa_display": "standalone",
"theme_color": "#333333",
"email_header_asset": "emails:logo"
},

View File

@ -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

View File

@ -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 @@
}
}
}
}
}

View File

@ -1,7 +1,6 @@
{
"label": "Saint-Laurent-du-Var",
"variables": {
"pwa_display": "standalone",
"theme_color": "#00a3d3"
}
}

View File

@ -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"
}
}

View File

@ -2,8 +2,7 @@
"label": "Signal Publik",
"variables": {
"include_top_links": false,
"theme_color": "#37bd9c",
"pwa_display": "standalone"
"theme_color": "#37bd9c"
},
"settings": {
"combo": {

View File

@ -1,7 +1,6 @@
{
"label": "Thonon Agglomération 2021",
"variables": {
"pwa_display": "standalone",
"theme_color": "#FCC400",
"email_header_asset": "emails:logo"
},

View File

@ -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",

View File

@ -12,7 +12,6 @@
"512"
],
"include_top_links": false,
"pwa_display": "standalone",
"theme_color": "#DC1822",
"included_js_libraries": ["jquery.js", "jquery-ui.js"]
},

View File

@ -1,7 +1,6 @@
{
"label": "Toulouse Métropole",
"variables": {
"pwa_display": "standalone",
"email_header_img": "img/logo-metropole.png",
"theme_color": "#ff6900"
},

View File

@ -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": [

View File

@ -1,7 +1,6 @@
{
"label": "Université de Lorraine",
"variables": {
"pwa_display": "standalone",
"theme_color": "#FFEF44"
},
"settings": {

View File

@ -1,7 +1,6 @@
{
"label": "Vendée (CD85)",
"variables": {
"pwa_display": "standalone",
"theme_color": "#ED1B24"
},
"settings": {

View File

@ -2,7 +2,6 @@
"label": "Vénissieux",
"variables": {
"email_header_img": "img/logo-venissieux-bleu.png",
"pwa_display": "standalone",
"theme_color": "#3795b2"
}
}

View File

@ -1,7 +1,6 @@
{
"label": "Villeneuve d'Ascq",
"variables": {
"pwa_display": "standalone",
"theme_color": "#5787f5"
},
"settings": {

View File

@ -1,7 +1,6 @@
{
"label": "Villeurbanne Intranet",
"variables": {
"pwa_display": "standalone",
"theme_color": "#0e96a8",
"email_header_asset": "emails:logo",
"include_registration_link": false