feat(templates): enrichUI with Tailwind styling and messaging component improvements

- Add custom border, background, and spacing utilities to base template
- Enhance message notification styling and layout
- Update delete modal button appearance and behavior
- Refine comment card component with Tailwind classes and responsive behavior
- Adjust sidebar responsiveness for mobile view
This commit is contained in:
sankalp committed 2026-05-28 00:51:41 +05:45
1 parent 35bdef7e96
commit 0537ea5e5e
50 files changed
+839 -861

No files matched your search

+6 -6
View File
@@ -2,17 +2,17 @@
{% block title %}{% if object %}Edit{% else %}New{% endif %} Issue{% endblock %}
{% block content_inner %}
<div class="max-w-2xl mx-auto">
<div class="bg-white rounded-2xl shadow-sm border border-gray-100 p-6">
<h1 class="text-xl font-bold text-gray-900 mb-1">{% if object %}Edit{% else %}New{% endif %} Issue</h1>
<p class="text-sm text-gray-500 mb-6">{% if object %}Update the issue details.{% else %}Create a new issue to track work.{% endif %}</p>
<div class="card-surface p-6">
<h1 class="text-xl font-bold text-primary mb-1">{% if object %}Edit{% else %}New{% endif %} Issue</h1>
<p class="text-sm text-tertiary mb-6">{% if object %}Update the issue details.{% else %}Create a new issue to track work.{% endif %}</p>
<form method="post">
{% csrf_token %}
{% for field in form %}
{% include "partials/form_field.html" %}
{% endfor %}
<div class="flex gap-3 pt-2">
<button type="submit" class="btn bg-blue-600 text-white hover:bg-blue-700 border-0">Save</button>
<a href="{% url 'issue_list' %}" class="btn btn-ghost">Cancel</a>
<button type="submit" class="px-3 py-1.5 rounded-lg text-sm font-medium bg-blue-600 text-white hover:bg-blue-700 transition-colors">Save</button>
<a href="{% url 'issue_list' %}" class="px-3 py-1.5 rounded-lg text-sm font-medium text-secondary hover:bg-hover border border-soft transition-colors">Cancel</a>
</div>
</form>
</div>
@@ -53,4 +53,4 @@ document.addEventListener('DOMContentLoaded', function() {
}
});
</script>
{% endblock %}
{% endblock %}