Update the timezone info styling in the appointments and unavailability modals

This commit is contained in:
Alex Tselegidis 2023-05-03 07:51:53 +02:00
parent c6b21ec045
commit 36ff857c4d
2 changed files with 34 additions and 23 deletions

View File

@ -167,16 +167,20 @@
<div
class="border rounded d-flex justify-content-between align-items-center bg-light timezone-info">
<div class="border-end w-50 p-1 text-center">
<?= lang('provider') ?>:
<span class="provider-timezone">
-
</span>
<small>
<?= lang('provider') ?>:
<span class="provider-timezone">
-
</span>
</small>
</div>
<div class="w-50 p-1 text-center">
<?= lang('current_user') ?>:
<span>
<?= $timezones[session('timezone', 'UTC')] ?>
</span>
<small>
<?= lang('current_user') ?>:
<span>
<?= $timezones[session('timezone', 'UTC')] ?>
</span>
</small>
</div>
</div>
</div>

View File

@ -45,22 +45,29 @@
</div>
<div class="mb-3">
<label class="form-label"><?= lang('timezone') ?></label>
<label class="form-label">
<?= lang('timezone') ?>
</label>
<ul>
<li>
<?= lang('provider') ?>:
<span class="provider-timezone">
-
</span>
</li>
<li>
<?= lang('current_user') ?>:
<span>
<?= $timezones[$timezone] ?>
</span>
</li>
</ul>
<div
class="border rounded d-flex justify-content-between align-items-center bg-light timezone-info">
<div class="border-end w-50 p-1 text-center">
<small>
<?= lang('provider') ?>:
<span class="provider-timezone">
-
</span>
</small>
</div>
<div class="w-50 p-1 text-center">
<small>
<?= lang('current_user') ?>:
<span>
<?= $timezones[session('timezone', 'UTC')] ?>
</span>
</small>
</div>
</div>
</div>
<div class="mb-3">