Merge branch 'ent-12456-dashboard-widgert-colmena-de-agentes-agent-hive-se-ve-con-con-OS-description-largos' into 'develop'

Ent 12456 dashboard widgert colmena de agentes agent hive se ve con con os description largos

See merge request artica/pandorafms!6669
This commit is contained in:
Rafael Ameijeiras 2023-12-18 14:52:02 +00:00
commit e86132a89d
2 changed files with 33 additions and 10 deletions

View File

@ -431,15 +431,34 @@ class AgentHive extends Widget
$output .= '</div>'; $output .= '</div>';
$style = 'font-size: 6pt; display: flex; justify-content: start;
align-items: start; color: #9FA5B1; font-weight: 600;
line-height:normal; text-align:left;';
$style_div = $style.' margin-bottom: 15px;';
// OS description. // OS description.
$output .= html_print_div( $output .= html_print_div(
[ [
'content' => (empty($data['os_version']) === true) 'content' => (empty($data['os_version']) === true)
? get_os_name((int) $data['id_os']) ? ui_print_truncate_text(
: $data['os_version'], get_os_name((int) $data['id_os']),
'style' => 'font-size: 6pt; display: 32,
flex;justify-content: start;align-items: start; false,
color: #9FA5B1; font-weight: 600;margin-bottom: 5px', true,
true,
'&hellip;',
$style
)
: ui_print_truncate_text(
$data['os_version'],
32,
false,
true,
true,
'&hellip;',
$style
),
'style' => $style_div,
], ],
true true
); );
@ -455,8 +474,10 @@ class AgentHive extends Widget
true, true,
'&hellip;', '&hellip;',
), ),
'style' => 'text-align: left;min-height: 42px; 'style' => 'text-align: left;
font-size: 8pt;max-height: 42px; margin-bottom: 10px', min-height: 42px; font-size: 8pt;
max-height: 42px; line-height: normal;
margin: 2px 0px 2px 0px',
], ],
true true
); );
@ -466,7 +487,9 @@ class AgentHive extends Widget
[ [
'content' => $data['direccion'], 'content' => $data['direccion'],
'style' => 'font-size: 10pt;color: #14524f; 'style' => 'font-size: 10pt;color: #14524f;
font-weight: 600; text-align: left', font-weight: 600;
text-align: left;
margin-top: 5px',
], ],
true true
); );

View File

@ -668,9 +668,9 @@ form.modal-dashboard
justify-content: center; justify-content: center;
align-items: start; align-items: start;
min-width: 150px; min-width: 150px;
max-width: 150px; max-width: 160px;
min-height: 150px; min-height: 150px;
max-height: 150px; max-height: 160px;
margin: 8px; margin: 8px;
padding: 5px; padding: 5px;
border: 1px solid #eceef2; border: 1px solid #eceef2;