2016-01-09 23:29:28 +02:00
|
|
|
<!DOCTYPE html>
|
2020-04-22 22:48:56 +03:00
|
|
|
<html lang="en">
|
2016-01-09 23:29:28 +02:00
|
|
|
<head>
|
2017-09-05 15:58:34 +03:00
|
|
|
<meta charset="utf-8">
|
2016-01-09 23:29:28 +02:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="theme-color" content="#35A768">
|
2023-12-22 22:12:24 +03:00
|
|
|
<title><?= lang('login') ?> | <?= branding("software", "name") ?></title>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2017-11-14 16:01:49 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.css') ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
|
2020-12-09 15:17:45 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/login.css') ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
2017-09-05 15:58:34 +03:00
|
|
|
|
2017-11-14 16:01:49 +03:00
|
|
|
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
2020-12-09 15:17:45 +03:00
|
|
|
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-12-09 15:17:45 +03:00
|
|
|
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
2020-11-12 15:55:03 +03:00
|
|
|
|
2017-09-05 15:58:34 +03:00
|
|
|
<script>
|
2016-01-09 23:29:28 +02:00
|
|
|
var GlobalVariables = {
|
2020-09-07 13:34:52 +03:00
|
|
|
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
|
|
baseUrl: <?= json_encode($base_url) ?>,
|
|
|
|
destUrl: <?= json_encode($dest_url) ?>,
|
|
|
|
AJAX_SUCCESS: 'SUCCESS',
|
|
|
|
AJAX_FAILURE: 'FAILURE'
|
2016-01-09 23:29:28 +02:00
|
|
|
};
|
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
var EALang = <?= json_encode($this->lang->language) ?>;
|
2020-04-27 21:27:18 +03:00
|
|
|
|
2020-04-22 22:48:56 +03:00
|
|
|
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-12-09 15:17:45 +03:00
|
|
|
$(function () {
|
2020-11-12 15:55:03 +03:00
|
|
|
GeneralFunctions.enableLanguageSelection($('#select-language'));
|
2016-01-09 23:29:28 +02:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2020-12-09 15:17:45 +03:00
|
|
|
<div id="login-frame" class="frame-container">
|
|
|
|
<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="form-group">
|
|
|
|
<label for="username"><?= lang('username') ?></label>
|
|
|
|
<input type="text" id="username"
|
|
|
|
placeholder="<?= lang('enter_username_here') ?>"
|
|
|
|
class="form-control"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password"><?= lang('password') ?></label>
|
|
|
|
<input type="password" id="password"
|
|
|
|
placeholder="<?= lang('enter_password_here') ?>"
|
|
|
|
class="form-control"/>
|
|
|
|
</div>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-12-09 15:17:45 +03:00
|
|
|
<div class="form-group">
|
|
|
|
<button type="submit" id="login" class="btn btn-primary">
|
|
|
|
<i class="fas fa-sign-in-alt mr-2"></i>
|
|
|
|
<?= lang('login') ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-12-09 15:17:45 +03:00
|
|
|
<a href="<?= site_url('user/forgot_password') ?>" class="forgot-password">
|
|
|
|
<?= lang('forgot_your_password') ?></a>
|
|
|
|
|
|
|
|
|
<span id="select-language" class="badge badge-success">
|
2020-05-05 20:35:33 +03:00
|
|
|
<?= ucfirst(config('language')) ?>
|
|
|
|
</span>
|
2020-09-08 10:21:40 +03:00
|
|
|
|
2020-12-09 15:17:45 +03:00
|
|
|
<div class="mt-4">
|
|
|
|
<small>
|
2023-12-22 22:12:24 +03:00
|
|
|
<?= lang("powered_by") ?>
|
2020-12-09 15:17:45 +03:00
|
|
|
</small>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-12-09 15:17:45 +03:00
|
|
|
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/polyfill.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/login.js') ?>"></script>
|
2016-01-09 23:29:28 +02:00
|
|
|
</body>
|
|
|
|
</html>
|