Fix UI Demo module category
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
Close inactive / close-inactive (push) Has been cancelled

This commit is contained in:
Ilia Ross
2026-09-21 03:50:10 +02:00
parent fcd0f80ad9
commit 3a2b2b8671
3 changed files with 1 additions and 13 deletions

View File

@@ -133,17 +133,6 @@ if ($mode eq "modules" && foreign_available("webmin")) {
'icon' => '/images/reload.png' });
}
# Show the UI demo module when it has been dropped into the Webmin root,
# so it is reachable even before it has been added to the user's module list
if (-d &module_root_directory('ui-demo')) {
my %ui_demo = &get_module_info('ui-demo');
push(@leftitems, { 'type' => 'item',
'id' => 'ui-demo',
'desc' => $ui_demo{'desc'} || 'UI Demo',
'icon' => '/ui-demo/images/menu.svg',
'link' => '/ui-demo/' });
}
# Show logout link
get_miniserv_config(\%miniserv);
if ($miniserv{'logout'} && !$ENV{'SSL_USER'} && !$ENV{'LOCAL_USER'} &&

View File

@@ -4,7 +4,7 @@ A read-only Webmin module that shows the widgets added at the end of
`ui-lib.pl` next to the existing tabs, forms, buttons and tables they are
meant to be combined with. It is a reference for writing new modules and
is not part of the Webmin distribution. Dropping this directory into the
Webmin root is enough to make it appear under the *Others* category.
Webmin root is enough to make it appear under the *Tools* category.
## What it shows

View File

@@ -1,6 +1,5 @@
desc=UI Demo
longdesc=Read-only gallery of the widgets in ui-lib.pl and of the existing forms, buttons and tables they are meant to be combined with. A reference for writing new modules; not part of the distribution.
category=others
os_support=*
noacl=1
readonly=1