add leaflet css and js for mapping functionality
This commit is contained in:
parent
c7560e8e40
commit
c0a1929892
@ -11,8 +11,8 @@
|
||||
</title>
|
||||
|
||||
<!-- Simple CSS
|
||||
<link
|
||||
rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">-->
|
||||
<link
|
||||
rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">-->
|
||||
|
||||
<!-- Fonts and icons -->
|
||||
<link
|
||||
@ -28,34 +28,36 @@
|
||||
rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0"/>
|
||||
<!-- CSS Files -->
|
||||
<link id="pagestyle" href="{{ asset('css/material-dashboard.css') }}?v=3.2.0" rel="stylesheet"/> {% block stylesheets %}{% endblock %}
|
||||
</head>
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin=""/>
|
||||
</head>
|
||||
|
||||
<body class="bg-gray-200"> {% block body %}{% endblock %}
|
||||
<body class="bg-gray-200"> {% block body %}{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
<script src="{{ asset('js/core/popper.min.js') }}"></script>
|
||||
<script src="{{ asset('js/core/bootstrap.min.js') }}"></script>
|
||||
<script src="{{ asset('js/plugins/perfect-scrollbar.min.js') }}"></script>
|
||||
<script src="{{ asset('js/plugins/smooth-scrollbar.min.js') }}"></script>
|
||||
<script>
|
||||
var win = navigator.platform.indexOf('Win') > -1;
|
||||
{% block javascripts %}
|
||||
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
|
||||
<script src="{{ asset('js/core/popper.min.js') }}"></script>
|
||||
<script src="{{ asset('js/core/bootstrap.min.js') }}"></script>
|
||||
<script src="{{ asset('js/plugins/perfect-scrollbar.min.js') }}"></script>
|
||||
<script src="{{ asset('js/plugins/smooth-scrollbar.min.js') }}"></script>
|
||||
<script>
|
||||
var win = navigator.platform.indexOf('Win') > -1;
|
||||
if (win && document.querySelector('#sidenav-scrollbar')) {
|
||||
var options = {
|
||||
damping: '0.5'
|
||||
}
|
||||
Scrollbar.init(document.querySelector('#sidenav-scrollbar'), options);
|
||||
}
|
||||
</script>
|
||||
<!-- Github buttons -->
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||
<!-- Control Center for Material Dashboard: parallax effects, scripts for the example pages etc -->
|
||||
<script src="{{ asset('js/material-dashboard.js') }}?v=3.2.0"></script>
|
||||
</script>
|
||||
<!-- Github buttons -->
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||
<!-- Control Center for Material Dashboard: parallax effects, scripts for the example pages etc -->
|
||||
<script src="{{ asset('js/material-dashboard.js') }}?v=3.2.0"></script>
|
||||
|
||||
<script src='{{ asset('js/script.js') }}'></script>
|
||||
<script src='{{ asset('js/script.js') }}'></script>
|
||||
|
||||
{% block importmap %}
|
||||
{{ importmap('app') }}
|
||||
{% endblock %}
|
||||
{% block importmap %}
|
||||
{{ importmap('app') }}
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user