mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Continue moving styles to CSS
- Also started standardised infrastructure for minigraphs to make it easy to create them anywhere
This commit is contained in:
@@ -7,7 +7,7 @@ echo("<div class=\"front-box $frontbox_class\">
|
||||
</div>");
|
||||
}
|
||||
|
||||
echo("<div style='padding: 3px 10px; background: #fff;'>");
|
||||
echo("<div class=front-page>");
|
||||
|
||||
if ($_SESSION['userlevel'] == '10')
|
||||
{
|
||||
@@ -73,7 +73,7 @@ if (isset($config['enable_bgp']) && $config['enable_bgp'])
|
||||
{
|
||||
generate_front_box("bgp-down", "<center>".generate_device_link($peer, shorthost($peer['hostname']))."<br />
|
||||
<span class=bgp-down>BGP Down</span>
|
||||
<span style='" . (strstr($peer['bgpPeerIdentifier'],':') ? 'font-size: 10px' : '') . "'>".$peer['bgpPeerIdentifier']."</span><br />
|
||||
<span class='" . (strstr($peer['bgpPeerIdentifier'],':') ? 'front-page-bgp-small' : 'front-page-bgp-normal') . "'>".$peer['bgpPeerIdentifier']."</span><br />
|
||||
<span class=body-date-1>AS".truncate($peer['bgpPeerRemoteAs']." ".$peer['astext'], 14, "")."</span>
|
||||
</center>");
|
||||
}
|
||||
|
Reference in New Issue
Block a user