New Features - Added `templates/base.html` with Tailwind, HTMX, and project management title block. - Introduced `templates/base/base.html` as a minimal fallback layout. - Created `templates/components/navbar.html` with authenticated navigation menu. - Implemented `templates/pages/accounts/login.html` for user authentication. - Developed ticket management templates: - `templates/pages/tickets/ticket_list.html` for displaying tickets. - `templates/pages/tickets/ticket_form.html` for creating/editing tickets. Enhancements - Structured all new templates to inherit from the shared base layout. - Integrated Tailwind CSS and HTMX via CDN for consistent styling and interactivity. - Provided placeholder blocks for extra head and scripts to allow future extensions. Bug Fixes- No bug fixes included in this commit.
16 lines
595 B
HTML
16 lines
595 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Delete Project{% endblock %}
|
|
{% block content %}
|
|
<div class="card bg-base-100 shadow-xl max-w-lg mx-auto">
|
|
<div class="card-body">
|
|
<h2 class="card-title text-2xl mb-4">Delete Project</h2>
|
|
<p>Are you sure you want to delete "{{ object.name }}"?</p>
|
|
<form method="post" class="mt-4">
|
|
{% csrf_token %}
|
|
<button type="submit" class="btn btn-error">Delete</button>
|
|
<a href="{% url 'project_detail' object.pk %}" class="btn btn-ghost">Cancel</a>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|