Update web/templates/entry_delete_confirm.html

This commit is contained in:
Joshua Laymon 2025-08-14 17:31:26 +00:00
parent 348f85a941
commit bde737c311

View File

@ -1,12 +1,29 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}Delete Entry - Illustrations DB{% endblock %} {% load static %}
{% block body_class %}danger-bg{% endblock %}
{% block content %} {% block content %}
<div class="panel"> <div class="login-hero"><!-- reuse login centering -->
<h2>Delete Entry</h2> <div class="login-card"><!-- reuse login card styling -->
<p>Are you sure you want to permanently delete <strong>{{ entry.talk_title|default:'(untitled)' }}</strong> (Code: {{ entry.entry_code }})?</p> <h2 class="login-title">Delete Entry #{{ entry.id }}</h2>
<form method="post">{% csrf_token %}
<a class="btn" href="/entry/{{ entry.id }}/">Cancel</a> <div class="small muted" style="margin:-6px 0 12px">
<button class="btn danger" type="submit">Delete</button> <strong>Subject:</strong> {{ entry.subject|default:"(no subject)" }}
</div>
<div class="msg error" style="margin-bottom:14px">
<strong>Danger:</strong> This action permanently deletes the entry.
<br>Once you press <em>Confirm Delete</em>, it cannot be undone.
</div>
<form method="post" action="">
{% csrf_token %}
<div class="form-actions" style="justify-content:space-between;margin-top:8px">
<a class="btn btn-secondary" href="{% url 'entry_view' entry.id %}">Cancel</a>
<button class="btn btn-danger" type="submit">Confirm Delete</button>
</div>
</form> </form>
</div> </div>
{% endblock %} </div>
{% endblock %}