10718 & 10821

This commit is contained in:
Pablo Aragon 2023-03-29 12:12:56 +02:00
parent 86e492f275
commit 7ada30c9b1
4 changed files with 16 additions and 20 deletions

View File

@ -15,7 +15,7 @@
<style>
#alert_messages_na {
z-index: 2;
position: absolute;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
@ -160,9 +160,9 @@
?>
</div>
<div class='modalokbutto cerrar'>
<span class='modalokbuttontex'>OK</span>
</div>
<button type="submit" class="cerrar submitButton" name="" id="" value="OK">
<span id="" style="" class="font_11">OK</span>
</button>
</div>
</div>
<div id="opacidad"></div>
@ -173,6 +173,4 @@
$(".cerrar").click(function() {
window.location = "<?php echo $config['homeurl']; ?>";
});
$('div#page').css('background-color', '#d3d3d3');
</script>

View File

@ -934,6 +934,12 @@ select:-internal-list-box {
display: flex;
}
.flex-row-important {
display: flex !important;
flex-direction: row !important;
justify-content: flex-start !important;
}
.padding-2 {
padding: 2em;
}

View File

@ -837,3 +837,8 @@ table#simple.floating_form tr[id^="simple-macro_field"] {
table#simple.floating_form tr[id^="simple-macro_field"] > td > input {
width: 50%;
}
td.FF-thresholds-pdd {
padding: 0px !important;
padding-left: 13px !important;
}

View File

@ -1442,22 +1442,9 @@ $alerttab['active'] = ($tab === 'alert');
// Inventory.
$inventoryCount = db_get_num_rows('SELECT id_agent_module_inventory FROM tagent_module_inventory WHERE id_agente = '.$agent['id_agente']);
$inventorytab['text'] = '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&tab=inventory&id_agente='.$id_agente.'">'.html_print_image(
'images/hardware-software-component@svg.svg',
true,
[
'class' => 'main_menu_icon invert_filter',
'title' => __('Inventory'),
]
).'</a>';
if ($tab == 'inventory') {
$inventorytab['active'] = true;
} else {
$inventorytab['active'] = false;
}
$inventorytab = enterprise_hook('inventory_tab');
if ($inventorytab === ENTERPRISE_NOT_HOOK || $inventoryCount === 0) {
$inventorytab = '';
}