The view files use the new layout slots

This commit is contained in:
alextselegidis 2021-11-15 09:49:08 +01:00
parent 79d2460b2a
commit 914ed84a40
12 changed files with 85 additions and 4 deletions

View file

@ -5,8 +5,14 @@
*/
?>
<?php extend('layouts/account/account_layout') ?>
<?php section('content') ?>
<h2><?= lang('backend_section') ?></h2>
<p><?= lang('you_need_to_login') ?></p>
<hr>
<div class="alert d-none"></div>
@ -32,15 +38,21 @@
</div>
<a href="<?= site_url('user/forgot_password') ?>" class="forgot-password">
<?= lang('forgot_your_password') ?></a>
<?= lang('forgot_your_password') ?>
</a>
|
<span id="select-language" class="badge badge-success">
<?= ucfirst(config('language')) ?>
</span>
<?= ucfirst(config('language')) ?>
</span>
</form>
<?php section('content') ?>
<?php section('scripts') ?>
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/fontawesome.min.js') ?>"></script>
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/solid.min.js') ?>"></script>
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
<script src="<?= asset_url('assets/js/login.js') ?>"></script>
<?php section('scripts') ?>

View file

@ -1,4 +1,9 @@
<?php extend('layouts/account/account_layout') ?>
<?php section('content') ?>
<h3><?= lang('log_out') ?></h3>
<p>
<?= lang('logout_success') ?>
</p>
@ -15,3 +20,6 @@
<?= lang('backend_section') ?>
</a>
<?php section('content') ?>

View file

@ -1,3 +1,7 @@
<?php extend('layouts/account/account_layout') ?>
<?php section('content') ?>
<h3><?= lang('no_privileges') ?></h3>
<p>
<?= lang('no_privileges_message') ?>
@ -9,3 +13,5 @@
<i class="icon-calendar icon-white mr-2"></i>
<?= lang('backend_calendar') ?>
</a>
<?php section('content') ?>

View file

@ -1,3 +1,7 @@
<?php extend('layouts/account/account_layout') ?>
<?php section('content') ?>
<h2><?= lang('forgot_your_password') ?></h2>
<p><?= lang('type_username_and_email_for_new_password') ?></p>
<hr>
@ -22,3 +26,5 @@
<a href="<?= site_url('user/login') ?>" class="user-login">
<?= lang('go_to_login') ?></a>
</form>
<?php section('content') ?>

View file

@ -33,4 +33,4 @@
class="btn btn-danger btn-sm"><?= lang('delete') ?></button>
</div>
</div>
<?php endif; ?>
<?php endif ?>

View file

@ -6,6 +6,10 @@
*/
?>
<?php extend('layouts/message/message_layout') ?>
<?php section('content') ?>
<div>
<img id="message-icon" src="<?= $message_icon ?>" alt="warning">
</div>
@ -15,3 +19,6 @@
<p><?= $message_text ?></p>
</div>
<?php section('content') ?>

View file

@ -20,6 +20,10 @@
*/
?>
<?php extend('layouts/booking/booking_layout') ?>
<?php section('content') ?>
<!-- Booking Cancellation Frame -->
<?php require __DIR__ . '/booking_cancellation.php' ?>
@ -39,3 +43,6 @@
<!-- Appointment Data Confirmation -->
<?php require __DIR__ . '/booking_step_4.php' ?>
<?php section('content') ?>

View file

@ -8,6 +8,10 @@
*/
?>
<?php extend('layouts/message/message_layout') ?>
<?php section('content') ?>
<div>
<img id="success-icon" class="mt-0 mb-2" src="<?= base_url('assets/img/success.png') ?>" alt="success"/>
</div>
@ -51,3 +55,6 @@
googleApiScope: 'https://www.googleapis.com/auth/calendar'
};
</script>
<?php section('content') ?>

View file

@ -15,6 +15,11 @@
* @var array $privileges
*/
?>
<?php extend('layouts/backend/backend_layout') ?>
<?php section('content') ?>
<script src="<?= asset_url('assets/vendor/jquery-ui-timepicker-addon/jquery-ui-timepicker-addon.min.js') ?>"></script>
<script src="<?= asset_url('assets/js/backend_customers_helper.js') ?>"></script>
<script src="<?= asset_url('assets/js/backend_customers.js') ?>"></script>
@ -202,3 +207,5 @@
</div>
</div>
</div>
<?php section('content') ?>

View file

@ -13,6 +13,11 @@
* @var array $privileges
*/
?>
<?php extend('layouts/backend/backend_layout') ?>
<?php section('content') ?>
<script src="<?= asset_url('assets/js/backend_services_helper.js') ?>"></script>
<script src="<?= asset_url('assets/js/backend_categories_helper.js') ?>"></script>
<script src="<?= asset_url('assets/js/backend_services.js') ?>"></script>
@ -281,3 +286,5 @@
</div>
</div>
</div>
<?php section('content') ?>

View file

@ -14,6 +14,11 @@
* @var array $privileges
*/
?>
<?php extend('layouts/backend/backend_layout') ?>
<?php section('content') ?>
<script src="<?= asset_url('assets/js/backend_settings_system.js') ?>"></script>
<script src="<?= asset_url('assets/js/backend_settings_user.js') ?>"></script>
<script src="<?= asset_url('assets/js/backend_settings.js') ?>"></script>
@ -682,3 +687,5 @@
</div>
</div>
<?php section('content') ?>

View file

@ -20,6 +20,10 @@
*/
?>
<?php extend('layouts/backend/backend_layout') ?>
<?php section('content') ?>
<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>
@ -796,3 +800,6 @@
</div>
</div>
</div>
<?php section('content') ?>