web server in Samba4

Deryck Hodge deryck at samba.org
Wed Jun 1 15:45:11 GMT 2005

Hash: SHA1

Simo Sorce wrote:
> On Tue, 2005-05-31 at 10:10 +1000, Andrew Tridgell wrote:
>>The layout I've used is based on the layout from samba.org, using the
>>same css files and adapting the same html structures. I've abstracted
>>out the forms and menus into server side javascript objects (taking
>>advantage of the fact that we have js built into the smbd web
>>server). I think to properly support text browsers we'll just need
>>some server side code to choose different style sheets and perhaps to
>>replace some of the html generation objects with ones tuned for text
>>based browsers.
> I think we should heavily use a template based system, so that just
> changing the template set will give us a different view. This way we can
> achive both interoperability with text browsers, but also skins so that
> distributions may adapt the aspect of the administration tool to their
> other administration tools.
> But I think Deryck knows much better then me how to handle this stuff.
> Simo.

I agree that being able to "skin" SWAT in the flavor of your choice
would be nice.  The simplest way to do this would be to provide multiple
stylesheets -- a samba.org sheet, a tabbed-wireless-router-like sheet,
etc. -- and allow the user to specify which sheet to use.  Would we do
this via an smb.conf option (.i.e., web style = "samba.org")?  This
would also allow vendors to drop in vendor-specific styles and specify
those, rather than the ones we provide.

Just a thought...  again, I'll know better how to approach this as I get
into SWAT2 more this week.

- --
Deryck Hodge                            http://www.devurandom.org/
Auburn University Libraries             http://www.lib.auburn.edu/
Samba Team                              http://www.samba.org/

We've got information in the information age, but do
we know what life is outside of our convenient Lexus cages?
- --Switchfoot (2003)
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the samba-technical mailing list