StressFree | David Harrison

Open source development & digital architectural collaboration

Webmin 'Tiger' theme

Submitted by David on 2 October 2005 - 12:12am
Printer-friendly version

After some long hours picking graphics and colours I have my Webmin theme at a point where it can be used. It features a completely new graphical look, high colour icons, dropdown menus and an AJAX search tool for locating Webmin modules quickly. It has been tested in Firefox, Safari and Internet Explorer.

Download now

Alternatively you can download the latest development build from the Google Code Subversion repository.

News and updates

For the latest development news on this theme please see this listing of articles.

Say thank you with a donation

Bandwidth unfortunately costs money. To help me out with this if you download the theme and like it feel free to make a donation in my tip jar (PayPal) by clicking the button below.
Thanks to those of you have already made donations, it is greatly appreciated.

Installation

To install open Webmin and browse to Webmin -> Webmin Configuration -> Webmin Themes
Select the downloaded archive from your local disk and press the Install Theme button.
Once installed change the Current Theme dropdown to StressFree Theme and press the Change button.

Note: This will change the default theme for Webmin but will not effect users who have selected a personal theme. If you have enabled the StressFree theme as the default yet find it is not applied check your personal theme settings:

  • Category -> Webmin -> Webmin Users.
  • Select your username (e.g. root).
  • Open "User interface options" and ensure the "Personal Theme" field is set to either "From Webmin Configuration" or to the specific theme name (StressFree).

Screencast

Screenshots only go so far when it comes to illustrating what this theme does. The screencast below demonstrates the theme's drop-down menu and search functionality.

 

Screenshots

Fantastic, thank you

Threw some $$ your way. Thanks very much for all the effort you put into building this.

Cheers.

Error in footer of custom commands

After a clean install (no altering done) there is an error in the footer of the webmin page while using the custom commands. Is there a fix available for this error?

 

Cannot recreate

I cannot recreate this error and given the supplied information there is no reason why it should only be occurring for the Custom Command module.

Make sure you are using the latest version of the theme and a current version of Webmin.

Support for Virtualmin?

Hey, does your theme come with support for Virtualmin as well?

If it does... I'm looking forward to using this :)

Not at present

VirtualMin is not currently supported due to the way this Webmin extension has been implemented. A significant portion of the VirtualMin user-interface and logic is implemented within the default VirtualMin theme rather than in standalone modules. As a consequence, if this theme were to support VirtualMin it would have to replicate all of the logic that is buried within the default theme.

From my perspective this is too much work to achieve and maintain. The moment the VirtualMin developers shift the bulk of their logic out of their default theme and into a standalone module I will look at supporting it.

Problem on shutdown page

Hi,

i like the stressfree theme very much. But in the current version (and perhaps one or two versions before) i recognized a problem:

I have a direct link to /init/shutdown.cgi and there a very strange thing happens:

 

I only see a part of the top menu, the page sourcecode ends with:

<li><a title="Create, edit and delete Cron jobs." href="/cron/index.cgi">
<img class='modicon' src='/icons/cron.png' alt="Create, edit and
 

The problem still shows up after reload, cache cleaning on latest Firefox and IE. Changing back to webmin default team solves the problem on the shutdown page. Additional information: webmin language setting is german.

Check your Webmin error log (miniserv.error)

It looks like something is causing a Perl error to be thrown.

Can check the logs to see if there is anything suspicious. Could you also email me with a full HTML dump of the problem page.

David

Hi David, thnaks for your

Hi David, thnaks for your reply.

 

where can i find this error log?

Check your miniserv.conf file

The location of the Webmin logs is defined in the miniserv.conf file. In the majority of Linux Webmin installations you can find this file in /etc/webmin.

I feel silly :)

I checked all logs in /var/webmin but there where no suspicios entries. So i went back to shutdown.cgi just to see if there are some other hints. And now its working, ununderstandable.

Before reporting the issue i checked on multiple browsers, changed webmin themes to default und back to stressfree and the issue was reproduceable.

I'm sorry for wasting your time, but the issue seems to be gone magically...

this theme is pretty cool but

this theme is pretty cool but i REALLY miss the "virtualmin" overview that the framed theme gives... also i really miss first overview page that framed theme gives when you login... untill this theme get these things i wont be using it..sorry :p

Support for VirtualMin is not possible at this point in time

Unfortunately VirtualMin cannot be efficiently themed as the developers require too much VirtualMin specific code to be placed within the theme layer. This is caused by a decision to place significant amounts of VirtualMin functionality within the theme layer, rather than in standalone modules.

This current configuration makes supporting VirtualMin impractical as including all this VirtualMin logic would grow the theme codebase by a factor of 4+. It would also mean any VirtualMin changes would need to be tracked in the third-party theme. This sort of effort just isn't justifiable, plus the third-party theme will always be playing catchup to the official VirtualMin release.

