Commit Graph

9 Commits

Author SHA1 Message Date
cflakes
286722eda5 Revamped default webadmin skin. It's very grayish, but looks way more like 2010 than the old default skin does.
The blue favicon.ico has been copied from the other webadmin skins.
Here's a screenshot: http://img402.imageshack.us/img402/2452/zncsettings126435334747.png


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1720 726aef4b-f618-498e-8847-2d620e286838
2010-01-24 17:19:07 +00:00
cflakes
44661c2d31 Following the bug report at [1] and a short discussion on IRC, this changes webadmin HTML pages' default charset to UTF-8. Since we do not have a routine that detects an input's charset or even converts it to UTF-8, this will cause ISO-8859-1(1) or other non UTF-8 encoded inputs that have been set e.g. as module arguments from IRC or from a non-UTF-8 shell console to show up garbled in webadmin. A possible fix would be to convert strings to UTF-8 before inserting them into the templates. We'll see what the future holds.
[1] http://sourceforge.net/tracker/index.php?func=detail&aid=2933280&group_id=115828&atid=672821


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1716 726aef4b-f618-498e-8847-2d620e286838
2010-01-18 19:52:16 +00:00
psychon
3b9a9c2b80 Webadmin: Make this work with the browser cache
This moves all static webadmin files (images, css) to the data/ subdirectory
of the skin dir. The webadmin module is changed to redirect requests to
/<skin name>/ to that data directory. The skins are changed to use the
new URL when linking to their stuff. (I only needed to change the path to
the main.css file in each Header.tmpl. Since the .css and the images are now
in the same directory, relative URLs work just fine).

This means that we now generate different URLs after changing the webadmin
skins and the browser cache can do its thing.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1481 726aef4b-f618-498e-8847-2d620e286838
2009-04-06 16:00:23 +00:00
psychon
aca6783f6f Use relative instead of absolute URLs in webadmin
This should make it possible to use webadmin together with apache's mod_proxy.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1253 726aef4b-f618-498e-8847-2d620e286838
2008-10-17 16:27:18 +00:00
prozacx
b81c806aaf Stop using '@' user@ip since usernames can have @
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@686 726aef4b-f618-498e-8847-2d620e286838
2006-03-15 18:35:24 +00:00
prozacx
2a7cd84ec0 Made changes to validate on w3.org
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@662 726aef4b-f618-498e-8847-2d620e286838
2006-02-19 07:46:39 +00:00
prozacx
60940a3225 Added Switch User and sidebar for non admins
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@658 726aef4b-f618-498e-8847-2d620e286838
2006-02-18 21:32:30 +00:00
prozacx
6c7c662baa Fixed path to css
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@614 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 05:56:25 +00:00
prozacx
60a8f677e4 Added template support for webadmin module
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@612 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 03:19:13 +00:00