Commit Graph

29 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
75902910fc Fix column start to add extra classes 2026-09-07 15:13:11 +02:00
Ilia Ross
20a487ca5a Add UI widgets and demo module
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
ⓘ Add composable widgets, shared styling and interactions, sortable-table options, and a read-only UI gallery.
2026-09-05 03:52:39 +02:00
Ilia Ross
19fdea395b Fix tab data escaping with proper JSON encoding
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
*Note: This is important if we want to support tags inside tab name, for example in case of showing a count of elements using HTML tag created with `ui_tag('tt')`
2026-03-21 21:00:10 +02:00
Ilia Ross
6d1ec1a3e1 Fix missing tags
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
2026-03-15 16:28:38 +02:00
Ilia Ross
0c8777acef Add support for nested forms embedded in tabs 2024-05-12 01:17:42 +03:00
Ilia Ross
4be368c523 Fix elements overflow in shell module [build]
https://forum.virtualmin.com/t/webmin-command-shell-module-oddity-the-text-input-field-extends-past-screens-end/122741/9?u=ilia
2023-09-23 13:08:18 +03:00
iliajie
8bd7c32c10 Fix to keep font size and color in sync for viewer and editor 2023-06-17 19:21:57 +03:00
iliajie
e77b97bc5f Fix to make sure that ids will always match 2023-05-30 22:32:36 +03:00
iliajie
7ea1236eb6 Add support for passing HTML attributes and classes to ui_table_row sub 2023-04-06 16:16:58 +03: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
iliajie
ef40015214 Fix CSS file name 2022-11-15 21:24:52 +02:00
iliajie
7f61f2536d Merge branch 'master' into dev/gray-theme-replace 2022-07-20 20:45:50 +03:00
luz paz
3e6142f098 Fix user and non-user facing typos 2022-06-29 07:17:11 -04: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
9f409d725d Fix nesting tables in other modules 2019-12-08 07:57:49 -08:00
Jamie Cameron
402caed4dd Fix relative heights 2017-07-02 09:10:54 -07:00
Jamie Cameron
064faff227 Text areas should always be monospace 2017-07-01 17:35:53 -07:00
Jamie Cameron
3037f233ac Gray theme doesn't do the full left menu yet https://sourceforge.net/p/webadmin/usermin-bugs/431/ 2015-01-05 10:15:02 -08:00
Jamie Cameron
b6f2167e02 Remove functions that we've marked as useless now 2014-12-13 11:17:09 -08:00
Jamie Cameron
6697810b99 Actually there is no need to support a different right.cgi, as this theme will be package with Webmin. Also, remove refereces to Virtualmin. 2014-12-08 22:50:02 -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
e4a7bc76f7 Add a label tag linking a field description with the input 2014-08-23 23:46:53 -07:00
nawawi
b538a06d65 another html,js cleanup 2013-11-08 22:29:09 +08: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