Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup/Change graphs UI a bit. #1743

Merged
merged 1 commit into from Aug 23, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 6 additions & 9 deletions html/pages/graphs.inc.php
Expand Up @@ -128,7 +128,7 @@ function submitCustomRange(frmdata) {
}
</script>
<?php
echo("
echo("<center>
<form class='form-inline' id='customrange' action='test'>
<input type=hidden id='selfaction' value='" . $_SERVER['REQUEST_URI'] . "'>");
echo('
Expand Down Expand Up @@ -161,12 +161,11 @@ function submitCustomRange(frmdata) {
$("#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)));
}
Expand All @@ -186,16 +185,14 @@ function submitCustomRange(frmdata) {
}
# }

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();

Expand Down