Commit 1a4a3229 authored by Ad Schellevis's avatar Ad Schellevis

(hasync) add captiveportal and traffic shaper to hasync

note: there's no trigger to perform the sync, so currently differences are only synced in the slipstream of otther events.
The events around synchronisation and reloading services really need some work sometime....
parent 63af1e7c
......@@ -39,7 +39,7 @@ $checkbox_names = array('pfsyncenabled', 'synchronizeusers', 'synchronizeauthser
'synchronizerules', 'synchronizeschedules', 'synchronizealiases', 'synchronizenat',
'synchronizeipsec', 'synchronizeopenvpn', 'synchronizedhcpd', 'synchronizewol',
'synchronizestaticroutes', 'synchronizelb', 'synchronizevirtualip',
'synchronizednsforwarder',
'synchronizednsforwarder', 'synchronizeshaper', 'synchronizecaptiveportal'
);
......@@ -328,6 +328,24 @@ include("head.inc");
</div>
</td>
</tr>
<tr>
<td><a id="help_for_synchronizeshaper" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext('Traffic Shaper') ?></td>
<td>
<input type="checkbox" name="synchronizeshaper" value="on" <?=!empty($pconfig['synchronizeshaper']) ? "checked=\"checked\"" :"";?> />
<div class="hidden" for="help_for_synchronizeshaper">
<?=gettext('Automatically sync the TrafficShaper configuration to the other HA host when changes are made.') ?>
</div>
</td>
</tr>
<tr>
<td><a id="help_for_synchronizecaptiveportal" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext('Captive Portal') ?></td>
<td>
<input type="checkbox" name="synchronizecaptiveportal" value="on" <?=!empty($pconfig['synchronizecaptiveportal']) ? "checked=\"checked\"" :"";?> />
<div class="hidden" for="help_for_synchronizecaptiveportal">
<?=gettext('Automatically sync the Captive Portal configuration to the other HA host when changes are made.') ?>
</div>
</td>
</tr>
<tr>
<td></td>
<td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment