mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
Fixes on mobile signup form
This commit is contained in:
parent
0b1d1ffcba
commit
8cbff3672f
@ -4,7 +4,7 @@
|
||||
<form>
|
||||
<table>
|
||||
<tr class="input">
|
||||
<td style="width:80px"><label for='new-account-name'>{{i18n user.name.title}}</label></td>
|
||||
<td style="width:80px" class="label"><label for='new-account-name'>{{i18n user.name.title}}</label></td>
|
||||
<td style="width:496px">
|
||||
{{textField value=accountName id="new-account-name" autofocus="autofocus"}}
|
||||
{{inputTip validation=nameValidation}}
|
||||
@ -16,7 +16,7 @@
|
||||
</tr>
|
||||
|
||||
<tr class="input">
|
||||
<td><label for='new-account-email'>{{i18n user.email.title}}</label></td>
|
||||
<td class="label"><label for='new-account-email'>{{i18n user.email.title}}</label></td>
|
||||
<td>
|
||||
{{input value=accountEmail id="new-account-email" disabled=emailValidated}}
|
||||
{{inputTip validation=emailValidation}}
|
||||
@ -28,7 +28,7 @@
|
||||
</tr>
|
||||
|
||||
<tr class="input">
|
||||
<td><label for='new-account-username'>{{i18n user.username.title}}</label></td>
|
||||
<td class="label"><label for='new-account-username'>{{i18n user.username.title}}</label></td>
|
||||
<td>
|
||||
{{input value=accountUsername id="new-account-username" maxlength="15"}}
|
||||
{{inputTip validation=usernameValidation}}
|
||||
@ -41,7 +41,7 @@
|
||||
|
||||
{{#if passwordRequired}}
|
||||
<tr class="input">
|
||||
<td><label for='new-account-password'>{{i18n user.password.title}}</label></td>
|
||||
<td class="label"><label for='new-account-password'>{{i18n user.password.title}}</label></td>
|
||||
<td>
|
||||
{{input type="password" value=accountPassword id="new-account-password"}}
|
||||
{{inputTip validation=passwordValidation}}
|
||||
|
@ -26,6 +26,8 @@
|
||||
textarea, input, select {font-size: 16px; clear: left; margin-top: 0;}
|
||||
}
|
||||
|
||||
a#new-account-link { white-space:nowrap; }
|
||||
|
||||
// Create account
|
||||
|
||||
#new-account-link {
|
||||
@ -36,4 +38,13 @@ a#forgot-password-link {clear: left; float: left; }
|
||||
|
||||
.btn-primary {margin-bottom: 10px; font-size: 15; clear: left; float: left;}
|
||||
|
||||
a#new-account-link { white-space:nowrap; }
|
||||
.create-account .modal-body {
|
||||
input[type=text], input[type=password] {
|
||||
display: inline-block;
|
||||
}
|
||||
tr.input {
|
||||
td.label {
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user