progress bar

This commit is contained in:
Pablo Aragon 2023-03-21 18:12:02 +01:00
parent 1f7183c701
commit 99b845db3f
8 changed files with 16 additions and 13 deletions

View File

@ -225,7 +225,7 @@ if (db_get_num_rows($sql) == 0) {
} else { } else {
$table = new stdClass(); $table = new stdClass();
$table->width = '100%'; $table->width = '100%';
$table->class = 'databox info_trable'; $table->class = 'databox info_table max_floating_element_size';
$table->data = []; $table->data = [];
$table->head = []; $table->head = [];
$table->styleTable = ''; $table->styleTable = '';

View File

@ -794,7 +794,7 @@ if ($agents !== false) {
// Agent name column (1). Agent name. // Agent name column (1). Agent name.
$agentNameColumn = html_print_anchor( $agentNameColumn = html_print_anchor(
[ [
'href' => ui_get_full_url($agentNameUrl), 'href' => ui_get_full_url($agentViewUrl),
'title' => $agent['nombre'], 'title' => $agent['nombre'],
'content' => ui_print_truncate_text($agent['alias'], 'agent_medium').implode('', $additionalDataAgentName), 'content' => ui_print_truncate_text($agent['alias'], 'agent_medium').implode('', $additionalDataAgentName),
], ],

View File

@ -874,7 +874,7 @@ class DiscoveryTaskList extends HTML
$data[7] = ui_progress( $data[7] = ui_progress(
$task['status'], $task['status'],
'100%', '100%',
1.9, 1.2,
// Color. // Color.
'#ececec', '#ececec',
// Return. // Return.
@ -891,7 +891,8 @@ class DiscoveryTaskList extends HTML
'id' => $task['id_rt'], 'id' => $task['id_rt'],
'method' => 'taskProgress', 'method' => 'taskProgress',
], ],
] ],
''
); );
} }

View File

@ -657,7 +657,7 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
$table->data['description'] = $row; $table->data['description'] = $row;
// Last contact. // Last contact.
$last_contact = ui_print_timestamp($agent['ultimo_contacto'], true, ['class' => 'font_11']); $last_contact = ui_print_timestamp($agent['ultimo_contacto'], true, ['style' => 'font-size: 13px;']);
if ($agent['ultimo_contacto_remoto'] === '01-01-1970 00:00:00') { if ($agent['ultimo_contacto_remoto'] === '01-01-1970 00:00:00') {
$last_remote_contact = __('Never'); $last_remote_contact = __('Never');
@ -689,8 +689,7 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
'#ececec', '#ececec',
true, true,
'', '',
false, false
'line-height: 13px;'
); );
$table->data['next_contact'] = $row; $table->data['next_contact'] = $row;

View File

@ -11681,9 +11681,9 @@ ul.tag-editor {
} }
.select2-container--default .select2-search--inline .select2-search__field { .select2-container--default .select2-search--inline .select2-search__field {
height: 20px; height: 12px;
padding-left: 5px !important; padding-left: 5px !important;
font-size: 20px !important; font-size: 12px !important;
} }
div.ui-dialog-buttonset > button.ui-button.ui-corner-all.ui-widget { div.ui-dialog-buttonset > button.ui-button.ui-corner-all.ui-widget {

View File

@ -6,8 +6,8 @@
display: inline-block; display: inline-block;
display: flex; display: flex;
border-radius: 4px; border-radius: 4px;
line-height: 24px; line-height: 9pt;
font-size: 11pt; font-size: 9pt;
} }
.progress_main_noborder { .progress_main_noborder {

View File

@ -407,3 +407,7 @@ div#tree-controller-recipient {
.tree-node .node-icon.node-status { .tree-node .node-icon.node-status {
border: 0; border: 0;
} }
.max-graph-tree-view {
width: calc(100% - 100px);
}

View File

@ -483,8 +483,7 @@ $data[1] = ui_progress(
'refresh_contact' => 1, 'refresh_contact' => 1,
], ],
], ]
'line-height: 13px;'
); );
$table_contact->data[] = $data; $table_contact->data[] = $data;