📜 ⬆️ ⬇️

Webmin - the way we all would like to see it

Webmin is a web-based interface for Unix system administration. Who are the system administrators not aware of this?

Also, everyone knows that the Webmin project was launched a long time ago (about 15 years ago), which left its mark on the management and integration of modern themes (designs) for the panel. Some of the modern modules in Webmin are controlled by a library called ui-lib.pl , which is part of its distribution, which processes the module arriving for further mapping. Only here the problem lies in the fact that many of the presented modules, by virtue of their antiquity, do not interact at all with the library mentioned above. Old modules were simply created individually, as it were. According to the developers, the problem of complete separation of and is planned to be completely eliminated in Webmin 2.0 , but this will happen years later.

Today, creating the perfect panel theme, observing all modern rules and standards, is not easy. Having set this task in front of me, and having spent about 200 hours of work, in the end, I got a result that turned out to be above all my initial expectations.
')

Presentation





For building a theme, which I called Authentic - theme for Webmin / Usermin / Virtualmin / Cloudmin based on Bootstrap and Font Awesome that is made with love . Initially, I used the alpha release at the time of the existing theme, which used Bootstrap and Font Awesome . Only that alpha release was not suitable for everyday use, due to the fact that it worked only from about 10% of the total content of the control panel. Plus, the mistakes made during the development by previous authors did not allow even saving changes in more than half of the cases, since the form simply did not contain the necessary (lost) attributes.

I corrected all this in my work, releasing an absolutely working and daily-use version of the theme.

Authentic runs the latest versions of Bootstrap and jQuery , uses Font Awesome , CodeMirror and several other modern plugins.

Principles




Functionality (at the time of version 13.0.0)




How to install authentic theme?


For instructions on how to use the theme, just look at the FAQ on my repository on GitHub , everything is described in detail. I advise you to read the section on creating symlink for the Usermin theme in order to avoid unnecessary work.

For those who just want to download and install the theme:
  1. Download the finished topic;
  2. Install it for Webmin by following Webmin->Webmin Configuration->Webmin Themes->Install themes->From uploaded file or for Usermin by following Webmin->Usermin Configuration->Usermin Themes->Install themes->From uploaded file .

If Virtualmin / Cloudmin modules are already installed on the server, then nothing needs to be done, everything will just work.

An important detail is that in order for the theme to work properly , you need the latest versions of Webmin / Usermin / Virtualmin / Cloudmin . The minimum requirements for Webmin are version 1.730, for Usermin version 1.640, for Virtualmin version 4.14, and for Cloudmin version 8.01.

The theme is included in the official Webmin distribution and we are talking about making Authentic Theme the default theme.

Thank you all for your attention.

Source: https://habr.com/ru/post/237797/


All Articles