Services: Kea DHCP [new]: Kea DHCPv4 / subnets - add description field. closes https://github.com/opnsense/core/issues/7540

This commit is contained in:
Ad Schellevis 2024-06-18 18:37:09 +02:00
parent db6ea57d6c
commit fbe5922bd9
3 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,12 @@
<type>text</type>
<help>Subnet to use, should be large enough to hold the specified pools and reservations</help>
</field>
<field>
<id>subnet4.description</id>
<label>Description</label>
<type>text</type>
<help>You may enter a description here for your reference (not parsed).</help>
</field>
<field>
<id>subnet4.pools</id>
<label>Pools</label>

View File

@ -90,6 +90,7 @@
</option_data>
<pools type=".\KeaPoolsField">
</pools>
<description type="DescriptionField"/>
</subnet4>
</subnets>
<reservations>

View File

@ -125,6 +125,7 @@
<tr>
<th data-column-id="uuid" data-type="string" data-identifier="true" data-visible="false">{{ lang._('ID') }}</th>
<th data-column-id="subnet" data-type="string">{{ lang._('Subnet') }}</th>
<th data-column-id="description" data-type="string">{{ lang._('Description') }}</th>
<th data-column-id="commands" data-width="7em" data-formatter="commands" data-sortable="false">{{ lang._('Commands') }}</th>
</tr>
</thead>