This situation may change in the future as a VirtualMin developer is modularising the VirtualMin infrastructure and exposing its functionality via AJAX. If this initiative matures and becomes part of VirtualMin, then third-party theming will become more practical, although still not as straightforward as a vanilla Webmin theme.

Problem

Hay there, I have an error after installing theme, something like: "HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Wed, 14 Oct 2009 21:39:07 GMT Content-type: text/html Connection: close Error - Perl execution failed Undefined subroutine &main::get_visible_modules_categories called at /usr/libexec/webmin/theme-stressfree/theme.pl line 500." What i need to do now ?

Check your Webmin theme version

If you are not using a current version of Webmin you will need to disable the new menu system by following the instructions here:

http://www.stress-free.co.nz/stressfree_webmin_theme_version_204_released

How to create custom field in session_login.cgi

Hi,
I just want to create 1 dropdown list in session_logic.cgi for user to select the language option.

just like this:
$clang = $gconfig{'lang'} ? $gconfig{'lang'} : $default_lang;
print "<tr> <td><b>$text{'lang_lang'}</b></td>\n";
print "<td><select name=lang>\n";
foreach $l (&list_languages()) {
printf "<option value=%s %s>%s (%s)\n",
$l->{'lang'},
$clang eq $l->{'lang'} ? 'selected' : '',
$l->{'desc'}, uc($l->{'lang'});
}
print "</select></td> </tr>\n";

But I could not retrieve the value of field 'lang' in this page?

I tried the following but no working:
$in{'lang'};

How to do this?

Thanks

Sorry, language support isn't my thing

It is best that you consulted the Webmin documentation for any questions on language support as I know next to nothing on the subject. You could post your question onto the Webmin development mailing list to see if anyone can help you out there.

Great theme, thanks for

Great theme, thanks for sharing...

Just perfect Looks

Cool theme, it makes it looks like it came from heaven hehe seriously, nice theme, can we customize it also?

The code is open source

You are welcome to modify the theme if you are technically inclined. Just head over to the Google Code site to get the Perl and underlying CSS/images:

http://code.google.com/p/webmin-theme-stressfree/

Thanks for sharing your hard

Thanks for sharing your hard work. I dropped a few bucks, hope it helps.

Cheers Jeremy

Thanks for the donation, it is much appreciated.

Thanks

This theme is amazing, great work! donated like 5 pounds, dont know what that is in the USA...but i hope it helps. Thanks, Tim

Theme loses CSS

Hi, Just to let you now that when anonmous access is set to a module it appears to lose the style sheet. Have just had a thought that this may perhaps be due to using remote_user rather than base_remote_user. I'll have a closer look now to see about a fix. Also I notice that if a page goes outwith the horizontal scroll it also loses the background unless sidebar is active. Nice theme though. Great work and much appreciated. Jason.

I'll look into it

I had not tested the annoymous user case, my guess is Webmin is denying access to the external CSS file because the request isn't authenticated.

Pages that are wider than the page break the theme but there isn't much that can be done about this I'm afraid given the way things hang together. In theory the module creators shouldn't be generating HTML content that fits within a reasonable container area.

How can I make this theme

How can I make this theme hide software that is not installed? The default webmin theme only lists software that is installed (where it can find a default conf, I presume).

good question!

I have the same question... Whatever ... Great theme. Thnx

Google Gears

hi, what about adding Google Gears ability? it will save so many download time especially for graphics and javascript files. i know i can hide the icon, but your icons are too good to hide :) i love good looking tools as much as its functions. best regards, dwi

That's a mighty big hammer for a small problem...

The problem is the overhead of adding Google Gears support would outweigh the bandwidth benefits. The graphics themselves are small in size and there is no Webmin functionality that could make use of Gears without significant alterations.

That being said if the Webmin guys were to rewrite the underlying system so that it was web service centric you could do some really cool things. e.g. If you could make system changes offline and then when you reconnect have them sync to your server(s). Unfortunately that is a lot of work and would require a complete rewrite of the core and supporting modules. However if the time was to be put in interface developers like myself would have a lot more opportunities to do things with Gears, Flash, Silverlight and any other RIA technology you'd care to name.

Gears again: done.

done. for the time being, because i dont have perl programming skill, i use php-cli to generate manifest file.
  • i add 2 more javascipt files to javascript directory,
  • create php script to make manifest file and
  • gears.css at root folder.
  • also a readme.txt in the root folder as installation guide.
you can download or use it directly (for trial) from http://design.ebali.web.id/theme-stressfree-gears.wbt.gz
please read readme.txt before use it.

for others who also download it, this theme is released without warranty at all, use it with your own risk.

best regards, dwi

Thanks

I will test this out over Christmas. If it doesn't cause issues I will include the changes in the theme.

Gears support added in version 2.0 of the theme

The Gears support contributed by Dwi Kristianto has been incorporated into version 2.0 of the StressFree Webmin theme. For more information checkout this post.

gears is simple... ???

