Re: [webmin-devel] Themes

"Martin Mewes" <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
Hi Josh,

josh green wrote ..
> Is anyone workin on an easy way to theme?  I'm of the firm belief that
> it should be possible to make it CSS ready so just a simple stylesheet change
> would change everything.  I'd love to see that day and i'd love to help
> if  possible.  anyway i'd also like to get started themeing but i'm totally
> lost  and can't seem to find anything on it.  can i get pointed in the right
> direction?  thanks

A module contains of the following contents by default:

$module/*
$module/lang/*
$module/images/*

It should be possible to insert something like

$module/css/*

which can be parsed by

$module/$module-lip.pl

in order to write the necessary css-code as

<style type="text/css">
<!--
/*  ... your code here ... */
-->
</style>

or to write

<link rel="stylesheet" type="text/css" href="../$module.css">

into the <header>-section.

But be aware: Webmin is designed as an administrative interface to unixoid systems and from my translations works I know that there are folks outside who are using browsers which do not support css (i.e. text-only browsers like links or lynx) in anyway as it is not necessary for administrative things.

On the other hand you must think about cross-plattform-css-compability as Konqueror may shows css in another way as Internet Explorer, Netscape Navigator, Mozilla, Firefox, AOL-Browser ...

I will not take you down on this, just my two cents.

bis dahin - kind regards

Martin Mewes

-- 
######################################################################
http://www.webmin.com/	| Webbased Administration Tool for
http://webmin.mamemu.de/| Unixoid Systems :-)
Webmin Translation Team
######################################################################



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.