diff --git a/gray-theme/left.cgi b/gray-theme/left.cgi index 8789cdb2a..7e592a16e 100755 --- a/gray-theme/left.cgi +++ b/gray-theme/left.cgi @@ -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'} && diff --git a/ui-demo/README.md b/ui-demo/README.md index aaefa7fde..471f9b5fc 100644 --- a/ui-demo/README.md +++ b/ui-demo/README.md @@ -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 diff --git a/ui-demo/module.info b/ui-demo/module.info index eca45203e..daf24bbd2 100644 --- a/ui-demo/module.info +++ b/ui-demo/module.info @@ -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