Added branding and updated layouts using base_authenticated.html; applied consistent Tailwind styling across authentication and ticket pages; improved usability with hover effects and clearer typography. New Features: - Enhancements: - Refactored login page layout to use a centered card with branding and modern styling. - Updated profile page to use the authenticated base template and a refined card design. - Enhanced ticket list page with a descriptive subtitle, SVG icon, and refined table styling including hover states and better typography. Bug Fixes: - Fixed template inheritance to use base_authenticated.html for profile and tickets pages. - Corrected form button text and styling for consistency.
20 lines
1.2 KiB
HTML
20 lines
1.2 KiB
HTML
{% extends "base_authenticated.html" %}
|
|
{% block title %}Delete Issue{% endblock %}
|
|
{% block content_inner %}
|
|
<div class="max-w-lg mx-auto">
|
|
<div class="bg-white rounded-2xl shadow-sm border border-gray-100 p-6 text-center">
|
|
<div class="w-16 h-16 rounded-full bg-red-100 flex items-center justify-center mx-auto mb-4">
|
|
<svg class="w-8 h-8 text-red-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"/></svg>
|
|
</div>
|
|
<h1 class="text-xl font-bold text-gray-900 mb-2">Delete Issue</h1>
|
|
<p class="text-gray-500 mb-6">Are you sure you want to delete <strong>"{{ object.title }}"</strong>?</p>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
<div class="flex gap-3 justify-center">
|
|
<button type="submit" class="btn bg-red-600 text-white hover:bg-red-700 border-0">Delete</button>
|
|
<a href="{% url 'issue_detail' object.pk %}" class="btn btn-ghost">Cancel</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |