Add src/template/module/view/toast.pug
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
sora-ext 2025-03-04 17:24:35 +01:00
parent 9d7ff97f29
commit 5d04c8777b

View File

@ -0,0 +1,10 @@
template
.overlay.text-dark(v-if="toast.show" @click="")
.popup.bg-white(@click.stop)
.row
.col-auto.text-huge {{ toast.title }}
.row
.col-auto.text-medium {{ toast.desc }}
.row.align
button.button.bg-white(@click="toast-accept" v-if="toast.acceptText") {{ toast.acceptText }}
button.button.bg-white(@click="toast.show=false;" v-if="toast.cancelText") {{ toast.cancelText }}