From 2384e06fdf70bfe51fc242fb06edb54be3a3e4e3 Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Tue, 24 Aug 2010 17:27:10 +0000 Subject: SHARE: show level on any skins CONFIG: show moduls description on editing preferences USER: refactoring createTmpDir RECORDS: refactoring status handler SHARE: change order of topten view --- skins/blue/images/star_gray.png | 1 + skins/blue/images/star_rated.png | 1 + skins/blue/style-blue.css | 70 +++++++------ skins/blue_flat/style-blue_flat.css | 70 +++++++------ skins/lcars/images/star_gray.png | 1 + skins/lcars/images/star_rated.png | 1 + skins/lcars/style-lcars.css | 70 +++++++------ skins/lcars_flat/style-lcars_flat.css | 70 +++++++------ skins/snow/images/star_gray.png | 1 + skins/snow/images/star_rated.png | 1 + skins/snow/style-snow.css | 68 ++++++------ skins/snow_flat/style-snow_flat.css | 70 +++++++------ skins/stone/display.tmpl | 96 +++++++++-------- skins/stone/images/artwork/star_gray.svg | 167 ++++++++++++++++++++++++++++++ skins/stone/images/artwork/star_rated.svg | 154 +++++++++++++++++++++++++++ skins/stone/images/star_gray.png | Bin 0 -> 730 bytes skins/stone/images/star_rated.png | Bin 0 -> 748 bytes skins/stone/style-stone.css | 70 +++++++------ skins/stone_flat/style-stone_flat.css | 70 +++++++------ skins/xstyle/bloecke/stars.tmpl | 3 +- skins/xstyle/display.tmpl | 2 +- skins/xstyle/now.tmpl | 2 +- skins/xstyle/program.tmpl | 2 +- skins/xstyle/search.tmpl | 2 +- 24 files changed, 704 insertions(+), 288 deletions(-) create mode 120000 skins/blue/images/star_gray.png create mode 120000 skins/blue/images/star_rated.png create mode 120000 skins/lcars/images/star_gray.png create mode 120000 skins/lcars/images/star_rated.png create mode 120000 skins/snow/images/star_gray.png create mode 120000 skins/snow/images/star_rated.png create mode 100644 skins/stone/images/artwork/star_gray.svg create mode 100644 skins/stone/images/artwork/star_rated.svg create mode 100644 skins/stone/images/star_gray.png create mode 100644 skins/stone/images/star_rated.png diff --git a/skins/blue/images/star_gray.png b/skins/blue/images/star_gray.png new file mode 120000 index 0000000..94e8640 --- /dev/null +++ b/skins/blue/images/star_gray.png @@ -0,0 +1 @@ +../../stone/images/star_gray.png \ No newline at end of file diff --git a/skins/blue/images/star_rated.png b/skins/blue/images/star_rated.png new file mode 120000 index 0000000..90218c9 --- /dev/null +++ b/skins/blue/images/star_rated.png @@ -0,0 +1 @@ +../../stone/images/star_rated.png \ No newline at end of file diff --git a/skins/blue/style-blue.css b/skins/blue/style-blue.css index 2d583e4..d46c06a 100644 --- a/skins/blue/style-blue.css +++ b/skins/blue/style-blue.css @@ -675,45 +675,55 @@ background-color:#004774; border:1px solid #FFF; } -#slideframe{ -height:125px; -position:relative; -overflow:hidden; +#slideframe{ +height:125px; +position:relative; +overflow:hidden; margin:5px; } - -#slideleft{ -width:50px; -height:100%; -position:absolute; -left:0; -z-index:10; + +#slideleft{ +width:50px; +height:100%; +position:absolute; +left:0; +z-index:10; padding:1px; background:url(images/blank.gif) repeat; text-align:left; } - -#slideright{ -width:50px; -height:100%; -position:absolute; -right:0; -z-index:10; -padding:1px; + +#slideright{ +width:50px; +height:100%; +position:absolute; +right:0; +z-index:10; +padding:1px; background:url(images/blank.gif) repeat; text-align:right; } - -#slidelist{ -position:absolute; -height:auto; -} -#slidelist #slideend{ -float:left; -} +#slidelist{ +position:absolute; +height:auto; +} + +#slidelist #slideend{ +float:left; +} + +#slidelist img{ +float:left; +padding:1px; +} + +.levelbar { + width: 80px; + background: url(images/star_gray.png) 0 0 repeat-x; +} -#slidelist img{ -float:left; -padding:1px; +.levelbar div { + height: 16px; + background: url(images/star_rated.png) 0 0 repeat-x; } diff --git a/skins/blue_flat/style-blue_flat.css b/skins/blue_flat/style-blue_flat.css index 95a3038..b1d922d 100644 --- a/skins/blue_flat/style-blue_flat.css +++ b/skins/blue_flat/style-blue_flat.css @@ -673,45 +673,55 @@ background-color:#004774; border:1px solid #FFF; } -#slideframe{ -height:125px; -position:relative; -overflow:hidden; +#slideframe{ +height:125px; +position:relative; +overflow:hidden; margin:5px; } - -#slideleft{ -width:50px; -height:100%; -position:absolute; -left:0; -z-index:10; + +#slideleft{ +width:50px; +height:100%; +position:absolute; +left:0; +z-index:10; padding:1px; background:url(images/blank.gif) repeat; text-align:left; } - -#slideright{ -width:50px; -height:100%; -position:absolute; -right:0; -z-index:10; -padding:1px; + +#slideright{ +width:50px; +height:100%; +position:absolute; +right:0; +z-index:10; +padding:1px; background:url(images/blank.gif) repeat; text-align:right; } - -#slidelist{ -position:absolute; -height:auto; -} -#slidelist #slideend{ -float:left; -} +#slidelist{ +position:absolute; +height:auto; +} + +#slidelist #slideend{ +float:left; +} + +#slidelist img{ +float:left; +padding:1px; +} + +.levelbar { + width: 80px; + background: url(images/star_gray.png) 0 0 repeat-x; +} -#slidelist img{ -float:left; -padding:1px; +.levelbar div { + height: 16px; + background: url(images/star_rated.png) 0 0 repeat-x; } diff --git a/skins/lcars/images/star_gray.png b/skins/lcars/images/star_gray.png new file mode 120000 index 0000000..94e8640 --- /dev/null +++ b/skins/lcars/images/star_gray.png @@ -0,0 +1 @@ +../../stone/images/star_gray.png \ No newline at end of file diff --git a/skins/lcars/images/star_rated.png b/skins/lcars/images/star_rated.png new file mode 120000 index 0000000..90218c9 --- /dev/null +++ b/skins/lcars/images/star_rated.png @@ -0,0 +1 @@ +../../stone/images/star_rated.png \ No newline at end of file diff --git a/skins/lcars/style-lcars.css b/skins/lcars/style-lcars.css index 4ded372..83059b5 100644 --- a/skins/lcars/style-lcars.css +++ b/skins/lcars/style-lcars.css @@ -725,45 +725,55 @@ background-color:#ffd068; border:1px solid #c5a154; } -#slideframe{ -height:125px; -position:relative; -overflow:hidden; +#slideframe{ +height:125px; +position:relative; +overflow:hidden; margin:5px; } - -#slideleft{ -width:50px; -height:100%; -position:absolute; -left:0; -z-index:10; + +#slideleft{ +width:50px; +height:100%; +position:absolute; +left:0; +z-index:10; padding:1px; background:url(images/blank.gif) repeat; text-align:left; } - -#slideright{ -width:50px; -height:100%; -position:absolute; -right:0; -z-index:10; -padding:1px; + +#slideright{ +width:50px; +height:100%; +position:absolute; +right:0; +z-index:10; +padding:1px; background:url(images/blank.gif) repeat; text-align:right; } - -#slidelist{ -position:absolute; -height:auto; -} -#slidelist #slideend{ -float:left; -} +#slidelist{ +position:absolute; +height:auto; +} + +#slidelist #slideend{ +float:left; +} + +#slidelist img{ +float:left; +padding:1px; +} + +.levelbar { + width: 80px; + background: url(images/star_gray.png) 0 0 repeat-x; +} -#slidelist img{ -float:left; -padding:1px; +.levelbar div { + height: 16px; + background: url(images/star_rated.png) 0 0 repeat-x; } diff --git a/skins/lcars_flat/style-lcars_flat.css b/skins/lcars_flat/style-lcars_flat.css index 12ecfbf..c5ceefc 100644 --- a/skins/lcars_flat/style-lcars_flat.css +++ b/skins/lcars_flat/style-lcars_flat.css @@ -707,45 +707,55 @@ background-color:#ffd068; border:1px solid #c5a154; } -#slideframe{ -height:125px; -position:relative; -overflow:hidden; +#slideframe{ +height:125px; +position:relative; +overflow:hidden; margin:5px; } - -#slideleft{ -width:50px; -height:100%; -position:absolute; -left:0; -z-index:10; + +#slideleft{ +width:50px; +height:100%; +position:absolute; +left:0; +z-index:10; padding:1px; background:url(images/blank.gif) repeat; text-align:left; } - -#slideright{ -width:50px; -height:100%; -position:absolute; -right:0; -z-index:10; -padding:1px; + +#slideright{ +width:50px; +height:100%; +position:absolute; +right:0; +z-index:10; +padding:1px; background:url(images/blank.gif) repeat; text-align:right; } - -#slidelist{ -position:absolute; -height:auto; -} -#slidelist #slideend{ -float:left; -} +#slidelist{ +position:absolute; +height:auto; +} + +#slidelist #slideend{ +float:left; +} + +#slidelist img{ +float:left; +padding:1px; +} + +.levelbar { + width: 80px; + background: url(images/star_gray.png) 0 0 repeat-x; +} -#slidelist img{ -float:left; -padding:1px; +.levelbar div { + height: 16px; + background: url(images/star_rated.png) 0 0 repeat-x; } diff --git a/skins/snow/images/star_gray.png b/skins/snow/images/star_gray.png new file mode 120000 index 0000000..94e8640 --- /dev/null +++ b/skins/snow/images/star_gray.png @@ -0,0 +1 @@ +../../stone/images/star_gray.png \ No newline at end of file diff --git a/skins/snow/images/star_rated.png b/skins/snow/images/star_rated.png new file mode 120000 index 0000000..90218c9 --- /dev/null +++ b/skins/snow/images/star_rated.png @@ -0,0 +1 @@ +../../stone/images/star_rated.png \ No newline at end of file diff --git a/skins/snow/style-snow.css b/skins/snow/style-snow.css index dd3d804..6181d26 100644 --- a/skins/snow/style-snow.css +++ b/skins/snow/style-snow.css @@ -688,45 +688,55 @@ background-color:#FFF; border:1px solid #000; } -#slideframe{ -height:125px; -position:relative; -overflow:hidden; +#slideframe{ +height:125px; +position:relative; +overflow:hidden; margin:5px; } - -#slideleft{ -width:50px; -height:100%; -position:absolute; -left:0; -z-index:10; + +#slideleft{ +width:50px; +height:100%; +position:absolute; +left:0; +z-index:10; padding:1px; background:url(images/blank.gif) repeat; text-align:left; } - -#slideright{ -width:50px; -height:100%; -position:absolute; -right:0; -z-index:10; -padding:1px; + +#slideright{ +width:50px; +height:100%; +position:absolute; +right:0; +z-index:10; +padding:1px; background:url(images/blank.gif) repeat; text-align:right; } - -#slidelist{ -position:absolute; -height:auto; -} -#slidelist #slideend{ +#slidelist{ +position:absolute; +height:auto; +} + +#slidelist #slideend{ float:left; -} +} + +#slidelist img{ +float:left; +padding:1px; +} + +.levelbar { + width: 80px; + background: url(images/star_gray.png) 0 0 repeat-x; +} -#slidelist img{ -float:left; -padding:1px; +.levelbar div { + height: 16px; + background: url(images/star_rated.png) 0 0 repeat-x; } diff --git a/skins/snow_flat/style-snow_flat.css b/skins/snow_flat/style-snow_flat.css index 4361413..6cdbd0f 100644 --- a/skins/snow_flat/style-snow_flat.css +++ b/skins/snow_flat/style-snow_flat.css @@ -675,45 +675,55 @@ background-color:#FFF; border:1px solid #000; } -#slideframe{ -height:125px; -position:relative; -overflow:hidden; +#slideframe{ +height:125px; +position:relative; +overflow:hidden; margin:5px; } - -#slideleft{ -width:50px; -height:100%; -position:absolute; -left:0; -z-index:10; + +#slideleft{ +width:50px; +height:100%; +position:absolute; +left:0; +z-index:10; padding:1px; background:url(images/blank.gif) repeat; text-align:left; } - -#slideright{ -width:50px; -height:100%; -position:absolute; -right:0; -z-index:10; -padding:1px; + +#slideright{ +width:50px; +height:100%; +position:absolute; +right:0; +z-index:10; +padding:1px; background:url(images/blank.gif) repeat; text-align:right; } - -#slidelist{ -position:absolute; -height:auto; -} -#slidelist #slideend{ -float:left; -} +#slidelist{ +position:absolute; +height:auto; +} + +#slidelist #slideend{ +float:left; +} + +#slidelist img{ +float:left; +padding:1px; +} + +.levelbar { + width: 80px; + background: url(images/star_gray.png) 0 0 repeat-x; +} -#slidelist img{ -float:left; -padding:1px; +.levelbar div { + height: 16px; + background: url(images/star_rated.png) 0 0 repeat-x; } diff --git a/skins/stone/display.tmpl b/skins/stone/display.tmpl index e3381c0..396c148 100644 --- a/skins/stone/display.tmpl +++ b/skins/stone/display.tmpl @@ -5,7 +5,7 @@ @@ -33,14 +33,15 @@ running=data.last.12; pdc = data.last.14; channelid = data.last.15; + level = data.last.16; %?> = 0 and d < 100;d = d div 1 %?> - = 1 %?> - <?% 100 - d %?>% + = 1 %?> + <?% 100 - d %?>% - + @@ -56,18 +57,18 @@ END %?> -
- 3 %?> -
" alt="" />
-
" alt="" />
- -
+
+ 3 %?> +
" alt="" />
+
" alt="" />
+ +
- -
-
-
+ +
+
+
@@ -96,65 +97,74 @@ END %?> - - - 100 %?> diff --git a/skins/xstyle/now.tmpl b/skins/xstyle/now.tmpl index eec2851..083f55e 100644 --- a/skins/xstyle/now.tmpl +++ b/skins/xstyle/now.tmpl @@ -61,7 +61,7 @@ bgcolor='#F5F5F5'>
+ + + - - - - +
0 %?> ~ 
-
- - - + + + +
+
+ + + - + - + + - -
" />  - + " />  - - + +
-
+
- +
 -     ( )    