hi david, actually adding gears functions is simple. i've download your code and extract it, and seeing that you have access to insert something in the output html. and that' all the google gears need, an access to add its code to the output html. why i was requesting in here? because i dont have pearl skill yet, i've tried to learn it but stuck it somewhere.. maybe i dont have enough brain volume :) if you agree, i will try to add gears code for your current template and upload it somewhere. problem is that google gears need manifest file list, a list of cached file. it can be created manually or automatically using script. ok, i will get back later, with simple sample code. btw, thanks for the warm response. regards, dwi

Beautiful theme guy!!! A Very

Beautiful theme guy!!! A Very beutiful work!!!

WOW,

I found this site looking for usermin themes. This was worth the research. Very nice job, i will be donating soon . I also added a link to your site from my knowledgebase blog ..

WOW

Amazing theme! Simply amazing!

Thanks

Thanks for the support Chris.

sidebar does not work with new webmin module

I am trying to create a new webmin module.It works fine with the default theme. In this theme the pages are getting loaded but the sidebar functionality does not work.Error occur in this function. function switchSidebar() { var sidebarClass = $('sidebar').className; ..... } $('sidebar') is null. Please suggest.

Check the validity of your HTML

This is almost certainly caused by an error in your generated HTML. Ensure that all your HTML tags are valid and correctly closed. 

If it helps send me through the generated HTML from your module via the Contact link above.

David

Webmin and/or Usermin

The theme is running nicely in Webmin, but is not active for Usermin ? Did somebody know why ?

Thanks for this nice work guy

A.

Theme for Usermin

This theme works with usermin as well, but by default it doesnt appear in the theme scetion that is why you have to login with root in webmin and have to install it for usermin under usermin theme section. Many thanks Dodi

Patch to hide the new style 'table#altlogout' used in =>1.390

In Webmin 1.390 a new style is introduced. 'table#altlogout' shows another (new) logout-button in the maincontent-area.
In my opinion this is unwanted and should be fixed.

Here's a small (and maybe dirty) fix. In theme.css add the following:

/**
* Hide the extra logout-button (altlogout) introduced in Webmin 1.390
*/
table#altlogout {
display: none;
}

HTH... Greetings and thanks for this great theme,

Mischa.

Thanks will commit next week

Thanks for this patch, I haven't done any testing with 1.390 but when I get back from holiday next week I will commit this.

Regards,

David 

Really a great Theme

Thank you!

Displaying Domain Names in Apache and BIND Modules

I too am so impressed with your theme that I work in it every day, and have donated ... but not nearly enough I'm sure.

One quirk: when managing multiple domains in both the Apache and BIND modules, on other themes the domain name is displayed immediately below either "Virtual Server Options" (in Apache) or "Edit Master Zone" (in BIND). Not so in the stress-free theme? Is anyone else finding this, or is it just my installations?

I notice in the HTML the domain name is there in a div (id="maincontent") just before the hr tag (id='post_header_hr'), it just does not display.

Fixed in version 1.93

I have fixed this bug in version 1.93 of the theme as well as adding some extra icons to Apache and Bind to cover the virtual host functionality.

Webmin theme error - OS X Server

Hello,

I installed your theme on Webmin 1.370 on OS X 10.4.10 and unfortunately I am running into an error. I get this error (after the login screen) Undefined subroutine &main::theme_prehead called at /Users/administrator/Desktop/webmin-1.370/web-lib-funcs.pl line 5896.

It seems to be caused by the normal webmin sidebar (on the left) showing all of the categories, etc. still showing instead of letting the StressFree tiger theme do the work.

Please email me ASAP. Thank you so much!

Sorry this seems specific to OSX/Webmin

Unfortunately I cannot really help you with this question as it would seem to be specific to OSX and your installation of Webmin rather than the theme itself.

I have a few OSX systems but they are all production machines that I cannot afford making changes to. Normally I do Webmin testing within a virtual machine but OSX is about the only operating system that does not allow virtualisation in its license.

Given that it sounds like the default theme sidebar is being displayed I would try clearing your browsers cache just to check that isn't causing an unforeseen issue.As far as the error goes it doesn't look like the theme itself is causing the problem (the error mentions Webmin's core library file).

Sorry I can't be of further assistance.

Webmin update to 1.380 fixed the problem

Thank you for your reply. I updated to 1.380 and then reapplied the theme and it seems to work. Great job on it and thank you once again.

I agree with the poster

I agree with the poster below who asks for Virtualmin type theme.
I'll go with the current theme.. but once there is support on your theme for Virtualmin, I switch immediately. :)

Good luck, and thank you!

Virtuamin

Will there be any continued work on the Virtuamin (GPL/Pro) module stuff?

I really love the theme, but wish it focused on the Virtuamin stuff a bit more, as the Virtuamin theme does - having easy access to all the module functions is really useful, and some things seem a bit unclear in this theme, for example the subheaders under each domain are just the same as normal text so don't really stand out. Support for the Pro version of Virtuamin would be useful as well.

Still, a really nice theme, thanks a lot for making it!