Files
project-managment/templates/pages/projects/project_confirm_delete.html
T
sankalp a42fd580b7 refactor(templates/pages): redesign login, profile, and ticket list UI with Tailwind improvements
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.
2026-05-28 00:00:06 +05:45

21 lines
1.2 KiB
HTML

{% extends "base_authenticated.html" %}
{% block title %}Delete Project{% 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 Project</h1>
<p class="text-gray-500 mb-6">Are you sure you want to delete <strong>"{{ object.name }}"</strong>? This action cannot be undone.</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 'project_detail' object.pk %}" class="btn btn-ghost">Cancel</a>
</div>
</form>
</div>
</div>
{% endblock %}