Reorg the alert settings page to show what options are deprecated

This commit is contained in:
laf
2018-10-19 22:01:35 +01:00
parent 7a2c9d9e62
commit e7ed9b7d35
+3 -1
View File
@@ -403,14 +403,16 @@ $mail_conf = array(
);
echo '
<div class="well"><strong>DEPRECATED</strong>: Please use the new Alert Transports section under Alerts to configure transports - <a href="https://docs.librenms.org/Alerting/Transports/" target="_blank">docs</a>.</div>
<div class="panel-group" id="accordion">
<form class="form-horizontal" role="form" action="" method="post">
';
echo generate_dynamic_config_panel('General alert settings', $config_groups, $general_conf);
echo generate_dynamic_config_panel('Email transport', $config_groups, $mail_conf, 'mail');
echo '<br /><div class="well"><strong class="text-danger">DEPRECATED</strong>: All options below are deprecated, please use the new Alert Transports section under Alerts to configure transports - <a href="https://docs.librenms.org/Alerting/Transports/" target="_blank">docs</a>.</div>';
echo '
<div class="panel panel-default">
<div class="panel-heading">