Fixes on mobile signup form

This commit is contained in:
Neil Lalonde 2014-02-25 16:40:15 -05:00
parent 0b1d1ffcba
commit 8cbff3672f
2 changed files with 16 additions and 5 deletions

View File

@ -4,7 +4,7 @@
<form> <form>
<table> <table>
<tr class="input"> <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"> <td style="width:496px">
{{textField value=accountName id="new-account-name" autofocus="autofocus"}} {{textField value=accountName id="new-account-name" autofocus="autofocus"}}
&nbsp;{{inputTip validation=nameValidation}} &nbsp;{{inputTip validation=nameValidation}}
@ -16,7 +16,7 @@
</tr> </tr>
<tr class="input"> <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> <td>
{{input value=accountEmail id="new-account-email" disabled=emailValidated}} {{input value=accountEmail id="new-account-email" disabled=emailValidated}}
&nbsp;{{inputTip validation=emailValidation}} &nbsp;{{inputTip validation=emailValidation}}
@ -28,7 +28,7 @@
</tr> </tr>
<tr class="input"> <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> <td>
{{input value=accountUsername id="new-account-username" maxlength="15"}} {{input value=accountUsername id="new-account-username" maxlength="15"}}
&nbsp;{{inputTip validation=usernameValidation}} &nbsp;{{inputTip validation=usernameValidation}}
@ -41,7 +41,7 @@
{{#if passwordRequired}} {{#if passwordRequired}}
<tr class="input"> <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> <td>
{{input type="password" value=accountPassword id="new-account-password"}} {{input type="password" value=accountPassword id="new-account-password"}}
&nbsp;{{inputTip validation=passwordValidation}} &nbsp;{{inputTip validation=passwordValidation}}

View File

@ -26,6 +26,8 @@
textarea, input, select {font-size: 16px; clear: left; margin-top: 0;} textarea, input, select {font-size: 16px; clear: left; margin-top: 0;}
} }
a#new-account-link { white-space:nowrap; }
// Create account // Create account
#new-account-link { #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;} .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;
}
}
}