Browse Source

enhancement: add tooltip

pull/1931/head
Wing-Kam Wong 3 years ago
parent
commit
26205c1d9a
  1. 23
      packages/nc-gui/components/templates/editor.vue

23
packages/nc-gui/components/templates/editor.vue

@ -118,15 +118,24 @@
</span>
<v-spacer />
<v-tooltip
bottom
>
<template #activator="{ on }">
<v-icon
v-if="!viewMode"
class="flex-grow-0 mr-2"
small
color="grey"
@click.stop="deleteTable(i)"
v-on="on"
>
mdi-delete-outline
</v-icon>
</template>
<!-- TODO: i18n -->
<span>Delete Table</span>
</v-tooltip>
</v-expansion-panel-header>
<v-expansion-panel-content>
<!-- <v-toolbar>
@ -486,6 +495,10 @@
"
/>
<td style="max-width: 50px; width: 50px">
<v-tooltip
bottom
>
<template #activator="{ on }">
<v-icon
v-if="!viewMode"
class="flex-grow-0"
@ -494,17 +507,17 @@
@click.stop="
deleteTableColumn(i, j, col, table)
"
v-on="on"
>
mdi-delete-outline
</v-icon>
</template>
<!-- TODO: i18n -->
<span>Delete Column</span>
</v-tooltip>
</td>
</template>
</tr>
<!-- <tr>-->
<!-- <td colspan='4' class='text-center pa-2'>-->
<!-- </td>-->
<!-- </tr>-->
</tbody>
</v-simple-table>

Loading…
Cancel
Save