include toasts

This commit is contained in:
Corban-Lee Jones 2024-03-25 00:32:32 +00:00
parent 8289d89907
commit a3740c30fe
3 changed files with 4 additions and 4 deletions

View File

@ -240,7 +240,7 @@
</div>
</div>
<div class="peer">
<button type="button" class="btn bg-body-tertiary waves-effect bd rounded-3 border-0" onclick="alert('activity history not implemented')">
<button type="button" class="btn bg-body-tertiary waves-effect bd rounded-3 border-0" onclick="showToast('warning', 'Warning', 'not implemented');">
<i class="bi bi-clock-history"></i>
</button>
</div>

View File

@ -15,3 +15,5 @@
<script src="{% static '/js/index.js' %}"></script>
<script src="{% static '/js/base.js' %}"></script>
<script src="{% static '/js/toasts.js' %}"></script>

View File

@ -76,9 +76,7 @@
</div>
{% comment %}
{% include 'includes/toasts.html' %}
{% endcomment %}
{% include 'includes/toasts.html' %}
<script>
const CSRF_MiddlewareToken = "{{ csrf_token }}";