Refactor button styles for collection management to ensure consistent appearance across templates
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user