mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
edit simple_webend
- click on the glass in overview shows the entry highlighted
This commit is contained in:
parent
19aa6b2136
commit
a15043e8f4
|
|
@ -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{
|
||||
|
|
|
|||
|
|
@ -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>";
|
||||
|
|
|
|||
|
|
@ -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>";
|
||||
|
|
|
|||
|
|
@ -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>";
|
||||
|
|
|
|||
Loading…
Reference in a new issue