Use button .tip in every table .actions

This commit is contained in:
Alice Gaudon 2020-07-30 10:58:18 +02:00
parent 041f52fd3e
commit fe722a1dee
3 changed files with 7 additions and 6 deletions

View File

@ -44,7 +44,7 @@
<button class="warning"
onclick="return confirm('Are you sure you want to set {{ email.email }} as your main address?');">
<i data-feather="refresh-ccw"></i> Set as main address
<i data-feather="refresh-ccw"></i> <span class="tip">Set as main address</span>
</button>
{{ macros.csrf(getCSRFToken) }}
</form>
@ -54,7 +54,7 @@
<button class="danger"
onclick="return confirm('Are you sure you want to delete {{ email.email }}?');">
<i data-feather="trash"></i> Remove
<i data-feather="trash"></i> <span class="tip">Remove</span>
</button>
{{ macros.csrf(getCSRFToken) }}
</form>
@ -101,7 +101,7 @@
<button class="danger"
onclick="return confirm('Are you sure you want to delete {{ identity.email }}?')">
<i data-feather="trash"></i> Delete
<i data-feather="trash"></i> <span class="tip">Delete</span>
</button>
{{ macros.csrf(getCSRFToken) }}

View File

@ -29,7 +29,7 @@
<input type="hidden" name="id" value="{{ identity.id }}">
<button class="danger" onclick="return confirm('Are you sure you want to delete {{ identity.email }}?')">
<i data-feather="trash"></i> Delete
<i data-feather="trash"></i> <span class="tip">Delete</span>
</button>
{{ macros.csrf(getCSRFToken) }}

View File

@ -42,8 +42,9 @@
<form action="{{ route('backend-remove-domain') }}" method="POST">
<input type="hidden" name="id" value="{{ domain.id }}">
<button class="danger" onclick="return confirm('Are you sure you want to delete {{ domain.name }}?')">
<i data-feather="trash"></i> Remove
<button class="danger"
onclick="return confirm('Are you sure you want to delete {{ domain.name }}?')">
<i data-feather="trash"></i> <span class="tip">Remove</span>
</button>
{{ macros.csrf(getCSRFToken) }}