Commit 244f92ee authored by Janis Streib's avatar Janis Streib 🦉
Browse files

ADD: tootips for trashcans (closes #221)

parent b1e83cc3
Pipeline #157330 passed with stages
in 12 minutes and 15 seconds
......@@ -32,13 +32,17 @@
</template>
<b-dropdown-item @click="editFQDN(fqdn)">FQDN Bearbeiten</b-dropdown-item>
</b-dropdown>
<b-dropdown @click="deleteItem(data.item, false)" split variant="outline-danger">
<b-dropdown :id="'button-delete-record-'+data.item.fqdn + '_' + record_type + '_' + data.item.data" @click="deleteItem(data.item, false)" split variant="outline-danger">
<template #button-content>
<font-awesome-icon :icon="['far', 'trash-alt']"></font-awesome-icon>
</template>
<b-dropdown-item @click="deleteItem(data.item, true)">FQDN und alle referenzierende Records mitlöschen
</b-dropdown-item>
</b-dropdown>
<b-tooltip :target="'button-delete-record-' + data.item.fqdn + '_' + record_type + '_' + data.item.data" triggers="hover"
variant="danger" placement="bottom">
Record löschen
</b-tooltip>
<b-tooltip :target="'button-edit-record-' + data.item.fqdn + '_' + record_type + '_' + data.item.data" triggers="hover"
variant="primary" placement="left">
Record bearbeiten
......
......@@ -351,7 +351,9 @@
@click="editFQDN(fqdns[item.fqdn])">FQDN Bearbeiten
</b-dropdown-item>
</b-dropdown>
<b-dropdown @click="deleteItem(item, false)" split variant="outline-danger">
<b-dropdown @click="deleteItem(item, false)"
:id="'button-delete-record-' + item.fqdn + '_' + record_type + '_' + item.data"
split variant="outline-danger">
<template #button-content>
<font-awesome-icon :icon="['far', 'trash-alt']"></font-awesome-icon>
</template>
......@@ -361,6 +363,12 @@
</b-dropdown-item>
</b-dropdown>
</b-button-group>
<b-tooltip
:target="'button-delete-record-' + item.fqdn + '_' + record_type + '_' + item.data"
triggers="hover"
variant="danger" placement="bottom">
Record löschen
</b-tooltip>
<b-tooltip
:target="'button-edit-record-' + item.fqdn + '_' + record_type + '_' + item.data"
triggers="hover"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment