Add a "back" button to the integrations page.

This commit is contained in:
Alex Tselegidis 2023-01-21 12:46:06 +01:00
parent 335f50037a
commit 1f9d82b18e
3 changed files with 39 additions and 18 deletions

View file

@ -13,6 +13,12 @@
<?= lang('api') ?> <?= lang('api') ?>
</h4> </h4>
<div>
<a href="<?= site_url('integrations') ?>" class="btn btn-outline-primary me-2">
<i class="fas fa-chevron-left me-2"></i>
<?= lang('back') ?>
</a>
<?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?> <?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?>
<button type="button" id="save-settings" class="btn btn-primary"> <button type="button" id="save-settings" class="btn btn-primary">
<i class="fas fa-check-square me-2"></i> <i class="fas fa-check-square me-2"></i>
@ -20,6 +26,7 @@
</button> </button>
<?php endif ?> <?php endif ?>
</div> </div>
</div>
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">

View file

@ -13,6 +13,12 @@
<?= lang('google_analytics') ?> <?= lang('google_analytics') ?>
</h4> </h4>
<div>
<a href="<?= site_url('integrations') ?>" class="btn btn-outline-primary me-2">
<i class="fas fa-chevron-left me-2"></i>
<?= lang('back') ?>
</a>
<?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?> <?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?>
<button type="button" id="save-settings" class="btn btn-primary"> <button type="button" id="save-settings" class="btn btn-primary">
<i class="fas fa-check-square me-2"></i> <i class="fas fa-check-square me-2"></i>
@ -20,6 +26,7 @@
</button> </button>
<?php endif ?> <?php endif ?>
</div> </div>
</div>
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">

View file

@ -13,6 +13,12 @@
<?= lang('matomo_analytics') ?> <?= lang('matomo_analytics') ?>
</h4> </h4>
<div>
<a href="<?= site_url('integrations') ?>" class="btn btn-outline-primary me-2">
<i class="fas fa-chevron-left me-2"></i>
<?= lang('back') ?>
</a>
<?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?> <?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?>
<button type="button" id="save-settings" class="btn btn-primary"> <button type="button" id="save-settings" class="btn btn-primary">
<i class="fas fa-check-square me-2"></i> <i class="fas fa-check-square me-2"></i>
@ -20,6 +26,7 @@
</button> </button>
<?php endif ?> <?php endif ?>
</div> </div>
</div>
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">