2021-11-10 10:32:46 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @var array $providers
|
|
|
|
* @var array $services
|
|
|
|
* @var array $secretaries
|
|
|
|
* @var array $admins
|
|
|
|
* @var string $date_format
|
|
|
|
* @var string $time_format
|
|
|
|
* @var string $first_weekday
|
|
|
|
* @var string $base_url
|
|
|
|
* @var array $customers
|
|
|
|
* @var string $timezones
|
|
|
|
* @var string $user_id
|
|
|
|
* @var string $user_email
|
|
|
|
* @var string $timezone
|
|
|
|
* @var string $role_slug
|
|
|
|
* @var array $privileges
|
|
|
|
* @var string $working_plan
|
|
|
|
* @var array $working_plan_exceptions
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2021-12-06 11:00:02 +03:00
|
|
|
<?php extend('layouts/backend_layout') ?>
|
2021-11-15 11:49:08 +03:00
|
|
|
|
|
|
|
<?php section('content') ?>
|
|
|
|
|
2017-11-14 16:01:49 +03:00
|
|
|
<script src="<?= asset_url('assets/js/backend_users_admins.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/backend_users_providers.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/backend_users_secretaries.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/backend_users.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/working_plan.js') ?>"></script>
|
2020-10-20 16:03:48 +03:00
|
|
|
<script src="<?= asset_url('assets/js/working_plan_exceptions_modal.js') ?>"></script>
|
2021-11-08 12:57:03 +03:00
|
|
|
<script src="<?= asset_url('assets/vendor/jquery-ui-timepicker-addon/jquery-ui-timepicker-addon.min.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/vendor/jquery-jeditable/jquery.jeditable.min.js') ?>"></script>
|
2017-09-05 15:58:34 +03:00
|
|
|
<script>
|
2015-10-05 01:31:06 +03:00
|
|
|
var GlobalVariables = {
|
2020-09-07 13:34:52 +03:00
|
|
|
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
|
|
baseUrl: <?= json_encode($base_url) ?>,
|
|
|
|
dateFormat: <?= json_encode($date_format) ?>,
|
|
|
|
firstWeekday: <?= json_encode($first_weekday); ?>,
|
|
|
|
timeFormat: <?= json_encode($time_format) ?>,
|
|
|
|
admins: <?= json_encode($admins) ?>,
|
|
|
|
providers: <?= json_encode($providers) ?>,
|
|
|
|
secretaries: <?= json_encode($secretaries) ?>,
|
|
|
|
services: <?= json_encode($services) ?>,
|
|
|
|
timezones: <?= json_encode($timezones) ?>,
|
|
|
|
workingPlan: <?= json_encode(json_decode($working_plan)) ?>,
|
2020-10-20 16:03:48 +03:00
|
|
|
workingPlanExceptions: <?= json_encode(json_decode($working_plan_exceptions)) ?>,
|
2020-09-07 13:34:52 +03:00
|
|
|
user: {
|
|
|
|
id: <?= $user_id ?>,
|
|
|
|
email: <?= json_encode($user_email) ?>,
|
|
|
|
timezone: <?= json_encode($timezone) ?>,
|
|
|
|
role_slug: <?= json_encode($role_slug) ?>,
|
|
|
|
privileges: <?= json_encode($privileges) ?>
|
2015-10-05 01:31:06 +03:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
$(function () {
|
2015-10-05 01:31:06 +03:00
|
|
|
BackendUsers.initialize(true);
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2020-09-03 14:35:58 +03:00
|
|
|
<div class="container-fluid backend-page" id="users-page">
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2017-09-05 15:58:34 +03:00
|
|
|
<!-- PAGE NAVIGATION -->
|
2020-09-03 14:48:58 +03:00
|
|
|
<ul class="nav nav-pills">
|
|
|
|
<li class="nav-item">
|
2021-11-23 10:37:41 +03:00
|
|
|
<a class="nav-link active" href="#providers" data-bs-toggle="tab">
|
2020-09-03 14:48:58 +03:00
|
|
|
<?= lang('providers') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2021-11-23 10:37:41 +03:00
|
|
|
<a class="nav-link" href="#secretaries" data-bs-toggle="tab">
|
2020-09-03 14:48:58 +03:00
|
|
|
<?= lang('secretaries') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2021-11-23 10:37:41 +03:00
|
|
|
<a class="nav-link" href="#admins" data-bs-toggle="tab">
|
2020-09-03 14:48:58 +03:00
|
|
|
<?= lang('admins') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
2015-10-05 01:31:06 +03:00
|
|
|
</ul>
|
|
|
|
|
2017-09-22 15:47:54 +03:00
|
|
|
<div class="tab-content">
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2017-09-22 15:47:54 +03:00
|
|
|
<!-- PROVIDERS TAB -->
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2020-09-03 14:48:58 +03:00
|
|
|
<div class="tab-pane active" id="providers">
|
2017-09-22 15:47:54 +03:00
|
|
|
<div class="row">
|
2020-08-31 17:02:54 +03:00
|
|
|
<div id="filter-providers" class="filter-records column col-12 col-md-5">
|
2020-05-05 20:35:33 +03:00
|
|
|
<form class="mb-4">
|
2017-10-31 13:52:25 +03:00
|
|
|
<div class="input-group">
|
|
|
|
<input type="text" class="key form-control">
|
|
|
|
|
2020-12-08 14:23:37 +03:00
|
|
|
<div class="input-group-addon">
|
2020-12-09 15:17:45 +03:00
|
|
|
<div>
|
|
|
|
<button class="filter btn btn-outline-secondary" type="submit"
|
|
|
|
data-tippy-content="<?= lang('filter') ?>">
|
|
|
|
<i class="fas fa-search"></i>
|
|
|
|
</button>
|
|
|
|
<button class="clear btn btn-outline-secondary" type="button"
|
|
|
|
data-tippy-content="<?= lang('clear') ?>">
|
|
|
|
<i class="fas fa-redo-alt"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-31 13:52:25 +03:00
|
|
|
</div>
|
2017-09-22 15:47:54 +03:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<h3><?= lang('providers') ?></h3>
|
|
|
|
<div class="results"></div>
|
2015-12-14 00:43:18 +02:00
|
|
|
</div>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2020-08-31 17:02:54 +03:00
|
|
|
<div class="record-details column col-12 col-md-7">
|
2021-11-23 10:43:40 +03:00
|
|
|
<div class="float-md-start mb-4 me-4">
|
2017-09-22 15:47:54 +03:00
|
|
|
<div class="add-edit-delete-group btn-group">
|
2020-08-31 13:23:10 +03:00
|
|
|
<button id="add-provider" class="btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-plus-square me-2"></i>
|
2017-09-22 15:47:54 +03:00
|
|
|
<?= lang('add') ?>
|
|
|
|
</button>
|
2020-09-28 15:24:29 +03:00
|
|
|
<button id="edit-provider" class="btn btn-outline-secondary" disabled="disabled">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-edit me-2"></i>
|
2017-09-22 15:47:54 +03:00
|
|
|
<?= lang('edit') ?>
|
|
|
|
</button>
|
2020-09-28 15:24:29 +03:00
|
|
|
<button id="delete-provider" class="btn btn-outline-secondary" disabled="disabled">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-trash-alt me-2"></i>
|
2017-09-22 15:47:54 +03:00
|
|
|
<?= lang('delete') ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="save-cancel-group btn-group" style="display:none;">
|
2020-08-31 13:23:10 +03:00
|
|
|
<button id="save-provider" class="btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-check-square me-2"></i>
|
2017-09-22 15:47:54 +03:00
|
|
|
<?= lang('save') ?>
|
|
|
|
</button>
|
2020-09-28 15:24:29 +03:00
|
|
|
<button id="cancel-provider" class="btn btn-outline-secondary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-ban me-2"></i>
|
2017-09-22 15:47:54 +03:00
|
|
|
<?= lang('cancel') ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
<ul class="nav nav-pills switch-view">
|
|
|
|
<li class="nav-item">
|
2021-11-23 10:37:41 +03:00
|
|
|
<a class="nav-link active" href="#details" data-bs-toggle="tab">
|
2020-09-07 14:12:52 +03:00
|
|
|
<?= lang('details') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2021-11-23 10:37:41 +03:00
|
|
|
<a class="nav-link" href="#working-plan" data-bs-toggle="tab">
|
2020-09-07 14:12:52 +03:00
|
|
|
<?= lang('working_plan') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
// This form message is outside the details view, so that it can be
|
|
|
|
// visible when the user has working plan view active.
|
|
|
|
?>
|
2017-09-22 15:47:54 +03:00
|
|
|
|
|
|
|
<div class="form-message alert" style="display:none;"></div>
|
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
<div class="tab-content">
|
|
|
|
<div class="details-view tab-pane fade show active clearfix" id="details">
|
|
|
|
<h3><?= lang('details') ?></h3>
|
|
|
|
|
|
|
|
<input type="hidden" id="provider-id" class="record-id">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="provider-details col-12 col-md-6">
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-first-name">
|
|
|
|
<?= lang('first_name') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input id="provider-first-name" class="form-control required" maxlength="256">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-last-name">
|
|
|
|
<?= lang('last_name') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input id="provider-last-name" class="form-control required" maxlength="512">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-email">
|
|
|
|
<?= lang('email') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input id="provider-email" class="form-control required" max="512">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-phone-number">
|
|
|
|
<?= lang('phone_number') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input id="provider-phone-number" class="form-control required" max="128">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-mobile-number">
|
|
|
|
<?= lang('mobile_number') ?>
|
|
|
|
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input id="provider-mobile-number" class="form-control" maxlength="128">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-address">
|
|
|
|
<?= lang('address') ?>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input id="provider-address" class="form-control" maxlength="256">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-city">
|
|
|
|
<?= lang('city') ?>
|
|
|
|
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input id="provider-city" class="form-control" maxlength="256">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-state">
|
|
|
|
<?= lang('state') ?>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input id="provider-state" class="form-control" maxlength="256">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-zip-code">
|
|
|
|
<?= lang('zip_code') ?>
|
|
|
|
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input id="provider-zip-code" class="form-control" maxlength="64">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-notes">
|
|
|
|
<?= lang('notes') ?>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<textarea id="provider-notes" class="form-control" rows="3"></textarea>
|
|
|
|
</div>
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2020-09-07 14:12:52 +03:00
|
|
|
<div class="provider-settings col-12 col-md-6">
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-username">
|
|
|
|
<?= lang('username') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input id="provider-username" class="form-control required" maxlength="256">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-password">
|
|
|
|
<?= lang('password') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input type="password" id="provider-password" class="form-control required"
|
|
|
|
maxlength="512" autocomplete="new-password">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-password-confirm">
|
|
|
|
<?= lang('retype_password') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input type="password" id="provider-password-confirm"
|
|
|
|
class="form-control required" maxlength="512"
|
|
|
|
autocomplete="new-password">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-calendar-view">
|
|
|
|
<?= lang('calendar') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<select id="provider-calendar-view" class="form-control required">
|
|
|
|
<option value="default">Default</option>
|
|
|
|
<option value="table">Table</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="provider-timezone">
|
|
|
|
<?= lang('timezone') ?>
|
2020-12-14 10:53:16 +03:00
|
|
|
<span class="text-danger">*</span>
|
2020-09-30 14:32:42 +03:00
|
|
|
</label>
|
2020-12-14 10:53:16 +03:00
|
|
|
<?= render_timezone_dropdown('id="provider-timezone" class="form-control required"') ?>
|
2020-09-07 14:12:52 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<div class="custom-control custom-switch">
|
|
|
|
<input type="checkbox" class="custom-control-input" id="provider-notifications">
|
2021-11-23 11:53:10 +03:00
|
|
|
<label class="custom-form-label" for="provider-notifications">
|
2020-09-07 14:12:52 +03:00
|
|
|
<?= lang('receive_notifications') ?>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<h4><?= lang('services') ?></h4>
|
|
|
|
<div id="provider-services" class="card card-body bg-light border-light"></div>
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
<div class="working-plan-view tab-pane fade clearfix" id="working-plan">
|
|
|
|
<h3><?= lang('working_plan') ?></h3>
|
|
|
|
<button id="reset-working-plan" class="btn btn-primary"
|
2020-10-22 12:29:09 +03:00
|
|
|
data-tippy-content="<?= lang('reset_working_plan') ?>">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-redo-alt me-2"></i>
|
2020-09-07 14:12:52 +03:00
|
|
|
<?= lang('reset_plan') ?></button>
|
|
|
|
<table class="working-plan table table-striped mt-2">
|
|
|
|
<thead>
|
2017-09-23 04:42:14 +03:00
|
|
|
<tr>
|
|
|
|
<th><?= lang('day') ?></th>
|
|
|
|
<th><?= lang('start') ?></th>
|
|
|
|
<th><?= lang('end') ?></th>
|
|
|
|
</tr>
|
2020-09-07 14:12:52 +03:00
|
|
|
</thead>
|
|
|
|
<tbody><!-- Dynamic Content --></tbody>
|
|
|
|
</table>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
<br>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
<h3><?= lang('breaks') ?></h3>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2020-09-30 14:32:42 +03:00
|
|
|
<p>
|
2020-12-09 15:17:45 +03:00
|
|
|
<?= lang('add_breaks_during_each_day') ?>
|
|
|
|
</p>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
<div>
|
|
|
|
<button type="button" class="add-break btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-plus-square me-2"></i>
|
2020-09-07 14:12:52 +03:00
|
|
|
<?= lang('add_break') ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
<br>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
<table class="breaks table table-striped">
|
|
|
|
<thead>
|
2017-09-23 04:42:14 +03:00
|
|
|
<tr>
|
|
|
|
<th><?= lang('day') ?></th>
|
|
|
|
<th><?= lang('start') ?></th>
|
|
|
|
<th><?= lang('end') ?></th>
|
|
|
|
<th><?= lang('actions') ?></th>
|
|
|
|
</tr>
|
2020-09-07 14:12:52 +03:00
|
|
|
</thead>
|
|
|
|
<tbody><!-- Dynamic Content --></tbody>
|
|
|
|
</table>
|
2018-04-12 16:03:46 +03:00
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
<br>
|
2018-04-12 16:03:46 +03:00
|
|
|
|
2020-10-20 16:03:48 +03:00
|
|
|
<h3><?= lang('working_plan_exceptions') ?></h3>
|
2018-04-12 16:03:46 +03:00
|
|
|
|
2020-09-30 14:32:42 +03:00
|
|
|
<p>
|
2020-12-09 15:17:45 +03:00
|
|
|
<?= lang('add_working_plan_exceptions_during_each_day') ?>
|
|
|
|
</p>
|
2018-04-12 16:03:46 +03:00
|
|
|
|
2020-09-07 14:12:52 +03:00
|
|
|
<div>
|
2021-11-23 10:41:37 +03:00
|
|
|
<button type="button" class="add-working-plan-exception btn btn-primary me-2">
|
2020-12-08 01:10:49 +03:00
|
|
|
<i class="fas fa-plus-square"></i>
|
2020-10-20 16:03:48 +03:00
|
|
|
<?= lang('add_working_plan_exception') ?>
|
2020-09-07 14:12:52 +03:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
2018-04-12 16:03:46 +03:00
|
|
|
|
2020-10-20 16:03:48 +03:00
|
|
|
<table class="working-plan-exceptions table table-striped">
|
2020-09-07 14:12:52 +03:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><?= lang('day') ?></th>
|
|
|
|
<th><?= lang('start') ?></th>
|
|
|
|
<th><?= lang('end') ?></th>
|
|
|
|
<th><?= lang('actions') ?></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody><!-- Dynamic Content --></tbody>
|
|
|
|
</table>
|
2020-10-20 16:03:48 +03:00
|
|
|
|
2021-11-17 10:46:58 +03:00
|
|
|
<?php component('working_plan_exceptions_modal') ?>
|
2020-09-07 14:12:52 +03:00
|
|
|
</div>
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-09-22 15:47:54 +03:00
|
|
|
<!-- SECRETARIES TAB -->
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2020-09-03 14:48:58 +03:00
|
|
|
<div class="tab-pane" id="secretaries">
|
2017-09-22 15:47:54 +03:00
|
|
|
<div class="row">
|
2020-08-31 17:02:54 +03:00
|
|
|
<div id="filter-secretaries" class="filter-records column col-12 col-md-5">
|
2020-05-05 20:35:33 +03:00
|
|
|
<form class="mb-4">
|
2017-10-31 13:52:25 +03:00
|
|
|
<div class="input-group">
|
|
|
|
<input type="text" class="key form-control">
|
|
|
|
|
2021-11-10 10:32:46 +03:00
|
|
|
<div class="input-group-addon">
|
|
|
|
<div>
|
|
|
|
<button class="filter btn btn-outline-secondary" type="submit"
|
|
|
|
data-tippy-content="<?= lang('filter') ?>">
|
|
|
|
<i class="fas fa-search"></i>
|
|
|
|
</button>
|
|
|
|
<button class="clear btn btn-outline-secondary" type="button"
|
|
|
|
data-tippy-content="<?= lang('clear') ?>">
|
|
|
|
<i class="fas fa-redo-alt"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-31 13:52:25 +03:00
|
|
|
</div>
|
2017-09-22 15:47:54 +03:00
|
|
|
</form>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2017-09-23 04:42:14 +03:00
|
|
|
<h3><?= lang('secretaries') ?></h3>
|
|
|
|
|
2017-09-22 15:47:54 +03:00
|
|
|
<div class="results"></div>
|
|
|
|
</div>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2020-08-31 17:02:54 +03:00
|
|
|
<div class="record-details column col-12 col-md-7">
|
2020-05-05 20:35:33 +03:00
|
|
|
<div class="btn-toolbar mb-4">
|
2017-09-22 15:47:54 +03:00
|
|
|
<div class="add-edit-delete-group btn-group">
|
2020-08-31 13:23:10 +03:00
|
|
|
<button id="add-secretary" class="btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-plus-square me-2"></i>
|
2017-09-23 04:42:14 +03:00
|
|
|
<?= lang('add') ?>
|
2017-09-22 15:47:54 +03:00
|
|
|
</button>
|
2020-09-28 15:24:29 +03:00
|
|
|
<button id="edit-secretary" class="btn btn-outline-secondary" disabled="disabled">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-edit me-2"></i>
|
2017-09-23 04:42:14 +03:00
|
|
|
<?= lang('edit') ?>
|
2017-09-22 15:47:54 +03:00
|
|
|
</button>
|
2020-09-28 15:24:29 +03:00
|
|
|
<button id="delete-secretary" class="btn btn-outline-secondary" disabled="disabled">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-trash-alt me-2"></i>
|
2017-09-23 04:42:14 +03:00
|
|
|
<?= lang('delete') ?>
|
2017-09-22 15:47:54 +03:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="save-cancel-group btn-group" style="display:none;">
|
2020-08-31 13:23:10 +03:00
|
|
|
<button id="save-secretary" class="btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-check-square me-2"></i>
|
2017-09-23 04:42:14 +03:00
|
|
|
<?= lang('save') ?>
|
2017-09-22 15:47:54 +03:00
|
|
|
</button>
|
2020-09-28 15:24:29 +03:00
|
|
|
<button id="cancel-secretary" class="btn btn-outline-secondary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-ban me-2"></i>
|
2017-09-23 04:42:14 +03:00
|
|
|
<?= lang('cancel') ?>
|
2017-09-22 15:47:54 +03:00
|
|
|
</button>
|
|
|
|
</div>
|
2015-10-05 01:31:06 +03:00
|
|
|
</div>
|
|
|
|
|
2017-09-23 04:42:14 +03:00
|
|
|
<h3><?= lang('details') ?></h3>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2017-09-22 15:47:54 +03:00
|
|
|
<div class="form-message alert" style="display:none;"></div>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2017-09-23 04:42:14 +03:00
|
|
|
<input type="hidden" id="secretary-id" class="record-id">
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2017-09-22 15:47:54 +03:00
|
|
|
<div class="row">
|
2020-08-31 17:02:54 +03:00
|
|
|
<div class="secretary-details col-12 col-md-6">
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-first-name">
|
|
|
|
<?= lang('first_name') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-09-23 04:42:14 +03:00
|
|
|
<input id="secretary-first-name" class="form-control required" maxlength="256">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-last-name">
|
|
|
|
<?= lang('last_name') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-09-23 04:42:14 +03:00
|
|
|
<input id="secretary-last-name" class="form-control required" maxlength="512">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-email">
|
|
|
|
<?= lang('email') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-09-23 04:42:14 +03:00
|
|
|
<input id="secretary-email" class="form-control required" maxlength="512">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-phone-number">
|
|
|
|
<?= lang('phone_number') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-09-23 04:42:14 +03:00
|
|
|
<input id="secretary-phone-number" class="form-control required" maxlength="128">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-mobile-number">
|
|
|
|
<?= lang('mobile_number') ?>
|
|
|
|
|
|
|
|
</label>
|
2017-09-23 04:42:14 +03:00
|
|
|
<input id="secretary-mobile-number" class="form-control" maxlength="128">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-address">
|
|
|
|
<?= lang('address') ?>
|
|
|
|
</label>
|
2017-09-23 04:42:14 +03:00
|
|
|
<input id="secretary-address" class="form-control" maxlength="256">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-city">
|
|
|
|
<?= lang('city') ?>
|
|
|
|
</label>
|
2017-09-23 04:42:14 +03:00
|
|
|
<input id="secretary-city" class="form-control" maxlength="256">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-state">
|
|
|
|
<?= lang('state') ?>
|
|
|
|
</label>
|
2017-09-23 04:42:14 +03:00
|
|
|
<input id="secretary-state" class="form-control" maxlength="128">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-zip-code">
|
|
|
|
<?= lang('zip_code') ?>
|
|
|
|
</label>
|
2017-09-23 04:42:14 +03:00
|
|
|
<input id="secretary-zip-code" class="form-control" maxlength="64">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-notes">
|
|
|
|
<?= lang('notes') ?>
|
|
|
|
</label>
|
2017-09-22 15:47:54 +03:00
|
|
|
<textarea id="secretary-notes" class="form-control" rows="3"></textarea>
|
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
</div>
|
2020-08-31 17:02:54 +03:00
|
|
|
<div class="secretary-settings col-12 col-md-6">
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-username">
|
|
|
|
<?= lang('username') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-09-23 04:42:14 +03:00
|
|
|
<input id="secretary-username" class="form-control required" maxlength="256">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-password">
|
|
|
|
<?= lang('password') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input type="password" id="secretary-password" class="form-control required"
|
|
|
|
maxlength="512" autocomplete="new-password">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-password-confirm">
|
|
|
|
<?= lang('retype_password') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input type="password" id="secretary-password-confirm" class="form-control required"
|
|
|
|
maxlength="512" autocomplete="new-password">
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-calendar-view">
|
|
|
|
<?= lang('calendar') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-09-22 15:47:54 +03:00
|
|
|
<select id="secretary-calendar-view" class="form-control required">
|
|
|
|
<option value="default">Default</option>
|
|
|
|
<option value="table">Table</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2016-07-19 00:46:15 +03:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="secretary-timezone">
|
|
|
|
<?= lang('timezone') ?>
|
2020-12-14 10:53:16 +03:00
|
|
|
<span class="text-danger">*</span>
|
2020-09-30 14:32:42 +03:00
|
|
|
</label>
|
2020-12-14 10:53:16 +03:00
|
|
|
<?= render_timezone_dropdown('id="secretary-timezone" class="form-control required"') ?>
|
2020-03-29 17:34:05 +03:00
|
|
|
</div>
|
|
|
|
|
2017-09-22 15:47:54 +03:00
|
|
|
<br>
|
2015-10-05 01:31:06 +03:00
|
|
|
|
2020-09-07 11:36:36 +03:00
|
|
|
<div class="custom-control custom-switch">
|
|
|
|
<input type="checkbox" class="custom-control-input" id="secretary-notifications">
|
2021-11-23 11:53:10 +03:00
|
|
|
<label class="custom-form-label" for="secretary-notifications">
|
2020-09-07 11:36:36 +03:00
|
|
|
<?= lang('receive_notifications') ?>
|
|
|
|
</label>
|
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2020-09-07 11:36:36 +03:00
|
|
|
<br>
|
2015-12-14 00:43:18 +02:00
|
|
|
|
2017-09-23 04:42:14 +03:00
|
|
|
<h4><?= lang('providers') ?></h4>
|
2020-05-05 20:35:33 +03:00
|
|
|
<div id="secretary-providers" class="card card-body bg-light border-light"></div>
|
2017-09-22 15:47:54 +03:00
|
|
|
</div>
|
2015-12-14 00:43:18 +02:00
|
|
|
</div>
|
2015-10-05 01:31:06 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-11-20 16:04:05 +03:00
|
|
|
|
|
|
|
<!-- ADMINS TAB -->
|
|
|
|
|
2020-09-03 14:48:58 +03:00
|
|
|
<div class="tab-pane" id="admins">
|
2017-11-20 16:04:05 +03:00
|
|
|
<div class="row">
|
2020-08-31 17:02:54 +03:00
|
|
|
<div id="filter-admins" class="filter-records column col-12 col-md-5">
|
2020-05-05 20:35:33 +03:00
|
|
|
<form class="mb-4">
|
2017-11-20 16:04:05 +03:00
|
|
|
<div class="input-group">
|
|
|
|
<input type="text" class="key form-control">
|
|
|
|
|
2021-11-10 10:32:46 +03:00
|
|
|
<div class="input-group-addon">
|
|
|
|
<div>
|
|
|
|
<button class="filter btn btn-outline-secondary" type="submit"
|
|
|
|
data-tippy-content="<?= lang('filter') ?>">
|
|
|
|
<i class="fas fa-search"></i>
|
|
|
|
</button>
|
|
|
|
<button class="clear btn btn-outline-secondary" type="button"
|
|
|
|
data-tippy-content="<?= lang('clear') ?>">
|
|
|
|
<i class="fas fa-redo-alt"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-11-20 16:04:05 +03:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<h3><?= lang('admins') ?></h3>
|
|
|
|
|
|
|
|
<div class="results"></div>
|
|
|
|
</div>
|
|
|
|
|
2020-08-31 17:02:54 +03:00
|
|
|
<div class="record-details column col-12 col-md-7">
|
2020-05-05 20:35:33 +03:00
|
|
|
<div class="btn-toolbar mb-4">
|
2017-11-20 16:04:05 +03:00
|
|
|
<div class="add-edit-delete-group btn-group">
|
2020-08-31 13:23:10 +03:00
|
|
|
<button id="add-admin" class="btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-plus-square me-2"></i>
|
2017-11-20 16:04:05 +03:00
|
|
|
<?= lang('add') ?>
|
|
|
|
</button>
|
2020-09-28 15:24:29 +03:00
|
|
|
<button id="edit-admin" class="btn btn-outline-secondary" disabled="disabled">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-edit me-2"></i>
|
2017-11-20 16:04:05 +03:00
|
|
|
<?= lang('edit') ?>
|
|
|
|
</button>
|
2020-09-28 15:24:29 +03:00
|
|
|
<button id="delete-admin" class="btn btn-outline-secondary" disabled="disabled">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-trash-alt me-2"></i>
|
2017-11-20 16:04:05 +03:00
|
|
|
<?= lang('delete') ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="save-cancel-group btn-group" style="display:none;">
|
2020-08-31 13:23:10 +03:00
|
|
|
<button id="save-admin" class="btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-check-square me-2"></i>
|
2017-11-20 16:04:05 +03:00
|
|
|
<?= lang('save') ?>
|
|
|
|
</button>
|
2020-09-28 15:24:29 +03:00
|
|
|
<button id="cancel-admin" class="btn btn-outline-secondary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-ban me-2"></i>
|
2017-11-20 16:04:05 +03:00
|
|
|
<?= lang('cancel') ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h3><?= lang('details') ?></h3>
|
|
|
|
|
|
|
|
<div class="form-message alert" style="display:none;"></div>
|
|
|
|
|
|
|
|
<input type="hidden" id="admin-id" class="record-id">
|
|
|
|
|
|
|
|
<div class="row">
|
2020-08-31 17:02:54 +03:00
|
|
|
<div class="admin-details col-12 col-md-6">
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2021-11-10 10:32:46 +03:00
|
|
|
<label for="admin-first-name">
|
2020-09-30 14:32:42 +03:00
|
|
|
<?= lang('first_name') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<input id="admin-first-name" class="form-control required" maxlength="256">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-last-name">
|
|
|
|
<?= lang('last_name') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<input id="admin-last-name" class="form-control required" maxlength="512">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-email">
|
|
|
|
<?= lang('email') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<input id="admin-email" class="form-control required" maxlength="512">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-phone-number">
|
|
|
|
<?= lang('phone_number') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<input id="admin-phone-number" class="form-control required" maxlength="128">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-mobile-number">
|
|
|
|
<?= lang('mobile_number') ?>
|
|
|
|
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<input id="admin-mobile-number" class="form-control" maxlength="128">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-address">
|
|
|
|
<?= lang('address') ?>
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<input id="admin-address" class="form-control" maxlength="256">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-city">
|
|
|
|
<?= lang('city') ?>
|
|
|
|
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<input id="admin-city" class="form-control" maxlength="256">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-state">
|
|
|
|
<?= lang('state') ?>
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<input id="admin-state" class="form-control" maxlength="128">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-zip-code">
|
|
|
|
<?= lang('zip_code') ?>
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<input id="admin-zip-code" class="form-control" maxlength="64">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-notes">
|
|
|
|
<?= lang('notes') ?>
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<textarea id="admin-notes" class="form-control" rows="3"></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-31 17:02:54 +03:00
|
|
|
<div class="admin-settings col-12 col-md-6">
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-username">
|
|
|
|
<?= lang('username') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<input id="admin-username" class="form-control required" maxlength="256">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-password">
|
|
|
|
<?= lang('password') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input type="password" id="admin-password" class="form-control required" maxlength="512"
|
|
|
|
autocomplete="new-password">
|
2017-11-20 16:04:05 +03:00
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-password-confirm">
|
|
|
|
<?= lang('retype_password') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2020-09-07 14:12:52 +03:00
|
|
|
<input type="password" id="admin-password-confirm" class="form-control required"
|
|
|
|
maxlength="512" autocomplete="new-password">
|
2017-11-20 16:04:05 +03:00
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-calendar-view">
|
|
|
|
<?= lang('calendar') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
2017-11-20 16:04:05 +03:00
|
|
|
<select id="admin-calendar-view" class="form-control required">
|
|
|
|
<option value="default">Default</option>
|
|
|
|
<option value="table">Table</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2020-09-30 14:32:42 +03:00
|
|
|
<label for="admin-timezone">
|
|
|
|
<?= lang('timezone') ?>
|
2020-12-14 10:53:16 +03:00
|
|
|
<span class="text-danger">*</span>
|
2020-09-30 14:32:42 +03:00
|
|
|
</label>
|
2020-12-14 10:53:16 +03:00
|
|
|
<?= render_timezone_dropdown('id="admin-timezone" class="form-control required"') ?>
|
2020-03-29 17:34:05 +03:00
|
|
|
</div>
|
|
|
|
|
2017-11-20 16:04:05 +03:00
|
|
|
<br>
|
|
|
|
|
2020-09-07 11:36:36 +03:00
|
|
|
<div class="custom-control custom-switch">
|
|
|
|
<input type="checkbox" class="custom-control-input" id="admin-notifications">
|
2021-11-23 11:53:10 +03:00
|
|
|
<label class="custom-form-label" for="admin-notifications">
|
2020-09-07 11:36:36 +03:00
|
|
|
<?= lang('receive_notifications') ?>
|
|
|
|
</label>
|
|
|
|
</div>
|
2017-11-20 16:04:05 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-10-05 01:31:06 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-11-15 11:49:08 +03:00
|
|
|
|
|
|
|
<?php section('content') ?>
|
|
|
|
|