summaryrefslogtreecommitdiff
path: root/src/web/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-10 19:57:37 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-10 19:57:37 +0900
commit7664354187a3847484f2a635e2eecd8a5be0b9f1 (patch)
tree16c8ceeb29e7798d0362aecac0e8c4cdf61b61fa /src/web/app/common
parentwip (diff)
downloadsharkey-7664354187a3847484f2a635e2eecd8a5be0b9f1.tar.gz
sharkey-7664354187a3847484f2a635e2eecd8a5be0b9f1.tar.bz2
sharkey-7664354187a3847484f2a635e2eecd8a5be0b9f1.zip
wip
Diffstat (limited to 'src/web/app/common')
-rw-r--r--src/web/app/common/views/components/signup.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/web/app/common/views/components/signup.vue b/src/web/app/common/views/components/signup.vue
index 723555cdc4..5bb4647854 100644
--- a/src/web/app/common/views/components/signup.vue
+++ b/src/web/app/common/views/components/signup.vue
@@ -1,5 +1,5 @@
<template>
-<form class="form" @submit.prevent="onSubmit" autocomplete="off">
+<form class="mk-signup" @submit.prevent="onSubmit" autocomplete="off">
<label class="username">
<p class="caption">%fa:at%%i18n:common.tags.mk-signup.username%</p>
<input v-model="username" type="text" pattern="^[a-zA-Z0-9-]{3,20}$" placeholder="a~z、A~Z、0~9、-" autocomplete="off" required @keyup="onChangeUsername"/>
@@ -24,7 +24,7 @@
</label>
<label class="retype-password">
<p class="caption">%fa:lock%%i18n:common.tags.mk-signup.password%(%i18n:common.tags.mk-signup.retype%)</p>
- <input v-model="passwordRetype" type="password" placeholder="%i18n:common.tags.mk-signup.retype-placeholder%" autocomplete="off" required @keyup="onChangePasswordRetype"/>
+ <input v-model="retypedPassword" type="password" placeholder="%i18n:common.tags.mk-signup.retype-placeholder%" autocomplete="off" required @keyup="onChangePasswordRetype"/>
<p class="info" v-if="passwordRetypeState == 'match'" style="color:#3CB7B5">%fa:check .fw%%i18n:common.tags.mk-signup.password-matched%</p>
<p class="info" v-if="passwordRetypeState == 'not-match'" style="color:#FF1161">%fa:exclamation-triangle .fw%%i18n:common.tags.mk-signup.password-not-matched%</p>
</label>
@@ -145,12 +145,12 @@ export default Vue.extend({
</script>
<style lang="stylus" scoped>
-.form
+.mk-signup
min-width 302px
label
display block
- margin 16px 0
+ margin 0 0 16px 0
> .caption
margin 0 0 4px 0
@@ -260,7 +260,7 @@ export default Vue.extend({
color #555
button
- margin 0 0 32px 0
+ margin 0
padding 16px
width 100%
font-size 1em