2021-12-06 11:00:02 +03:00
|
|
|
<?php extend('layouts/backend_layout') ?>
|
2021-11-18 07:23:54 +03:00
|
|
|
|
|
|
|
<?php section('content') ?>
|
|
|
|
|
2021-11-18 08:27:51 +03:00
|
|
|
<div class="container-fluid backend-page" id="service-categories-page">
|
2021-11-18 07:23:54 +03:00
|
|
|
|
2021-11-18 07:35:56 +03:00
|
|
|
<div class="row" id="categories">
|
|
|
|
<div id="filter-categories" class="filter-records column col-12 col-md-5">
|
|
|
|
<form class="input-append mb-4">
|
|
|
|
<div class="input-group">
|
|
|
|
<input type="text" class="key form-control">
|
2021-11-18 07:23:54 +03:00
|
|
|
|
2022-01-07 10:56:46 +03:00
|
|
|
<button class="filter btn btn-outline-secondary" type="submit"
|
|
|
|
data-tippy-content="<?= lang('filter') ?>">
|
|
|
|
<i class="fas fa-search"></i>
|
|
|
|
</button>
|
2021-11-18 07:23:54 +03:00
|
|
|
</div>
|
2021-11-18 07:35:56 +03:00
|
|
|
</form>
|
2021-11-18 07:23:54 +03:00
|
|
|
|
2021-11-18 07:35:56 +03:00
|
|
|
<h3><?= lang('categories') ?></h3>
|
|
|
|
<div class="results"></div>
|
|
|
|
</div>
|
2021-11-18 07:23:54 +03:00
|
|
|
|
2021-11-18 07:35:56 +03:00
|
|
|
<div class="record-details col-12 col-md-5">
|
|
|
|
<div class="btn-toolbar mb-4">
|
|
|
|
<div class="add-edit-delete-group btn-group">
|
|
|
|
<button id="add-category" class="btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-plus-square me-2"></i>
|
2021-11-18 07:35:56 +03:00
|
|
|
<?= lang('add') ?>
|
|
|
|
</button>
|
|
|
|
<button id="edit-category" class="btn btn-outline-secondary" disabled="disabled">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-edit me-2"></i>
|
2021-11-18 07:35:56 +03:00
|
|
|
<?= lang('edit') ?>
|
|
|
|
</button>
|
|
|
|
<button id="delete-category" class="btn btn-outline-secondary" disabled="disabled">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-trash-alt me-2"></i>
|
2021-11-18 07:35:56 +03:00
|
|
|
<?= lang('delete') ?>
|
|
|
|
</button>
|
2021-11-18 07:23:54 +03:00
|
|
|
</div>
|
|
|
|
|
2022-01-24 14:55:45 +03:00
|
|
|
<div class="save-cancel-group" style="display:none;">
|
2021-11-18 07:35:56 +03:00
|
|
|
<button id="save-category" class="btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-check-square me-2"></i>
|
2021-11-18 07:35:56 +03:00
|
|
|
<?= lang('save') ?>
|
|
|
|
</button>
|
2022-01-24 14:55:45 +03:00
|
|
|
<button id="cancel-category" class="btn btn-secondary">
|
2021-11-18 07:35:56 +03:00
|
|
|
<?= lang('cancel') ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-11-18 07:23:54 +03:00
|
|
|
|
2021-11-18 07:35:56 +03:00
|
|
|
<h3><?= lang('details') ?></h3>
|
2021-11-18 07:23:54 +03:00
|
|
|
|
2021-11-18 07:35:56 +03:00
|
|
|
<div class="form-message alert" style="display:none;"></div>
|
2021-11-18 07:23:54 +03:00
|
|
|
|
2022-01-18 11:31:19 +03:00
|
|
|
<input type="hidden" id="id">
|
2021-11-18 07:23:54 +03:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2022-01-18 11:31:19 +03:00
|
|
|
<label class="form-label" for="name">
|
2021-11-18 07:35:56 +03:00
|
|
|
<?= lang('name') ?>
|
2022-01-19 11:39:13 +03:00
|
|
|
<span class="text-danger" hidden>*</span>
|
2021-11-18 07:35:56 +03:00
|
|
|
</label>
|
2022-01-19 11:39:13 +03:00
|
|
|
<input id="name" class="form-control required" disabled>
|
2021-11-18 07:35:56 +03:00
|
|
|
</div>
|
2021-11-18 07:23:54 +03:00
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
2022-01-18 11:31:19 +03:00
|
|
|
<label class="form-label" for="description">
|
2021-11-18 07:35:56 +03:00
|
|
|
<?= lang('description') ?>
|
2021-11-18 07:23:54 +03:00
|
|
|
|
2021-11-18 07:35:56 +03:00
|
|
|
</label>
|
2022-01-19 11:39:13 +03:00
|
|
|
<textarea id="description" rows="4" class="form-control" disabled></textarea>
|
2021-11-18 07:23:54 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-11-18 07:35:56 +03:00
|
|
|
|
2021-11-18 07:23:54 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php section('content') ?>
|
2021-12-15 10:00:48 +03:00
|
|
|
|
|
|
|
<?php section('scripts') ?>
|
|
|
|
|
2022-01-10 11:26:28 +03:00
|
|
|
<script src="<?= asset_url('assets/js/utils/message.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/utils/validation.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/utils/url.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/http/categories_http_client.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/pages/categories.js') ?>"></script>
|
2021-12-15 10:00:48 +03:00
|
|
|
|
|
|
|
<?php section('scripts') ?>
|