mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-08 16:09:40 +00:00
Modified configs so that templates are rendered. Functionality and styling are NOT complete (need to change css framework)
This commit is contained in:
16
assets/templates/confirm_delete.html
Normal file
16
assets/templates/confirm_delete.html
Normal 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>
|
||||
Reference in New Issue
Block a user