zebra improvements
This commit is contained in:
parent
1b77120699
commit
4a8034cabe
@ -47,10 +47,9 @@ class AliasEditorTheme extends Themelet {
|
||||
}
|
||||
$html = "
|
||||
<table class='zebra'>
|
||||
<thead><th>From</th><th>To</th>$action</thead>
|
||||
$add
|
||||
$h_aliases
|
||||
$add
|
||||
<thead><tr><th>From</th><th>To</th>$action</tr>$add</thead>
|
||||
<tbody>$h_aliases</tbody>
|
||||
<tfoot>$add</tfoot>
|
||||
</table>
|
||||
<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'>
|
||||
|
@ -8,6 +8,7 @@ class ExtManagerTheme extends Themelet {
|
||||
<thead>
|
||||
<tr><th>Enabled</td><th>Name</th><th>Description</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
";
|
||||
$n = 0;
|
||||
foreach($extensions as $extension) {
|
||||
@ -26,7 +27,8 @@ class ExtManagerTheme extends Themelet {
|
||||
</tr>";
|
||||
}
|
||||
$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>
|
||||
</form>
|
||||
";
|
||||
|
@ -26,7 +26,6 @@ H3 {
|
||||
padding: 1px;
|
||||
}
|
||||
THEAD {
|
||||
background: #DEDEDE;
|
||||
font-weight: bold;
|
||||
}
|
||||
TD {
|
||||
@ -54,7 +53,8 @@ TD>SELECT {width: 100%;}
|
||||
|
||||
TABLE.zebra {border-spacing: 0px;}
|
||||
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.odd {background: #EFEFEF;}
|
||||
TABLE.zebra TR.even {background: #E0E0E0;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user