updated files

This commit is contained in:
Daniel Maya 2017-06-20 15:32:24 +02:00
parent 4398b47d92
commit b38b41b942
3 changed files with 9 additions and 6 deletions

View File

@ -684,7 +684,11 @@ function snmp_browser_print_container ($return = false, $width = '100%', $height
$('input[name*=create_network_component]').addClass("sub add");
if(data.length !== 0){
$('#prueba').text(data);
$('#error_text').text("");
data.forEach( function(valor, indice, array) {
console.log(valor);
$('#error_text').append('<br/>'+ valor );
});
$("#dialog_error")
.dialog({
resizable: true,
@ -703,7 +707,7 @@ function snmp_browser_print_container ($return = false, $width = '100%', $height
resizable: true,
draggable: true,
modal: true,
height: 300,
height: 250,
width: 500,
overlay: {
opacity: 0.5,

View File

@ -742,7 +742,7 @@ input.camera {
background-image: url(../../images/input_camera.png) !important;
}
input.spinn {
background-image: url(../../images/input_update.png) !important;
background-image: url(../../images/spinner.gif) !important;
}
#toolbox #auto_save {

View File

@ -54,8 +54,8 @@ if (is_ajax()) {
echo "<div>";
echo "<div style='width:25%; float:left'><img style='padding-left:20px; padding-top:20px;' src='images/icono_error_mr.png'></div>";
echo "<div style='width:75%; float:left;'><h3><strong style='font-family:Verdana; font-size:13pt;'>ERROR</strong></h3>";
echo "<p style='font-family:Verdana; font-size:12pt;'>".__('Error creating the following modules:')."</p>";
echo "<p id='prueba' style='font-family:Verdana; font-size:12pt;'></p>";
echo "<p style='font-family:Verdana; font-size:12pt;margin-bottom: 0px'>".__('Error creating the following modules:')."</p>";
echo "<p id='error_text' style='font-family:Verdana; font-size:12pt;'></p>";
echo "</div>";
echo '</div>';
@ -65,7 +65,6 @@ if (is_ajax()) {
echo "<div style='width:25%; float:left'><img style='padding-left:20px; padding-top:20px;' src='images/icono_exito_mr.png'></div>";
echo "<div style='width:75%; float:left;'><h3><strong style='font-family:Verdana; font-size:13pt;'>SUCCESS</strong></h3>";
echo "<p style='font-family:Verdana; font-size:12pt;'>".__('Modules successfully created')."</p>";
echo "<p id='prueba' style='font-family:Verdana; font-size:12pt;'></p>";
echo "</div>";
echo '</div>';
}