include toasts
This commit is contained in:
parent
8289d89907
commit
a3740c30fe
@ -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>
|
||||
|
@ -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>
|
@ -76,9 +76,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
{% comment %}
|
||||
{% include 'includes/toasts.html' %}
|
||||
{% endcomment %}
|
||||
{% include 'includes/toasts.html' %}
|
||||
|
||||
<script>
|
||||
const CSRF_MiddlewareToken = "{{ csrf_token }}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user