From f127c79557b52783284dbe4495255150991c40e3 Mon Sep 17 00:00:00 2001 From: Pranav C Balan Date: Wed, 9 Jun 2021 19:19:39 +0530 Subject: [PATCH] feat(gui): add confirm dialog for project operations Added confirm dialog for project delete,start,restart and stop operations closes #255 Signed-off-by: Pranav C Balan --- packages/nc-gui/pages/projects/index.vue | 937 ++++++++++++----------- 1 file changed, 486 insertions(+), 451 deletions(-) diff --git a/packages/nc-gui/pages/projects/index.vue b/packages/nc-gui/pages/projects/index.vue index a6018317a8..7edbccd118 100644 --- a/packages/nc-gui/pages/projects/index.vue +++ b/packages/nc-gui/pages/projects/index.vue @@ -36,7 +36,8 @@ @click="projectsLoad" v-bind:tooltip="$t('home.reload_projects_tooltip')" > - mdi-refresh   @@ -125,20 +126,21 @@ {{ - $t('home.create_new_project_button.subtext_1') - }} + $t('home.create_new_project_button.subtext_1') + }} {{ - $t('home.create_new_project_button.subtext_1_tooltip') - }} + $t('home.create_new_project_button.subtext_1_tooltip') + }} @@ -163,13 +165,14 @@ {{ - $t('home.create_new_project_button.subtext_2_tooltip') - }} + $t('home.create_new_project_button.subtext_2_tooltip') + }} @@ -243,8 +246,8 @@ {{ - props.item.title - }} + props.item.title + }}
mdi-stop-circle-outline + >mdi-stop-circle-outline mdi-loading mdi-spin + >mdi-loading mdi-spin @@ -330,8 +334,8 @@ {{ - $t('home.project_verticial_option_1') - }} + $t('home.project_verticial_option_1') + }} {{ - $t('home.project_verticial_option_2') - }} + $t('home.project_verticial_option_2') + }} {{ - $t('home.project_verticial_option_3') - }} + $t('home.project_verticial_option_3') + }} @@ -374,7 +378,7 @@ :value="true" color="error" icon="warning" - >{{ $t('home.search.no_result', { search }) }} + >{{ $t('home.search.no_result', {search}) }} @@ -435,7 +439,8 @@ @click="onCreateProject" > - mdi-lightbulb-on   {{ $t('home.create_new_project_button.text') }} @@ -454,7 +459,7 @@ align-start " > - + @@ -507,13 +512,15 @@ > mdi-calendar-monthmdi-calendar-month + {{ - $t('home.show_community_message_2') - }} + $t('home.show_community_message_2') + }} + @@ -522,8 +529,9 @@ {{ - $t('home.show_community_message_3') - }} + $t('home.show_community_message_3') + }} + @@ -532,8 +540,9 @@ {{ - $t('home.show_community_message_4') - }} + $t('home.show_community_message_4') + }} +
@@ -558,479 +567,505 @@ \ No newline at end of file +-->