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">
|
2017-09-14 16:18:20 +03:00
|
|
|
<title><?= lang('login') . ' - ' . $company_name ?></title>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2017-11-14 16:01:49 +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>
|
2020-05-05 20:35:33 +03:00
|
|
|
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
2020-04-27 21:24:27 +03:00
|
|
|
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
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') ?>">
|
|
|
|
<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') ?>">
|
2016-01-09 23:29:28 +02:00
|
|
|
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
2020-09-03 14:13:51 +03:00
|
|
|
background-color: #F2F2F2;
|
2016-01-09 23:29:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#login-frame {
|
|
|
|
width: 630px;
|
|
|
|
margin: auto;
|
|
|
|
background: #FFF;
|
|
|
|
border: 1px solid #DDDADA;
|
|
|
|
padding: 70px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: 640px) {
|
|
|
|
#login-frame {
|
|
|
|
width: 100%;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
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-09-07 13:30:24 +03:00
|
|
|
$(function() {
|
2016-01-09 23:29:28 +02:00
|
|
|
GeneralFunctions.enableLanguageSelection($('#select-language'));
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="login-frame" class="frame-container">
|
2017-09-14 16:18:20 +03:00
|
|
|
<h2><?= lang('backend_section') ?></h2>
|
|
|
|
<p><?= lang('you_need_to_login') ?></p>
|
2016-01-09 23:29:28 +02:00
|
|
|
<hr>
|
2020-06-18 21:37:11 +03:00
|
|
|
<div class="alert d-none"></div>
|
2016-01-09 23:29:28 +02:00
|
|
|
<form id="login-form">
|
|
|
|
<div class="form-group">
|
2017-09-14 16:18:20 +03:00
|
|
|
<label for="username"><?= lang('username') ?></label>
|
2016-01-09 23:29:28 +02:00
|
|
|
<input type="text" id="username"
|
2017-09-14 16:18:20 +03:00
|
|
|
placeholder="<?= lang('enter_username_here') ?>"
|
2016-01-09 23:29:28 +02:00
|
|
|
class="form-control" />
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2017-09-14 16:18:20 +03:00
|
|
|
<label for="password"><?= lang('password') ?></label>
|
2016-01-09 23:29:28 +02:00
|
|
|
<input type="password" id="password"
|
2017-09-14 16:18:20 +03:00
|
|
|
placeholder="<?= lang('enter_password_here') ?>"
|
2016-01-09 23:29:28 +02:00
|
|
|
class="form-control" />
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
|
2020-08-31 13:23:10 +03:00
|
|
|
<button type="submit" id="login" class="btn btn-primary">
|
2017-09-14 16:18:20 +03:00
|
|
|
<?= lang('login') ?>
|
2016-01-09 23:29:28 +02:00
|
|
|
</button>
|
|
|
|
|
|
|
|
<br><br>
|
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<a href="<?= site_url('user/forgot_password') ?>" class="forgot-password">
|
|
|
|
<?= lang('forgot_your_password') ?></a>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
|
2020-05-05 20:35:33 +03:00
|
|
|
<span id="select-language" class="badge badge-success">
|
|
|
|
<?= ucfirst(config('language')) ?>
|
|
|
|
</span>
|
2016-01-09 23:29:28 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
2020-05-07 19:56:12 +03:00
|
|
|
<script src="<?= asset_url('assets/js/polyfill.js') ?>"></script>
|
2017-11-14 16:01:49 +03:00
|
|
|
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
|
2020-04-27 21:27:18 +03:00
|
|
|
<script src="<?= asset_url('assets/js/login.js') ?>"></script>
|
2016-01-09 23:29:28 +02:00
|
|
|
</body>
|
|
|
|
</html>
|