49 lines
1.5 KiB
PHP
49 lines
1.5 KiB
PHP
<?php extend('layouts/account_layout') ?>
|
|
|
|
<?php section('content') ?>
|
|
|
|
<h2><?= lang('backend_section') ?></h2>
|
|
|
|
<p><?= lang('you_need_to_login') ?></p>
|
|
|
|
<hr>
|
|
<div class="alert d-none"></div>
|
|
|
|
<form id="login-form">
|
|
<div class="mb-3">
|
|
<label for="username"><?= lang('username') ?></label>
|
|
<input type="text" id="username"
|
|
placeholder="<?= lang('enter_username_here') ?>"
|
|
class="form-control"/>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="password"><?= lang('password') ?></label>
|
|
<input type="password" id="password"
|
|
placeholder="<?= lang('enter_password_here') ?>"
|
|
class="form-control"/>
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<button type="submit" id="login" class="btn btn-primary">
|
|
<i class="fas fa-sign-in-alt me-2"></i>
|
|
<?= lang('login') ?>
|
|
</button>
|
|
</div>
|
|
|
|
<a href="<?= site_url('recovery') ?>" class="forgot-password"><?= lang('forgot_your_password') ?></a>
|
|
|
|
|
<span id="select-language" class="badge bg-success">
|
|
<?= ucfirst(config('language')) ?>
|
|
</span>
|
|
|
|
</form>
|
|
<?php section('content') ?>
|
|
|
|
<?php section('scripts') ?>
|
|
|
|
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/fontawesome.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/solid.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/http/login_http_client.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/pages/login.js') ?>"></script>
|
|
|
|
<?php section('scripts') ?>
|