zebra improvements
This commit is contained in:
parent
1b77120699
commit
4a8034cabe
@ -47,10 +47,9 @@ class AliasEditorTheme extends Themelet {
|
|||||||
}
|
}
|
||||||
$html = "
|
$html = "
|
||||||
<table class='zebra'>
|
<table class='zebra'>
|
||||||
<thead><th>From</th><th>To</th>$action</thead>
|
<thead><tr><th>From</th><th>To</th>$action</tr>$add</thead>
|
||||||
$add
|
<tbody>$h_aliases</tbody>
|
||||||
$h_aliases
|
<tfoot>$add</tfoot>
|
||||||
$add
|
|
||||||
</table>
|
</table>
|
||||||
<p><a href='".make_link("alias/export/aliases.csv")."'>Download as CSV</a></p>
|
<p><a href='".make_link("alias/export/aliases.csv")."'>Download as CSV</a></p>
|
||||||
<form enctype='multipart/form-data' action='".make_link("alias/import")."' method='POST'>
|
<form enctype='multipart/form-data' action='".make_link("alias/import")."' method='POST'>
|
||||||
|
@ -8,6 +8,7 @@ class ExtManagerTheme extends Themelet {
|
|||||||
<thead>
|
<thead>
|
||||||
<tr><th>Enabled</td><th>Name</th><th>Description</th></tr>
|
<tr><th>Enabled</td><th>Name</th><th>Description</th></tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody>
|
||||||
";
|
";
|
||||||
$n = 0;
|
$n = 0;
|
||||||
foreach($extensions as $extension) {
|
foreach($extensions as $extension) {
|
||||||
@ -26,7 +27,8 @@ class ExtManagerTheme extends Themelet {
|
|||||||
</tr>";
|
</tr>";
|
||||||
}
|
}
|
||||||
$html .= "
|
$html .= "
|
||||||
<tr><td colspan='5'><input type='submit' value='Set Extensions'></td></tr>
|
</tbody>
|
||||||
|
<tfoot><tr><td colspan='5'><input type='submit' value='Set Extensions'></td></tr></tfoot>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
";
|
";
|
||||||
|
@ -26,7 +26,6 @@ H3 {
|
|||||||
padding: 1px;
|
padding: 1px;
|
||||||
}
|
}
|
||||||
THEAD {
|
THEAD {
|
||||||
background: #DEDEDE;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
TD {
|
TD {
|
||||||
@ -54,7 +53,8 @@ TD>SELECT {width: 100%;}
|
|||||||
|
|
||||||
TABLE.zebra {border-spacing: 0px;}
|
TABLE.zebra {border-spacing: 0px;}
|
||||||
TABLE.zebra TD, TABLE.zebra TH {vertical-align: middle; padding: 4px;}
|
TABLE.zebra TD, TABLE.zebra TH {vertical-align: middle; padding: 4px;}
|
||||||
TABLE.zebra THEAD {border-bottom: 2px solid #DDD;}
|
TABLE.zebra THEAD TD, TABLE.zebra THEAD TH {border-bottom: 2px solid #CCC;}
|
||||||
|
TABLE.zebra TFOOT TD, TABLE.zebra TFOOT TH {border-top: 2px solid #CCC;}
|
||||||
TABLE.zebra TR {border-bottom: 1px solid #DDD;}
|
TABLE.zebra TR {border-bottom: 1px solid #DDD;}
|
||||||
TABLE.zebra TR.odd {background: #EFEFEF;}
|
TABLE.zebra TR.odd {background: #EFEFEF;}
|
||||||
TABLE.zebra TR.even {background: #E0E0E0;}
|
TABLE.zebra TR.even {background: #E0E0E0;}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user