Commit Graph

38 Commits

Author SHA1 Message Date
Ilia Ross
cbe1f7f17e Add single page layout to Framed Theme
This PR adds a "Page layout" setting to the Framed Theme, with a new single page layout that shows the menu on every page instead of in a frame.

It's meant for people who can't or don't want to use frames, so the Legacy Theme is no longer the only option without frames.

The menu code moved out of `left.cgi` into a shared menu-lib.pl, so both layouts build the same menu, frames look the same as before, and `left.cgi` shrinks from about 400 lines to about 60.

The menu's module search box now follows the global "webminsearch" permission, which the old frame code never actually checked.

One exception to be aware of. A server opened through Webmin Servers Index always uses frames, because that index only rewrites the links and redirects of framed pages.
2026-10-01 05:44:49 +02:00
Ilia Ross
e90b946de6 Update Framed theme with lovely light and dark design
This PR updates the framed gray theme with a modern light and dark design while keeping its frameset and old class names without adding any extra complexity on Perl or JS side.

The left menu becomes a floating panel with product logos, a product switch and a loading bar, and the system information page uses the new UI lib widgets for tiles and cards.

Color scheme that follows the browser or can be forced from the theme settings.
2026-09-30 16:43:53 +02:00
Ilia Ross
cbdc843500 Add theme switcher using hotkeys 2023-09-29 03:24:14 +03:00
iliajie
550c21bca7 Fix logos size 2023-05-11 15:15:52 +03:00
iliajie
67a0eca90c Fix not to enable warnings blindly on all code 2023-01-17 16:22:55 +02:00
iliajie
cb6ad018cf Fix support for Usermin 2022-12-11 19:55:11 +02:00
iliajie
6829c94257 Add favicons to Framed Theme 2022-12-11 18:56:18 +02:00
iliajie
590ce839ae Add logos to the dashboard depending on the product 2022-12-10 21:36:40 +02:00
iliajie
e18e20605a Fix to use HTML collapse in hidden_start and hidden_end 2022-12-10 18:45:47 +02:00
iliajie
0edfee6da2 Fix to use get_webprefix directly 2022-11-15 21:29:12 +02:00
Ilia
d2cce7482b Simply replace Gray Framed with Virtualmin Framed theme 2022-06-07 15:03:54 +03:00
Ilia Rostovtsev
f69fa81e59 Fix to get safely using wrapper sub 2/2 2021-09-28 16:30:05 +03:00
Jamie Cameron
14c99d1c83 Put a title box around alerts 2018-11-13 12:51:33 -08:00
Jamie Cameron
92a66b5159 Fix more perl warnings https://sourceforge.net/p/webadmin/bugs/4762/ 2016-05-27 09:48:16 -07:00
Jamie Cameron
08e23517cf Avoid use of undefined variable https://sourceforge.net/p/webadmin/usermin-bugs/448/ 2015-12-15 19:57:02 -08:00
Jamie Cameron
c8f8f55f1b Add webprefix to top-frame links http://sourceforge.net/p/webadmin/bugs/4536 2015-01-08 17:44:06 -08:00
Jamie Cameron
852b8d7576 Don't show invalid bar charts 2015-01-05 09:58:23 -08:00
Jamie Cameron
591d8e1f01 Multiple modules may use the same ID 2014-12-30 14:35:41 -08:00
Jamie Cameron
1728a31105 Show headers above sections 2014-12-20 16:01:41 -08:00
Jamie Cameron
3293374843 Support new param for link target 2014-12-20 13:57:37 -08:00
Jamie Cameron
521cfd6afd Support links on right frame, and add one to refresh system info 2014-12-19 17:09:50 -08:00
Jamie Cameron
a44eb9cd3d Support openable status blocks 2014-12-19 15:22:47 -08:00
Jamie Cameron
4c11ecfaa3 Fix chart that disappeared 2014-12-19 15:16:52 -08:00
Jamie Cameron
dc4ea2a94d Complete support for showing warnings on right frame 2014-12-17 14:54:09 -08:00
Jamie Cameron
a87400c0ea Add support for charts 2014-12-10 22:01:35 -08:00
Jamie Cameron
cc4442b140 Show charts 2014-12-09 17:02:34 -08:00
Jamie Cameron
b5772892df Start of work to show status from new API 2014-12-08 23:05:42 -08:00
Jamie Cameron
6754be9cd9 Convert gray theme to use new API for modules and left side nagivation 2014-12-08 18:52:18 -08:00
Jamie Cameron
8e2dddb959 Start creating a separate theme .pl file 2014-12-07 17:55:40 -08:00
Derrick Hammer
990d7d387d *Replace more links with &ui_link call 2014-06-08 17:56:01 -04:00
Jamie Cameron
075499bd43 Add link to proc module from memory 2013-08-21 21:05:26 -07:00
Jamie Cameron
c20d57519e Show burstable memory limit, if there is one 2013-06-28 15:07:53 -07:00
Jamie Cameron
83aa466701 Show message if smart check failed 2013-06-15 19:35:21 -07:00
Jamie Cameron
73124f5bb5 add useful links from right frame 2013-01-16 21:52:24 -08:00
Jamie Cameron
b69433a4c2 Show CPU and drive temps and errors 2013-01-06 12:13:30 -08:00
Jamie Cameron
4c49057796 Fix spacing and layout for system information page 2012-09-19 17:01:48 -07:00
Jamie Cameron
a3d28a125d Rename css files and images in new theme, to prevent caching 2012-09-19 10:25:55 -07:00
Jamie Cameron
aaa35d1f3c Start of work on new default theme 2012-09-18 21:36:29 -07:00