Refactor button styles for collection management to ensure consistent appearance across templates

This commit is contained in:
Ross
2026-02-02 12:09:25 +00:00
parent 374ee17911
commit 953295cc4d
2 changed files with 3 additions and 3 deletions
@@ -447,7 +447,7 @@
<b>Collections:</b>
{% if can_edit %}
<button
<button class="btn btn-sm btn-primary"
hx-get="{% url 'atlas:case_collection_form' case.pk %}"
hx-target="#collection-form">
Add to collection</button>
@@ -459,7 +459,7 @@
<a href="{% url 'atlas:collection_detail' pk=collection.pk %}">{{ collection.name }}</a>
{% if can_edit %}
<button
class="btn btn-danger btn-sm remove-button"
class="btn btn-sm btn-outline-danger remove-button"
hx-post="{% url 'atlas:remove_case_from_collection' case.pk collection.pk %}"
hx-target="#collection-{{ collection.pk }}"
hx-swap="outerHTML"
@@ -1,7 +1,7 @@
<li id="collection-{{ collection.pk }}">
<a href="{% url 'atlas:collection_detail' pk=collection.pk %}">{{ collection.name }}</a>
{% if can_edit %}
<button class="btn btn-danger btn-sm remove-button"
<button class="btn btn-sm btn-outline-danger remove-button"
hx-post="{% url 'atlas:remove_case_from_collection' case.pk collection.pk %}"
hx-target="#collection-{{ collection.pk }}"
hx-swap="outerHTML"