changes to state definitions list

This commit is contained in:
Thomas Nahuel Rusiecki 2024-12-13 16:30:38 -03:00
parent 883db4ea09
commit 4b0638c2b9

View file

@ -29,7 +29,7 @@
</thead> </thead>
<tbody id="sortable_list"> <tbody id="sortable_list">
{% for state_definition in state_definitions %} {% for state_definition in state_definitions %}
<tr data-lookup="{{ state_definition.id }}" class="border-bottom"" style="cursor: pointer;"> <tr data-lookup="{{ state_definition.id }}" style="cursor: pointer;">
<td> <td>
<i class="bi bi-grip-vertical text-muted me-3" aria-hidden="true"></i> <i class="bi bi-grip-vertical text-muted me-3" aria-hidden="true"></i>
</td> </td>
@ -37,7 +37,7 @@
{{ state_definition.order }} {{ state_definition.order }}
</td> </td>
<td>{{ state_definition.state }}</td> <td>{{ state_definition.state }}</td>
<td class="text-end"> <td class="text-end d-flex">
<button type="button" class="btn btn-primary btn-sm me-1" data-bs-toggle="modal" data-bs-target="#editStateModal{{ state_definition.id }}"> <button type="button" class="btn btn-primary btn-sm me-1" data-bs-toggle="modal" data-bs-target="#editStateModal{{ state_definition.id }}">
<i class="bi bi-pencil"></i> <i class="bi bi-pencil"></i>
</button> </button>
@ -139,7 +139,7 @@
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<p class="text-danger fw-semibold h6">{% trans "Are you sure you want to delete this state definition?" %}</p> <p class="text-danger fw-semibold h6 pb-3">{% trans "Are you sure you want to delete this state definition?" %}</p>
<p class="text-muted">{% trans "This action cannot be undone and any changes in order will not be saved." %}</p> <p class="text-muted">{% trans "This action cannot be undone and any changes in order will not be saved." %}</p>
<div class="d-flex align-items-center border rounded p-3 mt-3"> <div class="d-flex align-items-center border rounded p-3 mt-3">