Cleanup/Change UI a bit.

This commit is contained in:
Arjit Chaudhary
2015-08-23 16:37:21 +05:30
parent eda01f7686
commit 72b9ee2669

View File

@@ -128,7 +128,7 @@ else {
}
</script>
<?php
echo("
echo("<center>
<form class='form-inline' id='customrange' action='test'>
<input type=hidden id='selfaction' value='" . $_SERVER['REQUEST_URI'] . "'>");
echo('
@@ -161,12 +161,11 @@ else {
$("#dtpickerfrom").datetimepicker({useCurrent: true, sideBySide: true, useStrict: false});
$("#dtpickerto").datetimepicker({useCurrent: true, sideBySide: true, useStrict: false});
});
</script>
</script></center>
');
echo("<hr />");
echo ('<div style="padding-top: 5px";></div>');
echo('<center>');
if ($vars['legend'] == "no") {
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") {
echo(generate_link("Hide RRD Command",$vars, array('page' => "graphs", 'showcommand' => NULL)));
}
else {
echo(generate_link("Show RRD Command",$vars, array('page' => "graphs", 'showcommand' => "yes")));
}
echo('</div>');
echo('</center>');
print_optionbar_end();