#11214 Add link to deploy mac agent

This commit is contained in:
miguel angel rasteu 2023-05-16 09:32:35 +02:00
parent 1e3c24c360
commit 478f9d3b68
1 changed files with 3 additions and 1 deletions

View File

@ -526,12 +526,14 @@ class AgentDeployWizard
true true
); );
$mac_installer_link = 'http://firefly.pandorafms.com/pandorafms/latest/macOS/Pandora_FMS_MacOS_agent-7.0NG.dmg';
$mac_content_link = '<a class="green-link" style="font-size: 15px;" href="'.$mac_installer_link.'" target="_blank">'.__('Click to Download the agent').'</a>';
html_print_div( html_print_div(
[ [
'id' => 'mac_installer', 'id' => 'mac_installer',
'class' => 'white_table_flex agent_details_col', 'class' => 'white_table_flex agent_details_col',
'style' => 'margin-bottom: 20px', 'style' => 'margin-bottom: 20px',
'content' => $content.$mac_warn_box, 'content' => $content.$mac_warn_box.$mac_content_link,
] ]
); );