Merge branch 'ent-13419-vista-agents-alert-view-tema-oscuro-printa-los-agentes-con-letra-oscura' into 'develop'

Ent 13419 vista agents alert view tema oscuro printa los agentes con letra oscura

See merge request artica/pandorafms!7176
This commit is contained in:
Jose Martin 2024-04-11 11:53:40 +00:00
commit bfffbe624a
3 changed files with 3 additions and 1 deletions

View File

@ -685,7 +685,7 @@ class AgentsAlerts extends HTML
$alias = db_get_row('tagente', 'id_agente', $agent['id_agente']); $alias = db_get_row('tagente', 'id_agente', $agent['id_agente']);
echo '<tr>'; echo '<tr>';
// Name of the agent. // Name of the agent.
echo '<td style="text-align: left;font-weight: bold;color: #3f3f3f;">'.$alias['alias'].'</td>'; echo '<td style="text-align: left;font-weight: bold;color: var(--text-color-4);">'.$alias['alias'].'</td>';
// Alerts of the agent. // Alerts of the agent.
foreach ($templates as $tid => $tname) { foreach ($templates as $tid => $tname) {
$anyfired = 0; $anyfired = 0;

View File

@ -35,6 +35,7 @@
--text-color: #333; --text-color: #333;
--text-color-2: #161628; --text-color-2: #161628;
--text-color-3: #454545; --text-color-3: #454545;
--text-color-4: #3f3f3f;
--background-main-color: #f6f7fb; --background-main-color: #f6f7fb;

View File

@ -28,6 +28,7 @@ Description: The default Pandora FMS theme layout
--text-color: #fff; --text-color: #fff;
--text-color-2: #ededed; --text-color-2: #ededed;
--text-color-3: #d5d5d5; --text-color-3: #d5d5d5;
--text-color-4: #dddddd;
--background-main-color: #f6f7fb; --background-main-color: #f6f7fb;
--background-2: #95a3bf; --background-2: #95a3bf;