mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-29 18:12:48 +03:00
89 lines
3.6 KiB
PHP
89 lines
3.6 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<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">
|
|
<title><?= lang('login') ?> | Easy!Appointments</title>
|
|
|
|
<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/login.css') ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
|
|
|
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
|
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
|
|
|
|
<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>
|
|
|
|
<script>
|
|
var GlobalVariables = {
|
|
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
baseUrl: <?= json_encode($base_url) ?>,
|
|
destUrl: <?= json_encode($dest_url) ?>,
|
|
AJAX_SUCCESS: 'SUCCESS',
|
|
AJAX_FAILURE: 'FAILURE'
|
|
};
|
|
|
|
var EALang = <?= json_encode($this->lang->language) ?>;
|
|
|
|
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
|
|
|
|
$(function() {
|
|
GeneralFunctions.enableLanguageSelection($('#select-language'));
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<a href="<?= site_url('user/forgot_password') ?>" class="forgot-password">
|
|
<?= lang('forgot_your_password') ?></a>
|
|
|
|
|
<span id="select-language" class="badge badge-success">
|
|
<?= ucfirst(config('language')) ?>
|
|
</span>
|
|
|
|
<div class="mt-4">
|
|
<small>
|
|
Powered by
|
|
<a href="https://easyappointments.org">Easy!Appointments</a>
|
|
</small>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<script src="<?= asset_url('assets/ext/fontawesome/js/all.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>
|
|
</body>
|
|
</html>
|