HTML structure changes to the account page
This commit is contained in:
parent
e0874149b4
commit
3f35658643
1 changed files with 129 additions and 126 deletions
|
@ -4,20 +4,23 @@
|
|||
|
||||
<div id="account-page" class="container backend-page">
|
||||
<div id="account">
|
||||
<form>
|
||||
<div class="row">
|
||||
<fieldset class="col-12 col-sm-6 personal-info-wrapper">
|
||||
<legend class="border-bottom mb-4">
|
||||
<div class="col-lg-8 offset-lg-2">
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend class="d-flex justify-content-between align-items-center border-bottom mb-4 py-2">
|
||||
<?= lang('personal_information') ?>
|
||||
|
||||
<?php if (can('edit', PRIV_USER_SETTINGS)): ?>
|
||||
<button type="button" id="save-settings" class="btn btn-primary btn-sm mb-2"
|
||||
data-tippy-content="<?= lang('save') ?>">
|
||||
<button type="button" id="save-settings" class="btn btn-primary btn-sm">
|
||||
<i class="fas fa-check-square me-2"></i>
|
||||
<?= lang('save') ?>
|
||||
</button>
|
||||
<?php endif ?>
|
||||
</legend>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<input type="hidden" id="user-id">
|
||||
|
||||
<div class="mb-3">
|
||||
|
@ -93,13 +96,9 @@
|
|||
</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>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="username">
|
||||
<?= lang('username') ?>
|
||||
|
@ -140,16 +139,20 @@
|
|||
<?= render_timezone_dropdown('id="timezone" class="form-control"') ?>
|
||||
</div>
|
||||
|
||||
<div class="custom-control custom-switch">
|
||||
<input type="checkbox" class="custom-control-input" id="notifications">
|
||||
<label class="custom-form-label" for="notifications">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" id="notifications" type="checkbox">
|
||||
<label class="form-check-label" for="notifications">
|
||||
<?= lang('receive_notifications') ?>
|
||||
</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php section('content') ?>
|
||||
|
|
Loading…
Reference in a new issue