mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-06-20 01:44:42 +02:00
locally copy libs scripts and styles
This commit is contained in:
parent
485f1774d0
commit
9390a38adf
16 changed files with 9493 additions and 22 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
{% block stylesheets %}
|
||||
{{ parent() }}
|
||||
<link href='https://cdn.jsdelivr.net/npm/maplibre-gl@3.6.2/dist/maplibre-gl.css' rel='stylesheet' />
|
||||
<link href='{{ asset('js/maplibre/maplibre-gl.css') }}' rel='stylesheet' />
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
@ -68,7 +68,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script src='https://cdn.jsdelivr.net/npm/maplibre-gl@3.6.2/dist/maplibre-gl.js'></script>
|
||||
<script src='{{ asset('js/maplibre/maplibre-gl.js') }}'></script>
|
||||
<script>
|
||||
const request = `{{query_places|raw}}`;
|
||||
const zip_code = `{{stats.zone}}`;
|
||||
|
|
|
@ -5,25 +5,20 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}Welcome!{% endblock %}</title>
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
|
||||
<!-- CSS Bootstrap -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
||||
<!-- CSS personnalisé -->
|
||||
<link rel="stylesheet" href="{{ asset('css/main.css') }}">
|
||||
<!-- JavaScript Bootstrap avec Popper.js -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="https://www.cssscript.com/demo/html-table-sortable/sort-table.js"></script>
|
||||
|
||||
|
||||
|
||||
<link rel="icon" type="image/png" href="{{ asset('logo-osm.png') }}">
|
||||
<!-- Script pour le tri automatique des tableaux -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/sortablejs@1.15.0/Sortable.min.js"></script>
|
||||
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
|
||||
{% block stylesheets %}
|
||||
{{ encore_entry_link_tags('app') }}
|
||||
<link rel="stylesheet" href="https://www.cssscript.com/demo/html-table-sortable/sort-table.css">
|
||||
<link href='https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.css' rel='stylesheet' />
|
||||
<link rel="stylesheet" href="{{ asset('js/sort-table/sort-table.css') }}">
|
||||
<link href='{{ asset('js/mapbox/mapbox-gl.css') }}' rel='stylesheet' />
|
||||
<!-- CSS Bootstrap -->
|
||||
<link rel="stylesheet" href="{{ asset('css/bootstrap-icons.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('js/bootstrap/bootstrap-icons.min.css') }}">
|
||||
<link href="{{ asset('js/bootstrap/bootstrap.min.css') }}" rel="stylesheet">
|
||||
<!-- CSS personnalisé -->
|
||||
<link rel="stylesheet" href="{{ asset('css/main.css') }}">
|
||||
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
@ -100,7 +95,14 @@
|
|||
{% block javascripts %}
|
||||
{{ encore_entry_script_tags('app') }}
|
||||
{# <script src="{{ asset('js/main.js') }}"></script> #}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js" integrity="sha512-CNgIRecGo7nphbeZ04Sc13ka07paqdeTu0WR1IM4kNcpmBAUSHSQX0FslNhTDadL4O5SAGapGt4FodqL8My0mA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
<!-- JavaScript Bootstrap avec Popper.js -->
|
||||
<script src="{{ asset('js/bootstrap/bootstrap.bundle.min.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('js/sort-table/sort-table.js') }}"></script>
|
||||
|
||||
<!-- Script pour le tri automatique des tableaux -->
|
||||
<script src="{{ asset('js/bootstrap/Sortable.min.js') }}"></script>
|
||||
<script src="{{ asset('js/qrcode/qrcode.min.js') }}"></script>
|
||||
<script>
|
||||
new QRCode(document.getElementById('qrcode'), {
|
||||
text: window.location.href,
|
||||
|
@ -110,8 +112,6 @@
|
|||
colorLight : '#ffffff',
|
||||
correctLevel : QRCode.CorrectLevel.H
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
{% endblock %}
|
||||
</body>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
{% block stylesheets %}
|
||||
{{ parent() }}
|
||||
<link href='https://cdn.jsdelivr.net/npm/maplibre-gl@3.6.2/dist/maplibre-gl.css' rel='stylesheet' />
|
||||
<link href='{{ asset('js/maplibre/maplibre-gl.css') }}' rel='stylesheet' />
|
||||
<style>
|
||||
.hidden {
|
||||
display: none;
|
||||
|
@ -20,7 +20,7 @@
|
|||
{% block javascripts %}
|
||||
{{ parent() }}
|
||||
|
||||
<script src='https://cdn.jsdelivr.net/npm/maplibre-gl@3.6.2/dist/maplibre-gl.js'></script>
|
||||
<script src='{{ asset('js/maplibre/maplibre-gl.js') }}'></script>
|
||||
<script >
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue