edit simple_webend

- click on the glass in overview shows the entry highlighted
This commit is contained in:
Schrolli 2015-07-14 13:46:17 +02:00
parent 19aa6b2136
commit a15043e8f4
4 changed files with 26 additions and 5 deletions

View file

@ -21,8 +21,8 @@ table, th, td { border: 1px solid black; }
/*alternating line color in table*/
/*without first line (header)*/
tr:nth-child(2n+2) { background: #FFF; }
tr:nth-child(2n+3) { background: #CCC; }
tr:nth-child(2n+2) { background: white; }
tr:nth-child(2n+3) { background: lightgray; }
/*table head*/
.tableHead{
@ -31,6 +31,12 @@ tr:nth-child(2n+3) { background: #CCC; }
font-weight: bold;
}
.highlight {
color: #BE2F01;
font-weight: bold;
border: 2px solid #BE2F01;
}
/*footer*/
#footer{

View file

@ -16,7 +16,12 @@
$time = strtotime($fms['time']);
$time = date("d.m.Y H:i:s", $time);
echo "<tr>";
if(!empty($_GET['id']) && $_GET['id'] == $fms['id']){
echo "<tr class='highlight'>";
}
else{
echo "<tr>";
}
echo "<td>". $fms['id'] . "</td>";
echo "<td>". $time . "</td>";
echo "<td>". $fms['fms'] . "</td>";

View file

@ -16,7 +16,12 @@
$time = strtotime($poc['time']);
$time = date("d.m.Y H:i:s", $time);
echo "<tr>";
if(!empty($_GET['id']) && $_GET['id'] == $poc['id']){
echo "<tr class='highlight'>";
}
else{
echo "<tr>";
}
echo "<td>". $poc['id'] . "</td>";
echo "<td>". $time . "</td>";
echo "<td>". $poc['ric'] . "</td>";

View file

@ -13,7 +13,12 @@
$time = strtotime($zvei['time']);
$time = date("d.m.Y H:i:s", $time);
echo "<tr>";
if(!empty($_GET['id']) && $_GET['id'] == $zvei['id']){
echo "<tr class='highlight'>";
}
else{
echo "<tr>";
}
echo "<td>". $zvei['id'] . "</td>";
echo "<td>". $time . "</td>";
echo "<td>". $zvei['zvei'] . "</td>";