Correct the page title markup of settings pages

This commit is contained in:
Alex Tselegidis 2022-09-14 10:30:52 +02:00
parent c879b582a0
commit db31e7deb8
4 changed files with 19 additions and 12 deletions

View file

@ -8,8 +8,10 @@
<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('api') ?>
<div class="d-flex justify-content-between align-items-center border-bottom mb-4 py-2">
<h4 class="text-black-50 mb-0 fw-light">
<?= lang('api') ?>
</h4>
<?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?>
<button type="button" id="save-settings" class="btn btn-primary">
@ -17,7 +19,7 @@
<?= lang('save') ?>
</button>
<?php endif ?>
</legend>
</div>
<div class="row">
<div class="col-12">

View file

@ -12,8 +12,9 @@
<form>
<fieldset>
<div class="d-flex justify-content-between align-items-center border-bottom mb-4 py-2">
<h4 class="text-black-50 mb-0 fw-light">
<?= lang('booking_settings') ?>
</h4>
<?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?>
<button type="button" id="save-settings" class="btn btn-primary">
@ -22,7 +23,7 @@
</button>
<?php endif ?>
</div>
<div class="row mb-5 fields-row">
<div class="col-lg-6">
<div class="form-group mb-5">

View file

@ -8,8 +8,10 @@
<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('google_analytics') ?>
<div class="d-flex justify-content-between align-items-center border-bottom mb-4 py-2">
<h4 class="text-black-50 mb-0 fw-light">
<?= lang('google_analytics') ?>
</h4>
<?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?>
<button type="button" id="save-settings" class="btn btn-primary">
@ -17,7 +19,7 @@
<?= lang('save') ?>
</button>
<?php endif ?>
</legend>
</div>
<div class="row">
<div class="col-12">

View file

@ -8,8 +8,10 @@
<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('matomo_analytics') ?>
<div class="d-flex justify-content-between align-items-center border-bottom mb-4 py-2">
<h4 class="text-black-50 mb-0 fw-light">
<?= lang('matomo_analytics') ?>
</h4>
<?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?>
<button type="button" id="save-settings" class="btn btn-primary">
@ -17,7 +19,7 @@
<?= lang('save') ?>
</button>
<?php endif ?>
</legend>
</div>
<div class="row">
<div class="col-12">