mirror of https://github.com/ShaYmez/xlxd.git
Use CSS also for dashboard2
This commit is contained in:
parent
a4e17ef0b1
commit
12404e36b4
|
@ -13,6 +13,36 @@ body {
|
||||||
margin-bottom: 60px;
|
margin-bottom: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.tip {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.tip:hover {
|
||||||
|
position : relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.tip span {
|
||||||
|
display : none
|
||||||
|
}
|
||||||
|
|
||||||
|
a.tip:hover span {
|
||||||
|
background: #000000;
|
||||||
|
opacity: 0.8;
|
||||||
|
border: none;
|
||||||
|
border-radius: 5px 5px 5px 5px;
|
||||||
|
font-family: calibri, verdana, arial, comic sans;
|
||||||
|
font-size: 12pt;
|
||||||
|
text-decoration: none;
|
||||||
|
white-space: nowrap;
|
||||||
|
color: #FFFFFF;
|
||||||
|
padding: 6px 6px 6px 6px;
|
||||||
|
margin: 10px;
|
||||||
|
display: block;
|
||||||
|
z-index: 50;
|
||||||
|
position: absolute;
|
||||||
|
top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Global add-ons
|
* Global add-ons
|
||||||
|
|
|
@ -27,7 +27,7 @@ for ($i=0;$i<$Reflector->NodeCount();$i++) {
|
||||||
<td>';
|
<td>';
|
||||||
list ($Flag, $Name) = $Reflector->GetFlag($Reflector->Nodes[$i]->GetCallSign());
|
list ($Flag, $Name) = $Reflector->GetFlag($Reflector->Nodes[$i]->GetCallSign());
|
||||||
if (file_exists("./img/flags/".$Flag.".png")) {
|
if (file_exists("./img/flags/".$Flag.".png")) {
|
||||||
echo '<img src="./img/flags/'.$Flag.'.png" class="table-flag" alt="'.$Name.'" title="'.$Name.'">';
|
echo '<a href="#" class="tip"><img src="./img/flags/'.$Flag.'.png" class="table-flag" alt="'.$Name.'"><span>'.$Name.'</span></a>';
|
||||||
}
|
}
|
||||||
echo '</td>
|
echo '</td>
|
||||||
<td><a href="http://www.aprs.fi/'.$Reflector->Nodes[$i]->GetCallSign();
|
<td><a href="http://www.aprs.fi/'.$Reflector->Nodes[$i]->GetCallSign();
|
||||||
|
|
|
@ -26,7 +26,7 @@ for ($i=0;$i<$Reflector->StationCount();$i++) {
|
||||||
|
|
||||||
list ($Flag, $Name) = $Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign());
|
list ($Flag, $Name) = $Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign());
|
||||||
if (file_exists("./img/flags/".$Flag.".png")) {
|
if (file_exists("./img/flags/".$Flag.".png")) {
|
||||||
echo '<img src="./img/flags/'.$Flag.'.png" class="table-flag" alt="'.$Name.'" title="'.$Name.'">';
|
echo '<a href="#" class="tip"><img src="./img/flags/'.$Flag.'.png" class="table-flag" alt="'.$Name.'"><span>'.$Name.'</span></a>';
|
||||||
}
|
}
|
||||||
echo '</td>
|
echo '</td>
|
||||||
<td><a href="https://www.qrz.com/db/'.$Reflector->Stations[$i]->GetCallsignOnly().'" class="pl" target="_blank">'.$Reflector->Stations[$i]->GetCallsignOnly().'</a></td>
|
<td><a href="https://www.qrz.com/db/'.$Reflector->Stations[$i]->GetCallsignOnly().'" class="pl" target="_blank">'.$Reflector->Stations[$i]->GetCallsignOnly().'</a></td>
|
||||||
|
|
Loading…
Reference in New Issue