summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkSignupDialog.rules.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-04-20 10:11:48 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-04-20 10:11:48 +0900
commit7cc797062d970ebe298b9f8d73370fca8d218b6d (patch)
tree0e2579e9e09dd014d7b07928e83ac94f75730a88 /packages/frontend/src/components/MkSignupDialog.rules.vue
parenttweak MkSignupDialog.rules.vue (diff)
downloadsharkey-7cc797062d970ebe298b9f8d73370fca8d218b6d.tar.gz
sharkey-7cc797062d970ebe298b9f8d73370fca8d218b6d.tar.bz2
sharkey-7cc797062d970ebe298b9f8d73370fca8d218b6d.zip
tweak MkSignupDialog.rules.vue
Diffstat (limited to 'packages/frontend/src/components/MkSignupDialog.rules.vue')
-rw-r--r--packages/frontend/src/components/MkSignupDialog.rules.vue10
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkSignupDialog.rules.vue b/packages/frontend/src/components/MkSignupDialog.rules.vue
index 3b39b72d37..ed179ffdeb 100644
--- a/packages/frontend/src/components/MkSignupDialog.rules.vue
+++ b/packages/frontend/src/components/MkSignupDialog.rules.vue
@@ -36,7 +36,12 @@
<MkSwitch v-model="agreeNote" style="margin-top: 16px;" data-cy-signup-rules-notes-agree>{{ i18n.ts.agree }}</MkSwitch>
</MkFolder>
- <MkButton primary rounded gradate style="margin: 0 auto;" :disabled="!agreed" data-cy-signup-rules-continue @click="emit('accept')">{{ i18n.ts.continue }} <i class="ti ti-arrow-right"></i></MkButton>
+ <div v-if="!agreed" style="text-align: center;">{{ i18n.ts.pleaseAgreeAllToContinue }}</div>
+
+ <div class="_buttonsCenter">
+ <MkButton inline rounded @click="emit('cancel')">{{ i18n.ts.cancel }}</MkButton>
+ <MkButton inline primary rounded gradate :disabled="!agreed" data-cy-signup-rules-continue @click="emit('done')">{{ i18n.ts.continue }} <i class="ti ti-arrow-right"></i></MkButton>
+ </div>
</div>
</MkSpacer>
</div>
@@ -62,7 +67,8 @@ const agreed = computed(() => {
});
const emit = defineEmits<{
- (ev: 'accept'): void;
+ (ev: 'cancel'): void;
+ (ev: 'done'): void;
}>();
</script>