Commit b2362628 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: annotate dhcp modes; closes #1052

parent 57bb583c
...@@ -1916,7 +1916,7 @@ include("head.inc"); ...@@ -1916,7 +1916,7 @@ include("head.inc");
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td width="22%"></td> <td width="22%"><a id="help_for_dhcp_mode" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Configuration Mode"); ?></td>
<td width="78%"> <td width="78%">
<div id="dhcp_mode" class="btn-group" data-toggle="buttons"> <div id="dhcp_mode" class="btn-group" data-toggle="buttons">
<label class="btn btn-default <?=empty($pconfig['adv_dhcp_config_advanced']) && empty($pconfig['adv_dhcp_config_file_override']) ? "active" : "";?>"> <label class="btn btn-default <?=empty($pconfig['adv_dhcp_config_advanced']) && empty($pconfig['adv_dhcp_config_file_override']) ? "active" : "";?>">
...@@ -1932,6 +1932,11 @@ include("head.inc"); ...@@ -1932,6 +1932,11 @@ include("head.inc");
<?=gettext("Config File Override");?> <?=gettext("Config File Override");?>
</label> </label>
</div> </div>
<div class="hidden" for="help_for_dhcp_mode">
<?= gettext('The basic mode auto-configures DHCP using default values and optional user input.') ?><br/>
<?= gettext('The advanced mode does not provide any default values, you will need to fill out any values you would like to use.') ?></br>
<?= gettext('The configuration file override mode may point to a fully customised file on the system instead.') ?>
</div>
</td> </td>
</tr> </tr>
<tr class="dhcp_basic"> <tr class="dhcp_basic">
...@@ -2426,7 +2431,7 @@ include("head.inc"); ...@@ -2426,7 +2431,7 @@ include("head.inc");
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td width="22%"></td> <td width="22%"><a id="help_for_dhcpv6_mode" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Configuration Mode"); ?></td>
<td width="78%"> <td width="78%">
<div id="dhcpv6_mode" class="btn-group" data-toggle="buttons"> <div id="dhcpv6_mode" class="btn-group" data-toggle="buttons">
<label class="btn btn-default <?=empty($pconfig['adv_dhcp6_config_advanced']) && empty($pconfig['adv_dhcp6_config_file_override']) ? "active" : "";?>"> <label class="btn btn-default <?=empty($pconfig['adv_dhcp6_config_advanced']) && empty($pconfig['adv_dhcp6_config_file_override']) ? "active" : "";?>">
...@@ -2442,6 +2447,11 @@ include("head.inc"); ...@@ -2442,6 +2447,11 @@ include("head.inc");
<?=gettext("Config File Override");?> <?=gettext("Config File Override");?>
</label> </label>
</div> </div>
<div class="hidden" for="help_for_dhcpv6_mode">
<?= gettext('The basic mode auto-configures DHCP using default values and optional user input.') ?><br/>
<?= gettext('The advanced mode does not provide any default values, you will need to fill out any values you would like to use.') ?></br>
<?= gettext('The configuration file override mode may point to a fully customised file on the system instead.') ?>
</div>
</td> </td>
</tr> </tr>
<tr class="dhcpv6_advanced dhcpv6_file_override"> <tr class="dhcpv6_advanced dhcpv6_file_override">
......
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