Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Update signup.html #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions upload/styles/cb_28/layout/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@
<div class="clearfix signin-block">
<div class="account-holder">
<form name="login_form" method="post" action="" id="login_form" class="user-form">
<h2>{lang('Login')}</h2>
<h2>{lang('login')}</h2>
<div class="form-group">
{*<label for="login_username_sp">{lang code="Username"}</label>*}
<input type="text" id="login_username_sp" placeholder="{lang code='Type Username'}"
{*<label for="login_username_sp">{lang code="username"}</label>*}
<input type="text" id="login_username_sp" placeholder="{lang code='type_username'}"
class="form-control" name="username">
</div>

<div class="form-group">
{*<label for="login_password_sp">{lang code="Password"}</label>*}
<input type="password" id="login_password_sp" placeholder="{lang code='Type Password'}"
{*<label for="login_password_sp">{lang code="password"}</label>*}
<input type="password" id="login_password_sp" placeholder="{lang code='type_password'}"
class="form-control" name="password">
</div>

<div class="checkbox custom-elements form-group">
<label>
<input type="checkbox" name="remember_me" value="yes">
{lang code="Remember me"}
{lang code="remember_me"}
</label>
</div>

<input id="login_btn" type="submit" name="login" value="{lang('Login')}" class="btn btn-primary btn-lg btn-block">
<input id="login_btn" type="submit" name="login" value="{lang('login')}" class="btn btn-primary btn-lg btn-block">

<div class="clearfix links">
<a href="{$baseurl}/forgot.php">{lang code='Forgot Password?'}</a>
<a href="{$baseurl}/forgot.php?mode=recover_username">{lang code='Forgot Username?'}</a>
<a href="{$baseurl}/forgot.php">{lang code='forgot_password'}</a>
<a href="{$baseurl}/forgot.php?mode=recover_username">{lang code='forgot_username'}</a>
</div>
<input type="hidden" name="login" value="login"></input>
{if function_exists('show_all_btns')}
Expand All @@ -54,11 +54,11 @@ <h2>{lang('Login')}</h2>
{/if}
</form>
<div class="side-box">
<h2>{lang code='Create Account'}</h2>
<h2>{lang code='create_account'}</h2>
<div class="text-box">
<p>Join to start sharing videos and photos. It only takes a couple of minutes to create your free account</p>
</div>
<a class="btn btn-default btn-lg" href="{link name='signup'}">{lang code='Create Account'}</a>
<a class="btn btn-default btn-lg" href="{link name='signup'}">{lang code='create_account'}</a>
</div>
</div>
</div>
Expand Down Expand Up @@ -113,7 +113,6 @@ <h2>Signup!</h2>
{$field.sep=" "}
{/if}


{if $field.hint_before}
<span class="help-block">{$field.hint_before}</span>
{/if}
Expand Down Expand Up @@ -168,7 +167,7 @@ <h2>Signup!</h2>
</div>
{/if}

<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

External files should be loaded depending of the current website protocol
If the lib is loader like this from a HTTPS website, it will generate browser alerts in console and the HTTPS lock next to the url will display errors

<script>

$(document).ready(function(){
Expand Down Expand Up @@ -407,4 +406,4 @@ <h2>Signup!</h2>
width: 140px;
vertical-align: center;
}
</style>
</style>