Fixed visual bug in snmp browser - #4160
This commit is contained in:
parent
ce1231eae6
commit
13ecec40c2
|
@ -597,7 +597,7 @@ function snmp_browser_print_oid(
|
||||||
*
|
*
|
||||||
* @return string The container div.
|
* @return string The container div.
|
||||||
*/
|
*/
|
||||||
function snmp_browser_print_container($return=false, $width='100%', $height='500px', $display='')
|
function snmp_browser_print_container($return=false, $width='100%', $height='60%', $display='')
|
||||||
{
|
{
|
||||||
// Target selection
|
// Target selection
|
||||||
$table = new stdClass();
|
$table = new stdClass();
|
||||||
|
@ -773,7 +773,7 @@ function snmp_browser_print_container($return=false, $width='100%', $height='500
|
||||||
|
|
||||||
$output .= '<div id="search_results" style="display: none; padding: 5px; background-color: #EAEAEA; border: 1px solid #E2E2E2; border-radius: 4px;"></div>';
|
$output .= '<div id="search_results" style="display: none; padding: 5px; background-color: #EAEAEA; border: 1px solid #E2E2E2; border-radius: 4px;"></div>';
|
||||||
$output .= '<div id="spinner" style="position: absolute; top:0; left:0px; display:none; padding: 5px;">'.html_print_image('images/spinner.gif', true).'</div>';
|
$output .= '<div id="spinner" style="position: absolute; top:0; left:0px; display:none; padding: 5px;">'.html_print_image('images/spinner.gif', true).'</div>';
|
||||||
$output .= '<div id="snmp_browser" style="height: 100%; overflow: auto; background-color: #F4F5F4; border: 1px solid #E2E2E2; border-radius: 4px; padding: 5px;"></div>';
|
$output .= '<div id="snmp_browser" style="height: 100%; min-height:100px; overflow: auto; background-color: #F4F5F4; border: 1px solid #E2E2E2; border-radius: 4px; padding: 5px;"></div>';
|
||||||
$output .= '<div class="databox" id="snmp_data" style="margin: 5px;"></div>';
|
$output .= '<div class="databox" id="snmp_data" style="margin: 5px;"></div>';
|
||||||
$output .= '</div>';
|
$output .= '</div>';
|
||||||
$output .= '</div>';
|
$output .= '</div>';
|
||||||
|
|
Loading…
Reference in New Issue