up edit
This commit is contained in:
parent
3afc15a86f
commit
2628b1c7f7
3 changed files with 26 additions and 41 deletions
|
@ -21,6 +21,22 @@
|
||||||
table, thead, tbody, tr{
|
table, thead, tbody, tr{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#completion_progress{
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
padding: 1rem;
|
||||||
|
background-color: white;
|
||||||
|
border-top: 1px solid #e9ecef;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
.body-landing{
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
.main-footer{
|
||||||
|
padding-bottom: 3rem;
|
||||||
|
}
|
||||||
{# table tr:nth-child(odd){
|
{# table tr:nth-child(odd){
|
||||||
background-color:rgb(235, 235, 235);
|
background-color:rgb(235, 235, 235);
|
||||||
}
|
}
|
||||||
|
@ -36,6 +52,11 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="main-header">
|
<header class="main-header">
|
||||||
|
<div id="completion_progress">
|
||||||
|
<div class="progress" role="progressbar" aria-label="Basic example" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
|
||||||
|
<div class="progress-bar" style="width: 0%"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -31,12 +31,10 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="completion_progress">
|
|
||||||
|
|
||||||
<div class="progress" role="progressbar" aria-label="Basic example" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
|
|
||||||
<div class="progress-bar" style="width: 0%"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="card shadow-sm">
|
<div class="card shadow-sm">
|
||||||
|
|
|
@ -40,44 +40,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row mt-4">
|
|
||||||
<div class="col-12">
|
|
||||||
<nav class="bg-light p-3 rounded shadow-sm">
|
|
||||||
<ul class="nav justify-content-center">
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="{{ path('app_public_index') }}">{{ 'display.home'|trans }}</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="https://openstreetmap.fr/contact/">{{ 'display.contact_humans'|trans }}</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% block javascripts %}
|
{% block javascripts %}
|
||||||
{{ parent() }}
|
{{ parent() }}
|
||||||
{# <script src='https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.js'></script> #}
|
|
||||||
{# <script>
|
|
||||||
{% if commerce is not empty %}
|
|
||||||
mapboxgl.accessToken = '{{ mapbox_token }}';
|
|
||||||
map = new mapboxgl.Map({
|
|
||||||
container: 'map',
|
|
||||||
style: 'https://api.maptiler.com/maps/basic-v2/style.json?key={{ maptiler_token }}',
|
|
||||||
center: [{{ commerce['@attributes'].lon }}, {{ commerce['@attributes'].lat }}],
|
|
||||||
|
|
||||||
zoom: 14
|
|
||||||
});
|
|
||||||
|
|
||||||
// Ajout du marqueur
|
|
||||||
new mapboxgl.Marker()
|
|
||||||
.setLngLat([{{ commerce.lon }}, {{ commerce.lat }}])
|
|
||||||
.setPopup(new mapboxgl.Popup({
|
|
||||||
offset: 25
|
|
||||||
}).setHTML('<h1>{{ commerce.tags_converted.name }}</h1>'))
|
|
||||||
.addTo(map);
|
|
||||||
{% endif %}
|
|
||||||
</script> #}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue