From 5d04c8777ba8a5afd74c456ea154a78a04936cab Mon Sep 17 00:00:00 2001 From: sora-ext Date: Tue, 4 Mar 2025 17:24:35 +0100 Subject: [PATCH] Add src/template/module/view/toast.pug --- src/template/module/view/toast.pug | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/template/module/view/toast.pug diff --git a/src/template/module/view/toast.pug b/src/template/module/view/toast.pug new file mode 100644 index 0000000..57279d6 --- /dev/null +++ b/src/template/module/view/toast.pug @@ -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 }} \ No newline at end of file