add onpage mini-search for listings

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-07-23 11:52:22 +02:00
parent b48c135d6d
commit 771d6c483a
18 changed files with 65 additions and 12 deletions

View File

@@ -29,6 +29,7 @@ return [
'filetpl_list' => [
'title' => lng('admin.templates.filetemplates'),
'icon' => 'fa-solid fa-file-lines',
'self_overview' => ['section' => 'templates', 'page' => 'email'],
'columns' => [
'template' => [
'label' => lng('admin.templates.action'),

View File

@@ -34,6 +34,7 @@ return [
'self_overview' => ['section' => 'phpsettings', 'page' => 'fpmdaemons'],
'columns' => [
'id' => [
'label' => 'ID',
'field' => 'id'
],
'description' => [
@@ -42,7 +43,8 @@ return [
],
'configs' => [
'label' => lng('admin.phpsettings.activephpconfigs'),
'callback' => [PHPConf::class, 'configsList']
'callback' => [PHPConf::class, 'configsList'],
'searchable' => false,
],
'reload_cmd' => [
'label' => lng('serversettings.phpfpm_settings.reload'),

View File

@@ -31,6 +31,7 @@ return [
'integrity_list' => [
'title' => lng('admin.integritycheck'),
'icon' => 'fa-solid fa-circle-check',
'self_overview' => ['section' => 'settings', 'page' => 'integritycheck'],
'columns' => [
'displayid' => [
'label' => 'ID',
@@ -43,7 +44,8 @@ return [
'result' => [
'label' => lng('admin.integrityresult'),
'field' => 'result',
'callback' => [Text::class, 'boolean']
'callback' => [Text::class, 'boolean'],
'searchable' => false,
]
],
'visible_columns' => Listing::getVisibleColumnsForListing('integrity_list', [

View File

@@ -29,6 +29,7 @@ return [
'mailtpl_list' => [
'title' => lng('admin.templates.templates'),
'icon' => 'fa-solid fa-envelope',
'self_overview' => ['section' => 'templates', 'page' => 'email'],
'columns' => [
'language' => [
'label' => lng('login.language'),

View File

@@ -45,7 +45,8 @@ return [
'domains' => [
'label' => lng('admin.phpsettings.activedomains'),
'field' => 'domains',
'callback' => [PHPConf::class, 'domainList']
'callback' => [PHPConf::class, 'domainList'],
'searchable' => false,
],
'fpmdesc' => [
'label' => lng('admin.phpsettings.fpmdesc'),

View File

@@ -30,6 +30,7 @@ return [
'plan_list' => [
'title' => lng('admin.plans.plans'),
'icon' => 'fa-solid fa-clipboard-list',
'self_overview' => ['section' => 'plans', 'page' => 'overview'],
'columns' => [
'p.id' => [
'label' => 'ID',