2021-12-06 11:00:02 +03:00
|
|
|
<?php extend('layouts/backend_layout') ?>
|
2021-11-22 09:36:05 +03:00
|
|
|
|
|
|
|
<?php section('content') ?>
|
|
|
|
|
2021-12-18 20:55:27 +03:00
|
|
|
<div id="account-page" class="container backend-page">
|
|
|
|
<div id="account">
|
2021-11-22 09:36:05 +03:00
|
|
|
<form>
|
|
|
|
<div class="row">
|
|
|
|
<fieldset class="col-12 col-sm-6 personal-info-wrapper">
|
|
|
|
<legend class="border-bottom mb-4">
|
|
|
|
<?= lang('personal_information') ?>
|
2021-12-18 20:25:03 +03:00
|
|
|
<?php if (can('edit', PRIV_USER_SETTINGS)): ?>
|
|
|
|
<button type="button" id="save-settings" class="btn btn-primary btn-sm mb-2"
|
2021-11-22 09:36:05 +03:00
|
|
|
data-tippy-content="<?= lang('save') ?>">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-check-square me-2"></i>
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('save') ?>
|
|
|
|
</button>
|
|
|
|
<?php endif ?>
|
|
|
|
</legend>
|
|
|
|
|
|
|
|
<input type="hidden" id="user-id">
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="first-name">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('first_name') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
|
|
|
<input id="first-name" class="form-control required">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="last-name">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('last_name') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
|
|
|
<input id="last-name" class="form-control required">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="email">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('email') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
|
|
|
<input id="email" class="form-control required">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="phone-number">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('phone_number') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
|
|
|
<input id="phone-number" class="form-control required">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="mobile-number">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('mobile_number') ?>
|
|
|
|
</label>
|
|
|
|
<input id="mobile-number" class="form-control">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="address">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('address') ?>
|
|
|
|
</label>
|
|
|
|
<input id="address" class="form-control">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="city">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('city') ?>
|
|
|
|
</label>
|
|
|
|
<input id="city" class="form-control">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="state">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('state') ?>
|
|
|
|
</label>
|
|
|
|
<input id="state" class="form-control">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="zip-code">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('zip_code') ?>
|
|
|
|
</label>
|
|
|
|
<input id="zip-code" class="form-control">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="notes">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('notes') ?>
|
|
|
|
</label>
|
|
|
|
<textarea id="notes" class="form-control" rows="3"></textarea>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset class="col-12 col-sm-6 miscellaneous-wrapper">
|
|
|
|
<legend class="border-bottom mb-4">
|
|
|
|
<?= lang('system_login') ?>
|
|
|
|
</legend>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="username">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('username') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
|
|
|
<input id="username" class="form-control required">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="password">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('password') ?>
|
|
|
|
</label>
|
|
|
|
<input type="password" id="password" class="form-control" autocomplete="new-password">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="retype-password">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('retype_password') ?>
|
|
|
|
</label>
|
|
|
|
<input type="password" id="retype-password" class="form-control"
|
|
|
|
autocomplete="new-password">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="calendar-view"><?= lang('calendar') ?>
|
2021-11-22 09:36:05 +03:00
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
|
|
|
<select id="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">
|
|
|
|
<label class="form-label" for="timezone">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('timezone') ?>
|
|
|
|
</label>
|
|
|
|
<?= render_timezone_dropdown('id="timezone" class="form-control"') ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="custom-control custom-switch">
|
2021-12-18 20:25:03 +03:00
|
|
|
<input type="checkbox" class="custom-control-input" id="notifications">
|
|
|
|
<label class="custom-form-label" for="notifications">
|
2021-11-22 09:36:05 +03:00
|
|
|
<?= lang('receive_notifications') ?>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php section('content') ?>
|
2021-12-14 10:05:22 +03:00
|
|
|
|
|
|
|
<?php section('scripts') ?>
|
|
|
|
|
2021-12-18 20:25:03 +03:00
|
|
|
<script src="<?= asset_url('assets/js/utils/url.js') ?>"></script>
|
2021-12-18 20:55:27 +03:00
|
|
|
<script src="<?= asset_url('assets/js/utils/validation.js') ?>"></script>
|
2021-12-18 20:25:03 +03:00
|
|
|
<script src="<?= asset_url('assets/js/http/account_http_client.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/pages/account.js') ?>"></script>
|
2021-12-14 10:05:22 +03:00
|
|
|
|
|
|
|
<?php section('scripts') ?>
|