Merge pull request #115 from laf/issue-114

Updated print_optionbar_* to use bootstrap
This commit is contained in:
Paul Gear
2014-03-02 13:32:28 +10:00

View File

@ -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)