forked from science-ation/science-ation
- Alternate colours on each line in the config editor. Makes it easier to see
which config lines go with which options.
This commit is contained in:
parent
5ca11ae362
commit
039a3aa1d5
@ -123,8 +123,12 @@ function config_editor($category, $year, $array_name, $self)
|
||||
else $size=$biggest+1;
|
||||
|
||||
|
||||
$line = 1;
|
||||
foreach($varkeys as $k) {
|
||||
print("<tr>");
|
||||
$trclass = ($line % 2 == 0) ? "even" : "odd";
|
||||
$line++;
|
||||
|
||||
print("<tr class=\"$trclass\">");
|
||||
print("<td>{$var[$k]['desc']}</td>");
|
||||
print("<td>");
|
||||
|
||||
|
10
sfiab.css
10
sfiab.css
@ -28,8 +28,16 @@ select
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
|
||||
}
|
||||
|
||||
table tr.even {
|
||||
background: #EEEEFF;
|
||||
}
|
||||
|
||||
table tr.odd {
|
||||
background: #E0E0F8;
|
||||
}
|
||||
|
||||
#header {
|
||||
height: 50px;
|
||||
text-align: center;
|
||||
|
Loading…
x
Reference in New Issue
Block a user