diff options
author | Yorhel <git@yorhel.nl> | 2008-12-21 11:26:56 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-12-21 11:26:56 +0100 |
commit | 7ad6213b615f925684bd5afd52f064c7e29653fa (patch) | |
tree | 5d8fd58812ede4d574c7970e4d414009792e16a9 /lib | |
parent | 4b89163955f33bfb49b774de48a701daebec374f (diff) |
Basic skin generator + example skin for testing
How it works:
Create new directory in static/s/
Create a 'conf' file (see the test skin for a template)
Run skingen.pl, which will generate a style.css and boxbg.png
This process will probably be automated using a simple web interface
or something...
There's no skin selector yet, so Util/LayoutHTML.pm has to be modified
to view the generated skin.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VNDB/Util/LayoutHTML.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm index e5ced8f6..0c125b35 100644 --- a/lib/VNDB/Util/LayoutHTML.pm +++ b/lib/VNDB/Util/LayoutHTML.pm @@ -19,6 +19,7 @@ sub htmlHeader { # %options->{ title, js, noindex, search } title $o{title}; Link rel => 'shortcut icon', href => '/favicon.ico', type => 'image/x-icon'; Link rel => 'stylesheet', href => $self->{url_static}.'/f/style.css', type => 'text/css', media => 'all'; + Link rel => 'stylesheet', href => $self->{url_static}.'/s/test/style.css', type => 'text/css', media => 'all'; if($o{js}) { script type => 'text/javascript', src => $self->{url_static}.'/f/forms.js'; end; } |