0
0
Fork 0

change action to st-actions

This commit is contained in:
Javier Segarra 2024-05-06 08:41:12 +02:00
parent f85665b271
commit 62bf968b0b
1 changed files with 30 additions and 32 deletions

View File

@ -202,42 +202,40 @@ onMounted(async () => {
/> />
<template v-if="stateStore.isHeaderMounted()"> <template v-if="stateStore.isHeaderMounted()">
<Teleport to="#st-data"> <Teleport to="#st-data">
<div class="q-py-sm flex items-center"> <div class="q-pa-md q-mr-lg q-ma-xs" style="border: 2px solid #222">
<div class="q-pa-md q-mr-lg" style="border: 2px solid #222"> <QCardSection horizontal>
<QCardSection horizontal> <span class="text-weight-bold text-subtitle1 text-center full-width">
<span {{ t('shelvings.total') }}
class="text-weight-bold text-subtitle1 text-center full-width" </span>
> </QCardSection>
{{ t('shelvings.total') }} <QCardSection class="column items-center" horizontal>
<div>
<span class="details-label"
>{{ t('shelvings.totalLabels') }}
</span> </span>
</QCardSection> <span>: {{ totalLabels }}</span>
<QCardSection class="column items-center" horizontal> </div></QCardSection
<div>
<span class="details-label"
>{{ t('shelvings.totalLabels') }}
</span>
<span>: {{ totalLabels }}</span>
</div></QCardSection
>
</div>
<QBtn
color="primary"
icon="delete"
:disabled="!rowsSelected.length"
@click="
openConfirmationModal(
t('shelvings.removeConfirmTitle'),
t('shelvings.removeConfirmSubtitle'),
removeLines
)
"
> >
<QTooltip>
{{ t('shelvings.removeLines') }}
</QTooltip>
</QBtn>
</div> </div>
</Teleport> </Teleport>
<Teleport to="#st-actions">
<QBtn
color="primary"
icon="delete"
:disabled="!rowsSelected.length"
@click="
openConfirmationModal(
t('shelvings.removeConfirmTitle'),
t('shelvings.removeConfirmSubtitle'),
removeLines
)
"
>
<QTooltip>
{{ t('shelvings.removeLines') }}
</QTooltip>
</QBtn>
</Teleport>
</template> </template>
<QPage class="column items-center q-pa-md"> <QPage class="column items-center q-pa-md">