added selectable hosted dns servers

This commit is contained in:
glaszig
2020-03-04 19:43:22 +01:00
parent 6c6de51a45
commit cfa3f9cfd3
4 changed files with 77 additions and 0 deletions

View File

@@ -139,6 +139,13 @@
<button type="button" class="btn btn-outline-secondary js-add-dhcp-upstream-server"><i class="fas fa-plus"></i></button>
</div>
</div>
<div class="input-group">
<select class="custom-select custom-select-sm my-3 js-field-preset" data-field-preset-target="#add-dhcp-upstream-server-field">
<option value=""><?php echo _("Choose a hosted server") ?></option>
<option disabled="disabled"></option>
<?php echo optionsForSelect(dnsServers()) ?>
</select>
</div>
<p id="new-dhcp-upstream-server" class="form-text text-muted">
<small>
<?php echo _("Format: ") ?>