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>
 | 
			
		||||
<?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();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user