diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-06-12 21:31:32 +0000 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-06-12 21:31:32 +0000 |
commit | 24e370825db3ad367b158fad8062a65b51c37764 (patch) | |
tree | 53cec87bd3982565a180e3ea5d5c80ab3dce156d /doc | |
parent | 735df57886b042ff3edc65a01b808476f7e20401 (diff) | |
download | vdr-plugin-live-24e370825db3ad367b158fad8062a65b51c37764.tar.gz vdr-plugin-live-24e370825db3ad367b158fad8062a65b51c37764.tar.bz2 |
- New theme orange-blue (see ChangeLog for more info).
- Some minor style fixes.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ChangeLog | 15 | ||||
-rw-r--r-- | doc/css-themeing.txt | 34 |
2 files changed, 32 insertions, 17 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index 97ea096..2576af5 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,18 @@ +2007-06-12 Dieter Hametner <dh+vdr at gekrumbel dot de> + + Added orange-blue theme as an example of a theme with dark + background and light foreground colors. This theme also + demonstrates the use of exchanged images (logo.png, tv.jpg and + remotecontrol.jpg) + + * styles.css: some minor style fixes, that became visible while + creating the orange-blue theme. + +2007-06-11 Dieter Hametner <dh+vdr at gekrumbel dot de> + + Fixed style layout of the tables. Added class 'bottomrow' to the + rows that are followed by empty spacer rows. + 2007-06-06 Dieter Hametner <dh+vdr at gekrumbel dot de> Use GetConfigDir instead of USRDIR define. diff --git a/doc/css-themeing.txt b/doc/css-themeing.txt index 3148838..7b9137d 100644 --- a/doc/css-themeing.txt +++ b/doc/css-themeing.txt @@ -58,11 +58,11 @@ Location of the resources in the file system -------------------------------------------- All themable content must be present in the directory specified by -USRDIR. The default USRDIR is /usr/share/vdr-plugin-live. This can be -changed at compile time by setting the USRDIR variable -(i.E. USRDIR=/tmp/live make). - -That means all themes must reside in USRDIR/themes. +'GetConfigDir'. GetConfigDir returns at runtime the position in the +filesystem where the plugins configuration file is stored. The +location is build from the vdr config path appended with the plugins +name (i.E. /var/lib/vdr/plugins/live). The themes are located in the +'themes' subdirectory of the above path. Structure of a theme package @@ -89,25 +89,25 @@ Selecting a theme in live In the live setup page, the user can select the desired theme. When the settings are saved the selected themes become active. Live detects the available themes dynamicaly by scanning the 'themes' directory in -USERDIR for available themes and creates the select box from this -information. +plugins config directory for available themes and creates the select +box from this information. So the installation of a new theme is easyly done by unpacking a -theme-archive in USRDIR/themes. This assumes the theme-archive follows -the structure of a theme package as described above. +theme-archive in the themes directory. This assumes the theme-archive +follows the structure of a theme package as described above. Security provisions ------------------- Live will map every url starting with themes/<themename>/css or -themes/<themename>/img to exactly these directories under USRDIR. That -means any path components after 'img' or 'css' are discarded. Only the -basename of the url is appended to these directories. This is to -prevent possible malicous requests to other locations in the -filesystem by adding '..' to the request path. The downside of this -is, that no additional directories below 'img' and 'css' are possible -for the theme designer. +themes/<themename>/img to exactly these directories under the location +of the themes directory. That means any path components after 'img' or +'css' are discarded. Only the basename of the url is appended to these +directories. This is to prevent possible malicous requests to other +locations in the filesystem by adding '..' to the request path. The +downside of this is, that no additional directories below 'img' and +'css' are possible for the theme designer. User Contribution @@ -116,5 +116,5 @@ User Contribution If you created a nice new look, you can provide it to us. We will try to include it into the live distribution. -If you need special html support for your styling needs don't hesitate +If you need special html support for your styling needs, don't hesitate to submit a suggestion. |