Modified configs so that templates are rendered. Functionality and styling are NOT complete (need to change css framework)

This commit is contained in:
Matthew Smith
2019-10-01 18:10:34 +01:00
parent 1df971bbba
commit 6cff7c090c
13 changed files with 77 additions and 30 deletions

View File

@@ -0,0 +1,16 @@
<div id="confirm_delete_modal" class="modal">
<form method="post" id="confirm_delete_form">
{% csrf_token %}
<div class="modal-content">
<h4>Confirm Delete</h4>
<p>Are you sure you want to delete asset:
<strong>{{ object }}</strong>
</p>
</div>
<div class="modal-footer">
<button type="button" class="modal-close btn-flat" onclick="deleteAsset({{ object.id }})">Delete</button>
{# <a href="#" class="modal-close btn-flat green">Close</a>#}
<a href="#" class="modal-close btn-flat red">Cancel</a>
</div>
</form>
</div>