mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated print_optionbar_* to use bootstrap
This commit is contained in:
@ -474,15 +474,16 @@ function print_port_thumbnail($args)
|
||||
|
||||
function print_optionbar_start ($height = 0, $width = 0, $marginbottom = 5)
|
||||
{
|
||||
echo("
|
||||
<div class='rounded-5px' style='border: 1px solid #ccc; display: block; background: #eee; text-align: left; margin-top: 0px;
|
||||
margin-bottom: ".$marginbottom."px; " . ($width ? 'max-width: ' . $width . (strstr($width,'%') ? '' : 'px') . '; ' : '') . "
|
||||
padding: 7px 14px 8px 14px'>");
|
||||
echo('
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
');
|
||||
}
|
||||
|
||||
function print_optionbar_end()
|
||||
{
|
||||
echo(' </div>');
|
||||
echo(' </div>');
|
||||
}
|
||||
|
||||
function geteventicon($message)
|
||||
|
Reference in New Issue
Block a user