antares/src/renderer/components/WorkspaceTabNewTableEmptySt...

35 lines
804 B
Vue
Raw Normal View History

2021-08-17 18:54:23 +02:00
<template>
<div class="column col-12 empty">
<p class="h6 empty-subtitle">
{{ t('message.thereAreNoTableFields') }}
2021-08-17 18:54:23 +02:00
</p>
<div class="empty-action">
<button class="btn btn-gray d-flex" @click="emit('new-field')">
2021-08-17 18:54:23 +02:00
<i class="mdi mdi-24px mdi-playlist-plus mr-2" />
{{ t('message.addNewField') }}
2021-08-17 18:54:23 +02:00
</button>
</div>
</div>
</template>
<script setup lang="ts">
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
const emit = defineEmits(['new-field']);
2021-08-17 18:54:23 +02:00
</script>
<style scoped>
.empty {
border-radius: 0;
background: transparent;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-left: auto;
margin-right: auto;
z-index: 9;
}
</style>