mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 11:57:25 +00:00
Tabs on record pages, quick looks, forms, the admin category and tag kinds on a phone and the mail settings fold into More like the list views instead of wrapping onto several lines or scrolling sideways, with More styled as one of the tabs and the open tab and form validation still working
This commit is contained in:
@@ -107,7 +107,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<div class="row g-0">
|
||||
<!-- Kinds -->
|
||||
<div class="col-md-4 col-lg-3 border-end">
|
||||
<nav class="nav nav-pills flex-nowrap flex-md-column overflow-auto p-2 gap-1 itflow-category-kinds" aria-label="Kinds of category">
|
||||
<nav class="nav nav-pills flex-nowrap flex-md-column overflow-auto p-2 gap-1 itflow-category-kinds itflow-tabs-foldable" aria-label="Kinds of category">
|
||||
<?php foreach ($kinds as $kind_key => $kind_config) { ?>
|
||||
<a class="nav-link d-flex align-items-center gap-2 text-nowrap<?= $kind_key === $kind ? ' active' : '' ?>" href="categories.php?category=<?= urlencode($kind_key) ?>" title="<?= escapeHtml($kind_config['about']) ?>"<?= $kind_key === $kind ? ' aria-current="page"' : '' ?>>
|
||||
<i class="fas fa-fw <?= $kind_config['icon'] ?>"></i><span class="text-truncate"><?= escapeHtml($kind_config['label']) ?></span>
|
||||
|
||||
@@ -145,7 +145,7 @@ if (!$config_module_enable_ticketing) {
|
||||
<div class="card itflow-settings-card">
|
||||
<div class="card-body">
|
||||
|
||||
<ul class="nav nav-tabs pt-3" id="mailTabs" role="tablist">
|
||||
<ul class="nav nav-tabs pt-3 itflow-tabs-foldable" id="mailTabs" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?php if ($active_tab === 'sending') { echo 'active'; } ?>" href="?tab=sending" data-bs-target="#tab-sending">
|
||||
<i class="fas fa-fw fa-paper-plane me-1"></i>Sending<?= renderMailStatusDot($smtp_on) ?>
|
||||
|
||||
@@ -97,7 +97,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<div class="row g-0">
|
||||
<!-- Kinds -->
|
||||
<div class="col-md-3 col-xl-2 border-end">
|
||||
<nav class="nav nav-pills flex-nowrap flex-md-column overflow-auto p-2 gap-1 itflow-tag-kinds" aria-label="Kinds of tag">
|
||||
<nav class="nav nav-pills flex-nowrap flex-md-column overflow-auto p-2 gap-1 itflow-tag-kinds itflow-tabs-foldable" aria-label="Kinds of tag">
|
||||
<?php foreach ($kinds as $kind_type => $kind_config) { ?>
|
||||
<a class="nav-link d-flex align-items-center gap-2 text-nowrap<?= $kind_type === $type ? ' active' : '' ?>" href="tags.php?type=<?= $kind_type ?>"<?= $kind_type === $type ? ' aria-current="page"' : '' ?>>
|
||||
<i class="fas fa-fw <?= $kind_config['icon'] ?>"></i><?= ucfirst($kind_config['plural']) ?>
|
||||
|
||||
Reference in New Issue
Block a user