refresh form extension admin interface

Improve form editing, settings, submission lists, and navigation with responsive layouts and accessibility enhancements. Update the form wrapper block view and regenerate the extension stylesheet. Ignore .agents and skills-lock.json.
This commit is contained in:
2026-11-25 09:59:51 +01:00
parent ca7ee32091
commit 151ac9df4c
8 changed files with 231 additions and 120 deletions
+4 -2
View File
@@ -33,13 +33,14 @@ if (isset($_GET['action']) && array_key_exists($_GET['action'], $modules)) $acti
<?php
if ($modules[$activeModule]['showTabs'] === true):
?>
<div class="tabs tabs-boxed bg-base-200/50 mb-6">
<nav class="mb-6 overflow-x-auto" aria-label="Form extension navigation">
<div class="tabs tabs-boxed w-max min-w-full bg-base-200/50">
<?php
foreach ($modules as $name => $module):
if ($module['inMenu'] === false) continue;
$icon = $module['icon'] ?? 'ph-circle';
?>
<a class="tab gap-2 <?= $name === $activeModule ? 'tab-active' : '' ?>" href="<?= phpb_url('website_manager', ['tab' => 'ext--form', 'action' => $name]) ?>">
<a class="tab gap-2 <?= $name === $activeModule ? 'tab-active' : '' ?>" <?= $name === $activeModule ? 'aria-current="page"' : '' ?> href="<?= phpb_url('website_manager', ['tab' => 'ext--form', 'action' => $name]) ?>">
<i class="ph-duotone <?= $icon ?>"></i>
<?= $module['label'] ?>
</a>
@@ -47,6 +48,7 @@ if ($modules[$activeModule]['showTabs'] === true):
endforeach;
?>
</div>
</nav>
<?php
endif;
?>