[CHANGE] Using the same FA icon for delete/remove

`<i class="fa-solid fa-trash-can"></i>`
This commit is contained in:
Peter Pfeufer 2023-12-10 13:15:26 +01:00
parent eaedcd5bb7
commit 9a62c729eb
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27
9 changed files with 11 additions and 11 deletions

View File

@ -20,7 +20,7 @@
<tr> <tr>
<td style="white-space:initial;">{% for s in t.scopes.all %}<span class="badge bg-secondary">{{ s.name }}</span>{% endfor %}</td> <td style="white-space:initial;">{% for s in t.scopes.all %}<span class="badge bg-secondary">{{ s.name }}</span>{% endfor %}</td>
<td nowrap class="text-end"> <td nowrap class="text-end">
<a href="{% url 'authentication:token_delete' t.id %}" class="btn btn-danger"><i class="fas fa-trash"></i></a> <a href="{% url 'authentication:token_delete' t.id %}" class="btn btn-danger"><i class="fa-solid fa-trash-can"></i></a>
<a href="{% url 'authentication:token_refresh' t.id %}" class="btn btn-success"><i class="fas fa-sync-alt"></i></a> <a href="{% url 'authentication:token_refresh' t.id %}" class="btn btn-success"><i class="fas fa-sync-alt"></i></a>
</td> </td>
<td>{{ t.character_name }}</td> <td>{{ t.character_name }}</td>

View File

@ -55,7 +55,7 @@
<td class="text-center"> <td class="text-center">
<form> <form>
<button type="submit" class="btn btn-warning" name="removechar" value="{{ fat.character.character_id }}"> <button type="submit" class="btn btn-warning" name="removechar" value="{{ fat.character.character_id }}">
<i class="fa-solid fa-trash fa-fw"></i> <i class="fa-solid fa-trash-can fa-fw"></i>
</button> </button>
</form> </form>
</td> </td>

View File

@ -58,7 +58,7 @@
{% if personal_app.approved == None %} {% if personal_app.approved == None %}
<a href="{% url 'hrapplications:personal_removal' personal_app.id %}" class="btn btn-danger"> <a href="{% url 'hrapplications:personal_removal' personal_app.id %}" class="btn btn-danger">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-trash-can"></i>
</a> </a>
{% endif %} {% endif %}
</td> </td>
@ -194,7 +194,7 @@
{% if perms.hrapplications.delete_application %} {% if perms.hrapplications.delete_application %}
<a href="{% url 'hrapplications:remove' app.id %}" class="btn btn-danger"> <a href="{% url 'hrapplications:remove' app.id %}" class="btn btn-danger">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-trash-can"></i>
</a> </a>
{% endif %} {% endif %}
</td> </td>

View File

@ -33,7 +33,7 @@
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="{% url 'notifications:delete_all_read' %}" class="nav-link" title="{% translate 'Delete all read notifications' %}"> <a href="{% url 'notifications:delete_all_read' %}" class="nav-link" title="{% translate 'Delete all read notifications' %}">
<i class="fas fa-trash"></i> <i class="fa-solid fa-trash-can"></i>
</a> </a>
</li> </li>
{% endblock %} {% endblock %}

View File

@ -16,7 +16,7 @@
<span class="fas fa-eye"></span> <span class="fas fa-eye"></span>
</a> </a>
<a href="{% url 'notifications:remove' notif.id %}" class="btn btn-danger btn-sm" title="Remove"> <a href="{% url 'notifications:remove' notif.id %}" class="btn btn-danger btn-sm" title="Remove">
<span class="fas fa-trash"></span> <span class="fa-solid fa-trash-can"></span>
</a> </a>
</td> </td>
</tr> </tr>

View File

@ -46,7 +46,7 @@
{# <td>{{ ops.eve_character }}</td>#} {# <td>{{ ops.eve_character }}</td>#}
<td class="text-end"> <td class="text-end">
<a href="{% url 'optimer:remove' ops.id %}" class="btn btn-danger"> <a href="{% url 'optimer:remove' ops.id %}" class="btn btn-danger">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-trash-can"></i>
</a> </a>
<a href="{% url 'optimer:edit' ops.id %}" class="btn btn-info"> <a href="{% url 'optimer:edit' ops.id %}" class="btn btn-info">

View File

@ -50,7 +50,7 @@
</button> </button>
<button type="submit" title="Remove" onclick="return confirm('{% translate "Are you sure you want to delete SRP requests?" %}')" class="btn btn-danger btn-sm m-1" formaction="{% url 'srp:request_remove' %}"> <button type="submit" title="Remove" onclick="return confirm('{% translate "Are you sure you want to delete SRP requests?" %}')" class="btn btn-danger btn-sm m-1" formaction="{% url 'srp:request_remove' %}">
<i class="fa-solid fa-trash-alt"></i> <i class="fa-solid fa-trash-can"></i>
</button> </button>
{% endif %} {% endif %}
</div> </div>
@ -141,7 +141,7 @@ ESC to cancel{% endblocktranslate %}" id="blah"></i></th>
</button> </button>
<button type="submit" title="Remove" onclick="return confirm('{% translate "Are you sure you want to delete SRP requests?" %}')" class="btn btn-danger btn-sm m-1" formaction="{% url 'srp:request_remove' %}"> <button type="submit" title="Remove" onclick="return confirm('{% translate "Are you sure you want to delete SRP requests?" %}')" class="btn btn-danger btn-sm m-1" formaction="{% url 'srp:request_remove' %}">
<i class="fa-solid fa-trash-alt"></i> <i class="fa-solid fa-trash-can"></i>
</button> </button>
{% endif %} {% endif %}
</div> </div>

View File

@ -104,7 +104,7 @@
</a> </a>
<a href="{% url 'srp:remove' srpfleet.id %}" onclick="return confirm('{% translate "Are you sure you want to delete this SRP code and its contents?" %}')" class="btn btn-danger btn-sm m-1" title="Remove"> <a href="{% url 'srp:remove' srpfleet.id %}" onclick="return confirm('{% translate "Are you sure you want to delete this SRP code and its contents?" %}')" class="btn btn-danger btn-sm m-1" title="Remove">
<i class="fa-solid fa-trash fa-fw"></i> <i class="fa-solid fa-trash-can fa-fw"></i>
</a> </a>
{% if srpfleet.fleet_srp_code %} {% if srpfleet.fleet_srp_code %}

View File

@ -190,7 +190,7 @@
{% if perms.auth.timer_management %} {% if perms.auth.timer_management %}
<td class="text-center"> <td class="text-center">
<a href="{% url 'timerboard:delete' timer.id %}" class="btn btn-danger"> <a href="{% url 'timerboard:delete' timer.id %}" class="btn btn-danger">
<i class="fa-solid fa-trash fa-fw"></i> <i class="fa-solid fa-trash-can fa-fw"></i>
</a> </a>
<a href="{% url 'timerboard:edit' timer.id %}" class="btn btn-info"> <a href="{% url 'timerboard:edit' timer.id %}" class="btn btn-info">
<i class="fa-solid fa-pen-to-square fa-fw"></i> <i class="fa-solid fa-pen-to-square fa-fw"></i>