Actions
Feature #933
closedSome beautifications to snow & stone skin
Start date:
04/07/2012
Due date:
% Done:
100%
Estimated time:
Description
Maybe some of the below improvements can be feed in the repo:
- Increase width for the fixed width views
- Fixes to get rid of some warnings in the logfile
diff --git a/lib/XXV/MODULES/KEYWORDS.pm b/lib/XXV/MODULES/KEYWORDS.pm
index 6285dec..264159b 100644
--- a/lib/XXV/MODULES/KEYWORDS.pm
+++ b/lib/XXV/MODULES/KEYWORDS.pm
@@ -322,7 +322,7 @@ sub parsexml {
$aux =~ s/(\r|\n)//sg;
if($aux && $aux =~ /^<.*/ ) {
- my $args = eval { $self->{xml}->XMLin($aux, KeepRoot => 1 ) } ;
+ my $args = eval { $self->{xml}->XMLin("<aux>".$aux."</aux>", KeepRoot => 0 ) } ;
if ($@) {
if($Tools::VERBOSE >= 4) {
error sprintf("Can't parse xml data : %s - %s", $@, $aux);
diff --git a/skins/snow/style-snow.css b/skins/snow/style-snow.css
index 6181d26..7161457 100644
--- a/skins/snow/style-snow.css
+++ b/skins/snow/style-snow.css
@@ -521,13 +521,13 @@ height:15px;
}
table.largetable {
-width:800px;
+width:1000px;
color:#000;
}
td.largehead {
vertical-align:middle;
-background:url(images/head800.gif) no-repeat;
+background:url(images/head1000.gif) no-repeat;
height:20px;
color:#000;
font-size:11px;
@@ -537,14 +537,14 @@ padding:0 12px 0 4px;
td.largetext {
vertical-align:top;
-background:url(images/dark800.gif) repeat-y;
+background:url(images/dark1000.gif) repeat-y;
font-size:11px;
padding:4px 12px 4px 4px;
}
td.largebottom {
vertical-align:bottom;
-background:url(images/down800.gif) no-repeat;
+background:url(images/down1000.gif) no-repeat;
height:15px;
}
diff --git a/skins/snow_flat/style-snow_flat.css b/skins/snow_flat/style-snow_flat.css
index 6cdbd0f..2c3be69 100644
--- a/skins/snow_flat/style-snow_flat.css
+++ b/skins/snow_flat/style-snow_flat.css
@@ -532,13 +532,13 @@ height:15px;
}
table.largetable {
-width:800px;
+width:1000px;
color:#000;
}
td.largehead {
vertical-align:middle;
-background:url(images/head800.gif) no-repeat;
+background:url(images/head1000.gif) no-repeat;
height:20px;
color:#000;
font-size:12px;
@@ -548,14 +548,14 @@ padding:0 12px 0 4px;
td.largetext {
vertical-align:top;
-background:url(images/dark800.gif) repeat-y;
+background:url(images/dark1000.gif) repeat-y;
font-size:11px;
padding:4px 12px 4px 4px;
}
td.largebottom {
vertical-align:bottom;
-background:url(images/down800.gif) no-repeat;
+background:url(images/down1000.gif) no-repeat;
height:15px;
}
diff --git a/skins/stone/clist.tmpl b/skins/stone/clist.tmpl
index 987b3c0..3a6842a 100644
--- a/skins/stone/clist.tmpl
+++ b/skins/stone/clist.tmpl
@@ -17,6 +17,8 @@
<?% END %?>
<?% IF cgi.param('start') %?>
<?% start = cgi.param('start') %?>
+ <?% ELSE %?>
+ <?% start = 0 %?>
<?% END %?>
<?% ######################################################################## %?>
<?% BLOCK PageButtons %?>
@@ -82,16 +84,16 @@
<?% srate %?>
</td>-->
<td class="fieldinline">
- <?% chop(VPID,10) %?>
+ <?% chop(VPID,12) %?>
</td>
<td class="fieldinline">
- <?% chop(APID,10) %?>
+ <?% chop(APID,25) %?>
</td>
<td class="fieldinline">
- <?% chop(TPID,10) %?>
+ <?% chop(TPID,12) %?>
</td>
<td class="fieldinline">
- <?% chop(CA,10) %?>
+ <?% chop(CA,30) %?>
</td>
<td class="fieldinline push">
<?% PROCESS RowButtons %?>
@@ -157,16 +159,16 @@
<tr>
<td class="largetext" align="left">
<table summary="" width="100%">
- <tr><th width="20"></th>
- <th width="120"><?% gettext('Name') %?></th>
- <th><?% gettext('Transponder frequency',6)%?></th>
+ <tr align="left"><th width="20"></th>
+ <th width="160"><?% gettext('Name') %?></th>
+ <th><?% gettext('Transponder frequency',8)%?></th>
<th><?% gettext('Various parameters, depending on signal source',8) %?></th>
<th><?% gettext('Signal source',6) %?></th>
<!--<th><?% gettext('Symbol rate',6) %?></th>-->
<th><?% gettext('Video PID (VPID)',10) %?></th>
- <th><?% gettext('Audio PID (APID)',10) %?></th>
+ <th><?% gettext('Audio PID (APID)',20) %?></th>
<th><?% gettext('Teletext PID (TPID)',10) %?></th>
- <th><?% gettext('Conditional access (CA)',10)%?></th>
+ <th><?% gettext('Conditional access (CA)',20)%?></th>
<th width="64" align="right"></th>
</tr>
<?% END %?>
diff --git a/skins/stone/rlist.tmpl b/skins/stone/rlist.tmpl
index c03a343..95b8c3a 100644
--- a/skins/stone/rlist.tmpl
+++ b/skins/stone/rlist.tmpl
@@ -214,6 +214,7 @@
description=zeile.11;
preview=zeile.12;
cutlength=zeile.13;
+ IF cutlength == ""; cutlength = 0; END;
foldertitle=fulltitle.split('~').last;
IF foldertitle == " "; foldertitle=fulltitle.split('~').last(2).join(" "); END;
-%?>
@@ -350,6 +351,7 @@
<td class="sidebottom"></td>
</tr>
</table>
+ <?% IF param.keywords.size == ""; param.keywords.size = 0; END %?>
<?% IF param.keywords.size > 0 && allow('rk') %?>
<table summary="">
<tr><td class="sidehead"><?% gettext("Keywords",20) %?></td></tr>
diff --git a/skins/stone/schema.tmpl b/skins/stone/schema.tmpl
index eb1ba46..59d7b84 100644
--- a/skins/stone/schema.tmpl
+++ b/skins/stone/schema.tmpl
@@ -2,7 +2,7 @@
<body class="frame">
<?% ######################################################################## %?>
<div id="body">
-<?% widthtable = 775 %?>
+<?% widthtable = 975 %?>
<?% widthfirst = 100 %?>
<?% IF allow('switch') %?>
<?% widthfirst = widthfirst + 25 %?>
diff --git a/skins/stone/skin.cfg b/skins/stone/skin.cfg
index b96c568..3f46b5d 100644
--- a/skins/stone/skin.cfg
+++ b/skins/stone/skin.cfg
@@ -8,4 +8,4 @@
<?% SET global.preferedlocal = 0 %?>
<?% ######################################################################## %?>
<?% # Limit rows per page %?>
-<?% SET global.pagelimit = 250 %?>
+<?% SET global.pagelimit = 2500 %?>
diff --git a/skins/stone/style-stone.css b/skins/stone/style-stone.css
index 8294590..5a96233 100644
--- a/skins/stone/style-stone.css
+++ b/skins/stone/style-stone.css
@@ -490,14 +490,14 @@ height:1px;
}
table.largetable {
-background:url(images/dark800.gif) repeat-y;
-width:800px;
+background:url(images/dark1000.gif) repeat-y;
+width:1000px;
margin-bottom:5px;
}
td.largehead {
vertical-align:middle;
-background:url(images/head800.gif) no-repeat;
+background:url(images/head1000.gif) no-repeat;
height:20px;
color:#000;
font-size:12px;
@@ -507,7 +507,7 @@ padding:0 4px 0 4px;
td.largetext {
vertical-align:top;
-background:url(images/dark800.gif) repeat-y;
+background:url(images/dark1000.gif) repeat-y;
color:#000;
font-size:11px;
padding:1px;
@@ -515,7 +515,7 @@ padding:1px;
td.largebottom {
vertical-align:bottom;
-background:url(images/down800.gif) no-repeat;
+background:url(images/down1000.gif) no-repeat;
height:1px;
}
diff --git a/skins/stone_flat/schema.tmpl b/skins/stone_flat/schema.tmpl
index 7f314ad..4224a93 100644
--- a/skins/stone_flat/schema.tmpl
+++ b/skins/stone_flat/schema.tmpl
@@ -2,7 +2,7 @@
<body class="frame">
<?% ######################################################################## %?>
<div id="body">
-<?% widthtable = 775 %?>
+<?% widthtable = 925 %?>
<?% widthfirst = 100 %?>
<?% IF allow('switch') %?>
<?% widthfirst = widthfirst + 25 %?>
diff --git a/skins/stone_flat/style-stone_flat.css b/skins/stone_flat/style-stone_flat.css
index f4a8631..b8c0586 100644
--- a/skins/stone_flat/style-stone_flat.css
+++ b/skins/stone_flat/style-stone_flat.css
@@ -518,14 +518,14 @@ height:1px;
}
table.largetable {
-background:url(images/dark800.gif) repeat-y;
-width:800px;
+background:url(images/dark1000.gif) repeat-y;
+width:1000px;
margin-bottom:5px;
}
td.largehead {
vertical-align:middle;
-background:url(images/head800.gif) no-repeat;
+background:url(images/head1000.gif) no-repeat;
height:20px;
color:#000;
font-size:12px;
@@ -535,7 +535,7 @@ padding:0 4px 0 4px;
td.largetext {
vertical-align:top;
-background:url(images/dark800.gif) repeat-y;
+background:url(images/dark1000.gif) repeat-y;
color:#000;
font-size:12px;
padding:1px;
@@ -543,7 +543,7 @@ padding:1px;
td.largebottom {
vertical-align:bottom;
-background:url(images/down800.gif) no-repeat;
+background:url(images/down1000.gif) no-repeat;
height:1px;
}
Files
Actions