mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #1743 from arjitc/patch-7
This commit is contained in:
@@ -128,7 +128,7 @@ else {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
echo("
|
echo("<center>
|
||||||
<form class='form-inline' id='customrange' action='test'>
|
<form class='form-inline' id='customrange' action='test'>
|
||||||
<input type=hidden id='selfaction' value='" . $_SERVER['REQUEST_URI'] . "'>");
|
<input type=hidden id='selfaction' value='" . $_SERVER['REQUEST_URI'] . "'>");
|
||||||
echo('
|
echo('
|
||||||
@@ -161,12 +161,11 @@ else {
|
|||||||
$("#dtpickerfrom").datetimepicker({useCurrent: true, sideBySide: true, useStrict: false});
|
$("#dtpickerfrom").datetimepicker({useCurrent: true, sideBySide: true, useStrict: false});
|
||||||
$("#dtpickerto").datetimepicker({useCurrent: true, sideBySide: true, useStrict: false});
|
$("#dtpickerto").datetimepicker({useCurrent: true, sideBySide: true, useStrict: false});
|
||||||
});
|
});
|
||||||
</script>
|
</script></center>
|
||||||
|
|
||||||
');
|
');
|
||||||
|
echo ('<div style="padding-top: 5px";></div>');
|
||||||
echo("<hr />");
|
echo('<center>');
|
||||||
|
|
||||||
if ($vars['legend'] == "no") {
|
if ($vars['legend'] == "no") {
|
||||||
echo(generate_link("Show Legend",$vars, array('page' => "graphs", 'legend' => NULL)));
|
echo(generate_link("Show Legend",$vars, array('page' => "graphs", 'legend' => NULL)));
|
||||||
}
|
}
|
||||||
@@ -186,16 +185,14 @@ else {
|
|||||||
}
|
}
|
||||||
# }
|
# }
|
||||||
|
|
||||||
echo('<div style="float: right;">');
|
echo(' | ');
|
||||||
|
|
||||||
if ($vars['showcommand'] == "yes") {
|
if ($vars['showcommand'] == "yes") {
|
||||||
echo(generate_link("Hide RRD Command",$vars, array('page' => "graphs", 'showcommand' => NULL)));
|
echo(generate_link("Hide RRD Command",$vars, array('page' => "graphs", 'showcommand' => NULL)));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo(generate_link("Show RRD Command",$vars, array('page' => "graphs", 'showcommand' => "yes")));
|
echo(generate_link("Show RRD Command",$vars, array('page' => "graphs", 'showcommand' => "yes")));
|
||||||
}
|
}
|
||||||
|
echo('</center>');
|
||||||
echo('</div>');
|
|
||||||
|
|
||||||
print_optionbar_end();
|
print_optionbar_end();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user