Commit 9e126c8a authored by luciash's avatar luciash

[FIX] make the registration form better responsive - thanks Patrick

parent 77873991
......@@ -14,7 +14,7 @@
<div class="antibot2">
{/if*}
<div class="form-group">
<div class="col-md-4 col-md-offset-4">
<div class="col-md-4 col-sm-6 text-center col-md-offset-4 col-sm-offset-3">
{if $captchalib->type eq 'recaptcha'}
{$captchalib->render()}
{else}
......@@ -26,7 +26,12 @@
{$captchalib->render()}
{/if}
{/if}
</div>
</div>
<div class="col-md-4 col-sm-3 text-center">
{if $captchalib->type eq 'default'}
{button _id='captchaRegenerate' _class='' href='#antibot' _text='{tr}Try another code{/tr} <span class="glyphicon glyphicon-refresh"></span>' _onclick="generateCaptcha()"}
{/if}
</div>
</div>
{*if $antibot_table ne 'y'}
</td>
......@@ -42,7 +47,7 @@
<div class="antibot3">
{/if*}
<div class="form-group">
<label class="col-md-4 control-label" for="antibotcode">{tr}Enter the code you see above:{/tr}{if $showmandatory eq 'y'}<span class="attention"> *</span>{/if}</label>
<label class="col-md-4 col-sm-3 control-label" for="antibotcode">{tr}Enter the code you see above:{/tr}{if $showmandatory eq 'y'}<span class="attention"> *</span>{/if}</label>
{*if $antibot_table ne 'y'}
</td>
<td{if !empty($td_style)} class="{$td_style}"{/if}>
......@@ -50,14 +55,9 @@
</div>
<div class="antibot4">
{/if*}
<div class="col-md-4">
<div class="col-md-4 col-sm-6">
<input class="form-control" type="text" maxlength="8" size="22" name="captcha[input]" id="antibotcode">
</div>
<div class="col-md-2">
{if $captchalib->type eq 'default'}
{button _id='captchaRegenerate' href='#antibot' _text="{tr}Try another code{/tr}" _onclick="generateCaptcha()"}
{/if}
</div>
</div>
{*if $antibot_table ne 'y'}
</td>
......
......@@ -5,9 +5,9 @@
{else}
{if $prefs.login_is_email ne 'y'}
<div class="form-group">
<label class="col-md-4 control-label" for="email">{tr}Email:{/tr}</label>
<label class="col-md-4 col-sm-3 control-label" for="email">{tr}Email:{/tr}</label>
{if $trackerEditFormId}&nbsp;<strong class='mandatory_star'>*</strong>&nbsp;{/if}
<div class="col-md-4">
<div class="col-md-4 col-sm-6">
<input class="form-control" type="text" id="email" name="email" value="{if !empty($smarty.post.email)}{$smarty.post.email}{/if}">
{if $prefs.validateUsers eq 'y' and $prefs.validateEmail ne 'y'}
<p class="help-block highlight">
......
......@@ -4,9 +4,9 @@
&nbsp;<strong class='mandatory_star'>*</strong>
{else}
<div class="form-group">
<label class="col-md-4 control-label" for="name">{if $prefs.login_is_email eq 'y'}{tr}Email:{/tr}{else}{tr}Username:{/tr}{/if}</label>
<label class="col-md-4 col-sm-3 control-label" for="name">{if $prefs.login_is_email eq 'y'}{tr}Email:{/tr}{else}{tr}Username:{/tr}{/if}</label>
{if $trackerEditFormId}&nbsp;<strong class='mandatory_star'>*</strong>&nbsp;{/if}
<div class="col-md-4">
<div class="col-md-4 col-sm-6">
<input class="form-control" type="text" name="name" id="name" value="{if !empty($smarty.post.name)}{$smarty.post.name}{/if}">
{if $prefs.login_is_email eq 'y'}
<br><em>{tr}Use your email as login{/tr}</em>.
......
......@@ -5,9 +5,9 @@
{else}
{if $openid_associate neq 'y'}
<div class="form-group">
<label class="col-md-4 control-label" for="pass1">{tr}Password:{/tr}</label>
<label class="col-md-4 col-sm-3 control-label" for="pass1">{tr}Password:{/tr}</label>
{if $trackerEditFormId}&nbsp;<strong class='mandatory_star'>*</strong>&nbsp;{/if}
<div class="col-md-4">
<div class="col-md-4 col-sm-6">
<input class="form-control" id='pass1' type="password" name="pass" onkeypress="regCapsLock(event)" value="{if !empty($smarty.post.pass)}{$smarty.post.pass}{/if}"
onkeyup="runPassword(this.value, 'mypassword');{if $prefs.feature_jquery_validation neq 'y' && !$userTrackerData}checkPasswordsMatch('#pass2', '#pass1', '#mypassword2_text');{/if}">
<div style="margin-left:5px;">
......
......@@ -5,9 +5,9 @@
{else}
{if $openid_associate neq 'y'}
<div class="form-group">
<label class="col-md-4 control-label" for="pass2">{tr}Repeat password:{/tr}</label>
<label class="col-md-4 col-sm-3 control-label" for="pass2">{tr}Repeat password:{/tr}</label>
{if $trackerEditFormId}&nbsp;<strong class='mandatory_star'>*</strong>&nbsp;{/if}
<div class="col-md-4">
<div class="col-md-4 col-sm-6">
<input class="form-control" id='pass2' type="password" name="passAgain" onkeypress="regCapsLock(event)" value="{if !empty($smarty.post.passAgain)}{$smarty.post.passAgain}{/if}"
onkeyup="{if $prefs.feature_jquery_validation neq 'y' && !$userTrackerData}checkPasswordsMatch('#pass2', '#pass1', '#mypassword2_text');{/if}">
<div style="float:right;margin-left:5px;">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment