You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

59 lines
2.1 KiB

<div class="well well-sm">
{if isset($error) && $error != ''}
<div class="alert alert-danger">{$error}</div>
{/if}
{if isset($notice) && $notice != ''}
<div class="alert alert-info">{$notice}</div>
{/if}
<div class="login-box">
<div class="login-logo">
<a href="{$serverroot}"><b>{$site->title}</b></a>
</div><!-- /.login-logo -->
<div class="login-box-body">
<p class="login-box-msg">Please sign in to access the site</p>
<form action="login" method="post">
{if isset($redirect)}
<input type="hidden" name="redirect" value="{$redirect|escape:"htmlall"}"/>
{/if}
<div class="form-group has-feedback">
<input id="username" name="username" type="text" class="form-control" placeholder="Username"/>
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input id="password" name="password" type="password" class="form-control" placeholder="Password"/>
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="row">
<div class="col-xs-8">
<div class="checkbox icheck">
<label>
<input id="rememberme" {if isset($rememberme) && $rememberme == 1}checked="checked"{/if}
name="rememberme" type="checkbox"> Remember Me
</label>
<hr>
{$page->smarty->fetch('captcha.tpl')}
</div>
</div><!-- /.col -->
<div class="col-xs-4">
<button type="submit" class="btn btn-primary btn-block btn-flat">Sign In</button>
</div><!-- /.col -->
</div>
</form>
<a href="{$smarty.const.WWW_TOP}/forgottenpassword" class="text-center">I forgot my password</a><br>
<a href="{$smarty.const.WWW_TOP}/register" class="text-center">Register a new membership</a>
<!-- iCheck -->
<script src="{$smarty.const.WWW_THEMES}/shared/assets/icheck/icheck.min.js" type="text/javascript"></script>
<script>
$(function () {
$('input').iCheck({
checkboxClass: 'icheckbox_flat-green',
radioClass: 'iradio_flat-green',
increaseArea: '20%' // optional
});
});
</script>
</div>
</div>
</div>