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,9 +196,12 @@
]) ?>
</div>
<br>
<div class="border rounded mb-3 p-3">
<label class="form-label mb-3">
<?= lang('options') ?>
</label>
<div class="form-check form-switch me-4">
<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') ?>
@ -209,6 +212,7 @@
</div>
</div>
</div>
</div>
<?php section('content') ?>

View file

@ -146,25 +146,6 @@
<input id="zip-code" class="form-control" maxlength="64" disabled>
</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">
<label class="form-label" for="notes">
<?= lang('notes') ?>
@ -237,16 +218,31 @@
]) ?>
</div>
<br>
<div class="border rounded mb-3 p-3">
<label class="form-label mb-3">
<?= lang('options') ?>
</label>
<div class="form-check form-switch me-4">
<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>
<br>
</div>
<h4><?= lang('services') ?></h4>
<div id="provider-services" class="card card-body bg-light border-light"></div>

View file

@ -195,16 +195,19 @@
]) ?>
</div>
<br>
<div class="form-check form-switch me-4">
<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="notifications" disabled>
<label class="form-check-label" for="notifications">
<?= lang('receive_notifications') ?>
</label>
</div>
<br>
</div>
<h4><?= lang('providers') ?></h4>
<div id="secretary-providers" class="card card-body bg-light border-light"></div>