Files
breadcrumb-the-shire/pages/admin/settings/index(default).phtml
fs c14d42f198 refactor(settings): split security into 4 focused tiles
Extracts user-lifecycle, audit and telemetry from the security subpage
into their own tiles, and renames the slimmed-down security subpage to
account-access for a clearer scope. Each subpage now has at most three
detail cards instead of the eight previously crowded into security.

Hub gains four tiles, sub-action redirects (expire-remember-tokens,
run-user-lifecycle) move to their new sections, architecture tests track
the new section list and i18n adds the new labels in de + en.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 08:50:05 +02:00

93 lines
2.6 KiB
PHTML

<?php
/**
* Landing hub for admin/settings.
*
* Each section is a standalone subpage reachable via its own URL
* (admin/settings/<section>). This page renders a tile grid of entry points.
*/
?>
<div class="app-dashboard-titlebar">
<h1><?php e(t('Settings')); ?></h1>
</div>
<hr>
<div class="app-dashboard">
<div class="app-tiles">
<?php
appTile([
'href' => 'admin/settings/general',
'label' => t('General'),
'icon' => 'bi bi-sliders',
'iconBg' => '#e0ecff',
'iconColor' => '#2563eb',
'tooltip' => t('App title, language, user creation defaults'),
]);
appTile([
'href' => 'admin/settings/account-access',
'label' => t('Account access'),
'icon' => 'bi bi-shield-lock',
'iconBg' => '#ede9fe',
'iconColor' => '#7c3aed',
'tooltip' => t('Registration, sessions, login persistence'),
]);
appTile([
'href' => 'admin/settings/user-lifecycle',
'label' => t('User lifecycle'),
'icon' => 'bi bi-arrow-repeat',
'iconBg' => '#fee2e2',
'iconColor' => '#b91c1c',
'tooltip' => t('Inactivity deactivation and deletion policy'),
]);
appTile([
'href' => 'admin/settings/audit',
'label' => t('Audit log'),
'icon' => 'bi bi-journal-text',
'iconBg' => '#fff7ed',
'iconColor' => '#c2410c',
'tooltip' => t('System audit log enable and retention'),
]);
appTile([
'href' => 'admin/settings/telemetry',
'label' => t('Telemetry'),
'icon' => 'bi bi-graph-up',
'iconBg' => '#ecfdf5',
'iconColor' => '#047857',
'tooltip' => t('Frontend telemetry collection and event allowlist'),
]);
appTile([
'href' => 'admin/settings/email',
'label' => t('Email'),
'icon' => 'bi bi-envelope',
'iconBg' => '#fef3c7',
'iconColor' => '#d97706',
'tooltip' => t('SMTP connection and sender details'),
]);
appTile([
'href' => 'admin/settings/api',
'label' => t('API'),
'icon' => 'bi bi-key',
'iconBg' => '#d1fae5',
'iconColor' => '#059669',
'tooltip' => t('API token policy and CORS allowlist'),
]);
appTile([
'href' => 'admin/settings/sso',
'label' => t('Microsoft SSO'),
'icon' => 'bi bi-microsoft',
'iconBg' => '#dbeafe',
'iconColor' => '#0891b2',
'tooltip' => t('Shared Microsoft Entra ID credentials'),
]);
appTile([
'href' => 'admin/settings/branding',
'label' => t('Branding'),
'icon' => 'bi bi-palette',
'iconBg' => '#fce7f3',
'iconColor' => '#be185d',
'tooltip' => t('App logo and favicon'),
]);
?>
</div>
</div>