Move the receive-notifications checkbox into a frame

This commit is contained in:
Alex Tselegidis 2022-07-26 16:16:10 +03:00
parent 48828d4dcf
commit 13b1ad3966
3 changed files with 45 additions and 42 deletions

View file

@ -196,13 +196,17 @@
]) ?> ]) ?>
</div> </div>
<br> <div class="border rounded mb-3 p-3">
<label class="form-label mb-3">
<div class="form-check form-switch me-4"> <?= lang('options') ?>
<input class="form-check-input" type="checkbox" id="notifications" disabled>
<label class="form-check-label" for="notifications">
<?= lang('receive_notifications') ?>
</label> </label>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="notifications" disabled>
<label class="form-check-label" for="notifications">
<?= lang('receive_notifications') ?>
</label>
</div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -146,25 +146,6 @@
<input id="zip-code" class="form-control" maxlength="64" disabled> <input id="zip-code" class="form-control" maxlength="64" disabled>
</div> </div>
<div class="border rounded mb-3 p-3">
<label class="form-label mb-3">
<?= lang('options') ?>
</label>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="private">
<label class="form-check-label" for="private">
<?= lang('private') ?>
</label>
</div>
<div class="form-text text-muted">
<small>
<?= lang('private_hint') ?>
</small>
</div>
</div>
<div class="mb-3"> <div class="mb-3">
<label class="form-label" for="notes"> <label class="form-label" for="notes">
<?= lang('notes') ?> <?= lang('notes') ?>
@ -237,16 +218,31 @@
]) ?> ]) ?>
</div> </div>
<br> <div class="border rounded mb-3 p-3">
<label class="form-label mb-3">
<div class="form-check form-switch me-4"> <?= lang('options') ?>
<input class="form-check-input" type="checkbox" id="notifications" disabled>
<label class="form-check-label" for="notifications">
<?= lang('receive_notifications') ?>
</label> </label>
</div>
<br> <div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="private">
<label class="form-check-label" for="private">
<?= lang('private') ?>
</label>
</div>
<div class="form-text text-muted mb-3">
<small>
<?= lang('private_hint') ?>
</small>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="notifications" disabled>
<label class="form-check-label" for="notifications">
<?= lang('receive_notifications') ?>
</label>
</div>
</div>
<h4><?= lang('services') ?></h4> <h4><?= lang('services') ?></h4>
<div id="provider-services" class="card card-body bg-light border-light"></div> <div id="provider-services" class="card card-body bg-light border-light"></div>

View file

@ -195,16 +195,19 @@
]) ?> ]) ?>
</div> </div>
<br>
<div class="form-check form-switch me-4"> <div class="border rounded mb-3 p-3">
<input class="form-check-input" type="checkbox" id="notifications" disabled> <label class="form-label mb-3">
<label class="form-check-label" for="notifications"> <?= lang('options') ?>
<?= lang('receive_notifications') ?>
</label> </label>
</div>
<br> <div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="notifications" disabled>
<label class="form-check-label" for="notifications">
<?= lang('receive_notifications') ?>
</label>
</div>
</div>
<h4><?= lang('providers') ?></h4> <h4><?= lang('providers') ?></h4>
<div id="secretary-providers" class="card card-body bg-light border-light"></div> <div id="secretary-providers" class="card card-body bg-light border-light"></div>