38 lines
1.5 KiB
HTML
38 lines
1.5 KiB
HTML
{% load static %}
|
|
<!-- Core JS Files -->
|
|
<script src="{% static 'js/core/popper.min.js' %}"></script>
|
|
<script src="{% static 'js/core/bootstrap.min.js' %}"></script>
|
|
<script src="{% static 'js/plugins/perfect-scrollbar.min.js' %}"></script>
|
|
<script src="{% static 'js/plugins/smooth-scrollbar.min.js' %}"></script>
|
|
<script src="{% static 'js/plugins/chartjs.min.js' %}"></script>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/js-cookie@3.0.5/dist/js.cookie.min.js"></script>
|
|
<script>
|
|
const csrftoken = Cookies.get('csrftoken');
|
|
</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 Soft Dashboard: parallax effects, scripts for the example pages etc -->
|
|
<script src="{% static 'js/argon-dashboard.min.js' %}"></script>
|
|
<script>
|
|
const toast = document.getElementById('toast-alert')
|
|
const toastBootstrap = bootstrap.Toast.getOrCreateInstance(toast)
|
|
$(document).ready(function() {
|
|
try {
|
|
toast.classList.remove('text-bg-success');
|
|
toast.classList.remove('text-bg-warning');
|
|
toast.classList.remove('text-bg-danger');
|
|
} catch {};
|
|
});
|
|
|
|
</script> |