add local mapbox script, update objects
This commit is contained in:
parent
c6e05463b1
commit
b1f6433b7d
13 changed files with 309 additions and 182 deletions
|
@ -254,7 +254,7 @@ out skel qt;`;
|
|||
<td>
|
||||
<a href="{{ path('app_admin_stats', {'zip_code': stat.zone}) }}">{{ stat.zone }} {{ stat.name }}</a>
|
||||
</td>
|
||||
<td>{{ stat.placesCount }}</td>
|
||||
<td>{{ stat.places |length }}</td>
|
||||
<td style="background : rgba(0 , 255, 0, {{stat.completionPercent / 100 }} )">{{ stat.completionPercent }}</td>
|
||||
<td>
|
||||
<a class="btn btn-sm btn-primary" href="{{ path('app_admin_stats', {'zip_code': stat.zone}) }}"><i class="bi bi-eye"></i></a>
|
||||
|
|
|
@ -111,15 +111,18 @@
|
|||
<div class="col-12 mt-4">
|
||||
<div class="actions-modification">
|
||||
|
||||
<a class="btn btn-info" href="{{ path('app_public_index') }}">{{ 'display.contact_humans'|trans }}</a>
|
||||
<a class="btn btn-info" href="{{ path('app_public_index') }}">
|
||||
<i class="bi bi-people"></i>
|
||||
{{ 'display.contact_humans'|trans }}
|
||||
</a>
|
||||
|
||||
<button id="showAllFields" class="btn btn-secondary mx-4">
|
||||
<i class="bi bi-eye"></i>
|
||||
Voir aussi les champs déjà remplis
|
||||
</button>
|
||||
</button>
|
||||
|
||||
<button id="closedCommerce" class="btn btn-danger mx-4">
|
||||
<i class="bi bi-x-circle"></i>
|
||||
<button id="closedCommerce" class="btn btn-danger mx-4 mt-4">
|
||||
<i class="bi bi-x-circle"></i>
|
||||
Je souhaite signaler que ce commerce est fermé
|
||||
</button>
|
||||
</div>
|
||||
|
@ -128,8 +131,6 @@
|
|||
</div>
|
||||
<div class="row justify-content-center mt-4">
|
||||
<div class="col-12 col-lg-10 col-xl-8">
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="d-flex flex-column flex-md-row align-items-md-center justify-content-between">
|
||||
|
@ -144,9 +145,6 @@
|
|||
{{ 'display.view_on_osm'|trans }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<a href="{{ path('app_admin_stats', {'zip_code': zone ?? '-1'}) }}" class="btn btn-outline-secondary">
|
||||
<i class="bi bi-bar-chart"></i>
|
||||
{{ 'display.view_stats'|trans }}
|
||||
|
@ -170,12 +168,11 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% block javascripts %}
|
||||
{{ parent() }}
|
||||
<script src='https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.js'></script>
|
||||
<script src={{asset('js/mapbox/mapbox-gl.js')}}></script>
|
||||
<script>
|
||||
function check_validity(e) {
|
||||
let errors = [];
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
{% block stylesheets %}
|
||||
{{ parent() }}
|
||||
{# <link href='https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.css' rel='stylesheet' /> #}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
@ -32,18 +31,8 @@
|
|||
<br>
|
||||
<a href="{{ path('app_public_index') }}">Retour à la page d'accueil</a>
|
||||
</div>
|
||||
{# <h2>Tags</h2> #}
|
||||
|
||||
{# {{dump(commerce)}} #}
|
||||
|
||||
{# {% if commerce.tags_converted."contact:email" is defined %}
|
||||
<a class="btn btn-primary" href="mailto:{{ commerce.tags_converted."contact:email" }}">C'est mon commerce, le modifier</a>
|
||||
{% else %}
|
||||
<a class="btn btn-primary" href="{{ path('app_public_index') }}">C'est mon commerce, pour le modifier je souhaite ajouter mon email de contact</a>
|
||||
{% endif %} #}
|
||||
|
||||
{% endblock %}
|
||||
{% block javascripts %}
|
||||
{{ parent() }}
|
||||
{# <script src='https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.js'></script> #}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue