mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-15 04:22:25 +03:00
123 lines
6.2 KiB
PHP
Executable file
123 lines
6.2 KiB
PHP
Executable file
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
|
|
<title><?= isset($page_title) ? $page_title : lang('backend_section') ?> | Easy!Appointments</title>
|
|
|
|
<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/ext/jquery-ui/jquery-ui.min.css') ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/trumbowyg/ui/trumbowyg.min.css') ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/select2/select2.min.css') ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/backend.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>
|
|
// Global JavaScript Variables - Used in all backend pages.
|
|
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
|
|
var EALang = <?= json_encode($this->lang->language) ?>;
|
|
</script>
|
|
|
|
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/popper/popper.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/tippy/tippy-bundle.umd.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.touch-punch.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/moment/moment.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/moment/moment-timezone-with-data.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/trumbowyg/trumbowyg.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/select2/select2.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<nav id="header" class="navbar navbar-expand-md navbar-dark">
|
|
<div id="header-logo" class="navbar-brand">
|
|
<img src="<?= base_url('assets/img/logo.png') ?>">
|
|
<h6>EASY!APPOINTMENTS</h6>
|
|
<small>Open Source Appointment Scheduler</small>
|
|
</div>
|
|
|
|
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#header-menu">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
|
|
<div id="header-menu" class="collapse navbar-collapse flex-row-reverse">
|
|
<ul class="navbar-nav">
|
|
<?php $hidden = ($privileges[PRIV_APPOINTMENTS]['view'] == TRUE) ? '' : 'd-none' ?>
|
|
<?php $active = ($active_menu == PRIV_APPOINTMENTS) ? 'active' : '' ?>
|
|
<li class="nav-item <?= $active . $hidden ?>">
|
|
<a href="<?= site_url('backend') ?>" class="nav-link"
|
|
data-tippy-content="<?= lang('manage_appointment_record_hint') ?>">
|
|
<i class="fas fa-calendar-alt mr-2"></i>
|
|
<?= lang('calendar') ?>
|
|
</a>
|
|
</li>
|
|
|
|
<?php $hidden = ($privileges[PRIV_CUSTOMERS]['view'] == TRUE) ? '' : 'd-none' ?>
|
|
<?php $active = ($active_menu == PRIV_CUSTOMERS) ? 'active' : '' ?>
|
|
<li class="nav-item <?= $active . $hidden ?>">
|
|
<a href="<?= site_url('backend/customers') ?>" class="nav-link"
|
|
data-tippy-content="<?= lang('manage_customers_hint') ?>">
|
|
<i class="fas fa-user-friends mr-2"></i>
|
|
<?= lang('customers') ?>
|
|
</a>
|
|
</li>
|
|
|
|
<?php $hidden = ($privileges[PRIV_SERVICES]['view'] == TRUE) ? '' : 'd-none' ?>
|
|
<?php $active = ($active_menu == PRIV_SERVICES) ? 'active' : '' ?>
|
|
<li class="nav-item <?= $active . $hidden ?>">
|
|
<a href="<?= site_url('backend/services') ?>" class="nav-link"
|
|
data-tippy-content="<?= lang('manage_services_hint') ?>">
|
|
<i class="fas fa-business-time mr-2"></i>
|
|
<?= lang('services') ?>
|
|
</a>
|
|
</li>
|
|
|
|
<?php $hidden = ($privileges[PRIV_USERS]['view'] == TRUE) ? '' : 'd-none' ?>
|
|
<?php $active = ($active_menu == PRIV_USERS) ? 'active' : '' ?>
|
|
<li class="nav-item <?= $active . $hidden ?>">
|
|
<a href="<?= site_url('backend/users') ?>" class="nav-link"
|
|
data-tippy-content="<?= lang('manage_users_hint') ?>">
|
|
<i class="fas fa-users-cog mr-2"></i>
|
|
<?= lang('users') ?>
|
|
</a>
|
|
</li>
|
|
|
|
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE
|
|
|| $privileges[PRIV_USER_SETTINGS]['view'] == TRUE) ? '' : 'd-none' ?>
|
|
<?php $active = ($active_menu == PRIV_SYSTEM_SETTINGS) ? 'active' : '' ?>
|
|
<li class="nav-item <?= $active . $hidden ?>">
|
|
<a href="<?= site_url('backend/settings') ?>" class="nav-link"
|
|
data-tippy-content="<?= lang('settings_hint') ?>">
|
|
<i class="fas fa-cogs mr-2"></i>
|
|
<?= lang('settings') ?>
|
|
</a>
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
<a href="<?= site_url('user/logout') ?>" class="nav-link"
|
|
data-tippy-content="<?= lang('log_out_hint') ?>">
|
|
<i class="fas fa-sign-out-alt mr-2"></i>
|
|
<?= lang('log_out') ?>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
<div id="notification" style="display: none;"></div>
|
|
|
|
<div id="loading" style="display: none;">
|
|
<div class="any-element animation is-loading">
|
|
|
|
</div>
|
|
</div>
|