-
- - + +
- -
+
+ +
-
- - + + +

- + + +

+ +

+ +

+
diff --git a/skins/stone/images/artwork/star_gray.svg b/skins/stone/images/artwork/star_gray.svg new file mode 100644 index 0000000..fdd7c65 --- /dev/null +++ b/skins/stone/images/artwork/star_gray.svg @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/skins/stone/images/artwork/star_rated.svg b/skins/stone/images/artwork/star_rated.svg new file mode 100644 index 0000000..e960a86 --- /dev/null +++ b/skins/stone/images/artwork/star_rated.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/skins/stone/images/star_gray.png b/skins/stone/images/star_gray.png new file mode 100644 index 0000000..a2f69ad Binary files /dev/null and b/skins/stone/images/star_gray.png differ diff --git a/skins/stone/images/star_rated.png b/skins/stone/images/star_rated.png new file mode 100644 index 0000000..0b70613 Binary files /dev/null and b/skins/stone/images/star_rated.png differ diff --git a/skins/stone/style-stone.css b/skins/stone/style-stone.css index 742242b..8294590 100644 --- a/skins/stone/style-stone.css +++ b/skins/stone/style-stone.css @@ -670,45 +670,55 @@ background-color:#e2e2e2; border:1px solid #CCC; } -#slideframe{ -height:125px; -position:relative; -overflow:hidden; +#slideframe{ +height:125px; +position:relative; +overflow:hidden; margin:5px; } - -#slideleft{ -width:50px; -height:100%; -position:absolute; -left:0; -z-index:10; + +#slideleft{ +width:50px; +height:100%; +position:absolute; +left:0; +z-index:10; padding:1px; background:url(images/blank.gif) repeat; text-align:left; } - -#slideright{ -width:50px; -height:100%; -position:absolute; -right:0; -z-index:10; -padding:1px; + +#slideright{ +width:50px; +height:100%; +position:absolute; +right:0; +z-index:10; +padding:1px; background:url(images/blank.gif) repeat; text-align:right; } - -#slidelist{ -position:absolute; -height:auto; -} -#slidelist #slideend{ -float:left; -} +#slidelist{ +position:absolute; +height:auto; +} + +#slidelist #slideend{ +float:left; +} + +#slidelist img{ +float:left; +padding:1px; +} + +.levelbar { + width: 80px; + background: url(images/star_gray.png) 0 0 repeat-x; +} -#slidelist img{ -float:left; -padding:1px; +.levelbar div { + height: 16px; + background: url(images/star_rated.png) 0 0 repeat-x; } diff --git a/skins/stone_flat/style-stone_flat.css b/skins/stone_flat/style-stone_flat.css index 20499d8..f4a8631 100644 --- a/skins/stone_flat/style-stone_flat.css +++ b/skins/stone_flat/style-stone_flat.css @@ -683,45 +683,55 @@ background-color:#e2e2e2; border:1px solid #CCC; } -#slideframe{ -height:125px; -position:relative; -overflow:hidden; +#slideframe{ +height:125px; +position:relative; +overflow:hidden; margin:5px; } - -#slideleft{ -width:50px; -height:100%; -position:absolute; -left:0; -z-index:10; + +#slideleft{ +width:50px; +height:100%; +position:absolute; +left:0; +z-index:10; padding:1px; background:url(images/blank.gif) repeat; text-align:left; } - -#slideright{ -width:50px; -height:100%; -position:absolute; -right:0; -z-index:10; -padding:1px; + +#slideright{ +width:50px; +height:100%; +position:absolute; +right:0; +z-index:10; +padding:1px; background:url(images/blank.gif) repeat; text-align:right; } - -#slidelist{ -position:absolute; -height:auto; -} -#slidelist #slideend{ -float:left; -} +#slidelist{ +position:absolute; +height:auto; +} + +#slidelist #slideend{ +float:left; +} + +#slidelist img{ +float:left; +padding:1px; +} + +.levelbar { + width: 80px; + background: url(images/star_gray.png) 0 0 repeat-x; +} -#slidelist img{ -float:left; -padding:1px; +.levelbar div { + height: 16px; + background: url(images/star_rated.png) 0 0 repeat-x; } diff --git a/skins/xstyle/bloecke/stars.tmpl b/skins/xstyle/bloecke/stars.tmpl index a313141..002a20d 100755 --- a/skins/xstyle/bloecke/stars.tmpl +++ b/skins/xstyle/bloecke/stars.tmpl @@ -1,4 +1,3 @@ - - + diff --git a/skins/xstyle/display.tmpl b/skins/xstyle/display.tmpl index b87f2ff..148e801 100644 --- a/skins/xstyle/display.tmpl +++ b/skins/xstyle/display.tmpl @@ -45,7 +45,7 @@
- +
- + diff --git a/skins/xstyle/program.tmpl b/skins/xstyle/program.tmpl index 42ba1ac..7d860d9 100644 --- a/skins/xstyle/program.tmpl +++ b/skins/xstyle/program.tmpl @@ -50,7 +50,7 @@ - + diff --git a/skins/xstyle/search.tmpl b/skins/xstyle/search.tmpl index 6c47e57..9818492 100644 --- a/skins/xstyle/search.tmpl +++ b/skins/xstyle/search.tmpl @@ -133,7 +133,7 @@ - + -- cgit v1.2.3