Files
OTM/src/template/module/view/toast.pug
sora 803dd84858
All checks were successful
continuous-integration/drone/push Build is passing
dev merge (#163)
Co-authored-by: soraefir
Co-authored-by: sora-ext
Reviewed-on: #163
2025-03-05 00:11:11 +01:00

14 lines
572 B
Plaintext

template
.overlay.text-dark(v-if="toast.show" @click="")
.popup.bg-white(@click.stop)
.row
.col-auto.text-huge {{ toast.title }}
.row(v-if="toast.desc")
.col-auto.text-medium {{ toast.desc }}
.row(v-if="toast.special")
.col-auto.text-medium
.input
input(v-model="toast.special")
.row.align
button.button.bg-white(@click="toast.func" v-if="toast.acceptText") {{ toast.acceptText }}
button.button.bg-white(@click="toast.show=false;" v-if="toast.cancelText") {{ toast.cancelText }}