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.
49 lines
2.1 KiB
49 lines
2.1 KiB
7 years ago
|
<div class="container">
|
||
|
<div class="card card-login mx-auto mt-5">
|
||
7 years ago
|
<div class="card-header"><?=lang('Account.loginHeader')?></div>
|
||
7 years ago
|
<div class="card-body">
|
||
6 years ago
|
<?= form_open('account/login') ?>
|
||
7 years ago
|
<?if (isset($errors)):?>
|
||
|
<div class="alert alert-danger"><?=$errors?></div>
|
||
|
<?endif;?>
|
||
|
<div class="form-group">
|
||
|
<div class="form-label-group">
|
||
7 years ago
|
<?if ($useUsername):?>
|
||
|
<input type="text" name="username" id="inputUsername" class="form-control" placeholder="<?=lang('Account.loginLabelUsername')?>" required autofocus>
|
||
|
<label for="inputUsername"><?=lang('Account.loginLabelUsername')?></label>
|
||
|
<?else:?>
|
||
|
<input type="email" name="email" id="inputEmail" class="form-control" placeholder="<?=lang('Account.loginLabelEmail')?>" required autofocus>
|
||
|
<label for="inputEmail"><?=lang('Account.loginLabelEmail')?></label>
|
||
|
<?endif;?>
|
||
7 years ago
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<div class="form-label-group">
|
||
7 years ago
|
<input type="password" name="password" id="inputPassword" class="form-control" placeholder="<?=lang('Account.loginLabelPassword')?>" required>
|
||
|
<label for="inputPassword"><?=lang('Account.loginLabelPassword')?></label>
|
||
7 years ago
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<div class="checkbox">
|
||
|
<label>
|
||
7 years ago
|
<input type="checkbox" name="remember" value="true">
|
||
|
<?=lang('Account.loginLabelRemember')?>
|
||
7 years ago
|
</label>
|
||
|
</div>
|
||
|
</div>
|
||
7 years ago
|
<button class="btn btn-primary btn-block" type="submit"><?=lang('Account.loginLabelSubmit')?></button>
|
||
6 years ago
|
<?= form_close() ?>
|
||
7 years ago
|
</div>
|
||
|
<div class="card-footer">
|
||
|
<div class="row">
|
||
|
<div class="col-6">
|
||
|
<a class="d-block small" href="<?=site_url('account/remind_password')?>"><?=lang('Account.linkRemindPassword')?></a>
|
||
|
</div>
|
||
|
<div class="col-6 text-right">
|
||
|
<a class="d-block small" href="<?=site_url('account/register')?>"><?=lang('Account.linkRegister')?></a>
|
||
|
</div>
|
||
|
</div>
|
||
7 years ago
|
</div>
|
||
|
</div>
|
||
|
</div>
|