Merge branch 'ent-4160-Fallo-visual-SNMP-browser' into 'develop'

Fixed visual bug in snmp browser - #4160

See merge request artica/pandorafms!2531
This commit is contained in:
Daniel Rodriguez 2019-06-25 14:46:25 +02:00
commit b18de5cb1c
1 changed files with 2 additions and 2 deletions

View File

@ -597,7 +597,7 @@ function snmp_browser_print_oid(
*
* @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
$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="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>';
$output .= '</div>';