From e46356051316d621d257cda66d7d3f2458d3dc30 Mon Sep 17 00:00:00 2001 From: Tai Sakuma Date: Thu, 29 Jun 2023 14:34:53 -0400 Subject: [PATCH] add a dialog to confirm the run --- components.d.ts | 2 ++ src/components/RunCtrl.vue | 34 ++++++++++++++++++++++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/components.d.ts b/components.d.ts index 0c9a7c1..c1f783e 100644 --- a/components.d.ts +++ b/components.d.ts @@ -30,6 +30,7 @@ declare module '@vue/runtime-core' { VBreadcrumbs: typeof import('vuetify/lib')['VBreadcrumbs'] VBtn: typeof import('vuetify/lib')['VBtn'] VCard: typeof import('vuetify/lib')['VCard'] + VCardAction: typeof import('vuetify/lib')['VCardAction'] VCardActions: typeof import('vuetify/lib')['VCardActions'] VCardSubtitle: typeof import('vuetify/lib')['VCardSubtitle'] VCardText: typeof import('vuetify/lib')['VCardText'] @@ -38,6 +39,7 @@ declare module '@vue/runtime-core' { VCol: typeof import('vuetify/lib')['VCol'] VContainer: typeof import('vuetify/lib')['VContainer'] VDataTable: typeof import('vuetify/lib')['VDataTable'] + VDialog: typeof import('vuetify/lib')['VDialog'] VDivider: typeof import('vuetify/lib')['VDivider'] VIcon: typeof import('vuetify/lib')['VIcon'] VList: typeof import('vuetify/lib')['VList'] diff --git a/src/components/RunCtrl.vue b/src/components/RunCtrl.vue index d67e6ff..83f4a83 100644 --- a/src/components/RunCtrl.vue +++ b/src/components/RunCtrl.vue @@ -62,11 +62,24 @@ + + + Start running the script? + Are you sure to start? + + + Cancel + + + Start + + +