PDA

View Full Version : [Slim-Checkins] r3777 - in trunk/server/Plugins:Picks/HTML/Fishbone/plugins/PicksRadioIO/HTML/Fishbone/plugins/RadioIOShoutcastBrowser/HTML/Fishbone/plugins/ShoutcastBrowser



mherger
2005-07-21, 23:47
Kevin,

This might be the day I start using Fishbone :-) The original black/red
style always depressed me too much. This is excellent! If I wanted to do
another color set, would I only have to change the stylesheet?

But back to work... I'll have to update my plugins' skins:

> -<html>
> - <head>
> - <title>[% pagetitle %]</title>
> - <link rel="stylesheet" href="[% webroot %]slimserver.css">
> - </head>
> - <body bgcolor="#FFFFFF">
> - <p>
> -
> +[% PROCESS pageheader.html %]
> <h3>[% "PLUGIN_PICKS_MODULE_NAME" | string %]</h3><p>

Is this the standard tweak needed? Remove the header plus the first <p>
and add the pageheader.html?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

kdf
2005-07-22, 00:56
Quoting Michael Herger <slim (AT) herger (DOT) net>:

> Kevin,
>
> This might be the day I start using Fishbone :-) The original black/red
> style always depressed me too much. This is excellent! If I wanted to do
> another color set, would I only have to change the stylesheet?

absolutely. And the readme.html can be edited to allow switching if you wanted.
Otherwise, you can hijack any of the three included ones to make it how you
want.

> But back to work... I'll have to update my plugins' skins:

didn't we do this recently? :) I dont think any have fishbone skin templates. I
did the included ones because they are jarring if they don't follow the rest.
Curently, Live365 and AlienBBC are known to have only the standard style. I
just haven't gotten around to patching live365 since i have to take a more
careful look. it doesn't have the simple index.html file.

> > -<html>
> > - <head>
> > - <title>[% pagetitle %]</title>
> > - <link rel="stylesheet" href="[% webroot %]slimserver.css">
> > - </head>
> > - <body bgcolor="#FFFFFF">
> > - <p>
> > -
> > +[% PROCESS pageheader.html %]
> > <h3>[% "PLUGIN_PICKS_MODULE_NAME" | string %]</h3><p>
>
> Is this the standard tweak needed? Remove the header plus the first <p>
> and add the pageheader.html?

well, mostly just removing the header, and the body tag. that is covered by the
pageheader. its not always the solution (see ShoutcastBrowser) but it works in
the simple cases.

-kdf

mherger
2005-07-22, 01:12
>> This is excellent! If I wanted to do
>> another color set, would I only have to change the stylesheet?
>
> absolutely. And the readme.html can be edited to allow switching if you
> wanted.

I'll soon be commuting 3hrs a day. This is typically the kind of stuff
that can be done in the train.

> Otherwise, you can hijack any of the three included ones to make it how
> you want.

I'm the master of copy/paste! Most of my code is stolen somewhere else :-).

>> But back to work... I'll have to update my plugins' skins:
>
> didn't we do this recently? :) I dont think any have fishbone skin
> templates.

Oh, they do! After all Fishbone seems to be the most popular skin around.
But last time it was about the images used in the skin. And my plugins
don't use any of those.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

mherger
2005-07-22, 01:20
> I'll soon be commuting 3hrs a day. This is typically the kind of stuff
> that can be done in the train.

When I say "This is...", I mean editing CSS files, not commuting :-)

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)