diff --git a/assets/app.js b/assets/app.js index a46ea86..5dd8ae4 100644 --- a/assets/app.js +++ b/assets/app.js @@ -269,7 +269,7 @@ document.addEventListener('DOMContentLoaded', () => { const checkboxLabel = document.createElement('label'); checkboxLabel.htmlFor = `${prefix}-active`; checkboxLabel.classList.add('form-check-label'); - checkboxLabel.textContent = 'Activer cette plage'; + checkboxLabel.textContent = ''; checkboxContainer.appendChild(checkbox); checkboxContainer.appendChild(checkboxLabel); @@ -543,7 +543,7 @@ document.addEventListener('DOMContentLoaded', () => { form.addEventListener('submit', check_validity); updateCompletionProgress() } - document.addEventListener('DOMContentLoaded', updateCompletionProgress); + updateCompletionProgress(); // Focus sur le premier champ texte au chargement const firstTextInput = document.querySelector('input.form-control'); diff --git a/assets/styles/app.css b/assets/styles/app.css index fd8f6f1..7c30b98 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -1,5 +1,6 @@ body { background-color: rgb(236, 236, 236); + transition: background-color ease 0.5s; } .body-landing .container { @@ -9,8 +10,13 @@ body { } .main-footer { - padding-bottom: 10rem; + padding-bottom: 20rem; background-color: #dfe5eb; + +} + +#qrcode { + margin-bottom: 8rem; } .filled { @@ -33,7 +39,16 @@ table.js-sort-table th:active { background-color: #e0e0e0; } -#mapLoader { +/*// formulaire de temps d'ouverture */ +.form-check-input { + margin-right: 2rem; +} + +.jour-container { + border: solid #dedede 1px; +} + +#maploader { position: relative; top: 200px; left: 50%; diff --git a/templates/admin/stats.html.twig b/templates/admin/stats.html.twig index 99b9576..b0396b8 100644 --- a/templates/admin/stats.html.twig +++ b/templates/admin/stats.html.twig @@ -25,7 +25,7 @@ {{ stats.getCompletionPercent() }} % complété sur les critères donnés.
- {{ stats.getPlacesCount() }} commerces dans la zone. + {{ stats.places | length}} commerces dans la zone.
{{ stats.getAvecHoraires() }} commerces avec horaires. @@ -51,7 +51,7 @@ Chargement de la carte...
-
+
@@ -61,7 +61,7 @@

Tableau des {{ stats.places |length }} lieux

- + Exporter en CSV @@ -150,6 +150,8 @@ out skel qt;`; } }); } + }else{ + console.log('pas de contour administratif trouvé'); } console.log('map chargé',data.elements); diff --git a/templates/admin/stats/table-head.html.twig b/templates/admin/stats/table-head.html.twig index 9851d36..22ae34e 100644 --- a/templates/admin/stats/table-head.html.twig +++ b/templates/admin/stats/table-head.html.twig @@ -1,26 +1,25 @@ - Nom ({{ stats.getPlacesCount() }}) + Nom ({{ stats.places|length }}) Type - Adresse ({{ stats.getAvecAdresse() }} / {{ stats.getPlacesCount() }}) + Adresse ({{ stats.getAvecAdresse() }} / {{ stats.places|length }}) - Site web ({{ stats.getAvecSite() }} / {{ stats.getPlacesCount() }}) + Site web ({{ stats.getAvecSite() }} / {{ stats.places|length }}) Accès - PMR - ({{ stats.getAvecAccessibilite() }} / {{ stats.getPlacesCount() }}) + ({{ stats.getAvecAccessibilite() }} / {{ stats.places|length }}) - Note ? ({{ stats.getAvecNote() }} / {{ stats.getPlacesCount() }}) + Note ? ({{ stats.getAvecNote() }} / {{ stats.places|length }}) Texte de la note diff --git a/templates/base.html.twig b/templates/base.html.twig index 325c1da..0a98367 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -66,36 +66,46 @@

OpenStreetMap Mon Commerce

-

+

+ +
+

Licence AGPLv3+, fait par Tykayn de CipherBliss EI, membre de la fédération des professionels d'OpenStreetMap

-

- Sources des données : OpenStreetMap -

OpenStreetMap France

-

- Sources du logiciel -

+
+ +
+
-
+
+
+
partagez cette page :
-
+
+
+ +

+ Sources du logiciel +

+

+ Sources des données : OpenStreetMap +

+
{% block javascripts %} - {{ encore_entry_script_tags('app') }} - {# #} - + {{ encore_entry_script_tags('app') }} diff --git a/templates/public/edit/ask_angela.html.twig b/templates/public/edit/ask_angela.html.twig index df59c95..30cd03c 100644 --- a/templates/public/edit/ask_angela.html.twig +++ b/templates/public/edit/ask_angela.html.twig @@ -3,38 +3,33 @@

{{ 'display.ask_angela'|trans }}

- - - - -
- -
- -

-
- - +
+ +
+

+ +

+
+ + +
+
+ + +
+
-
- - -
- - - -
-
-
diff --git a/translations/messages.fr.yaml b/translations/messages.fr.yaml index 2b9cd35..0e50acf 100644 --- a/translations/messages.fr.yaml +++ b/translations/messages.fr.yaml @@ -2,7 +2,7 @@ display: title: "OSM Mon Commerce" home: "Accueil" stats: "Statistiques" - contact_humans: "Contacter les membres d'OSM France pour m'aider" + contact_humans: "Trouver de l'aide" modify: "Modifier" welcome: "Modifier ce lieu:" modify_commerce: "Modifier votre commerce"