#1130 port control tick for new users should be dropdown

This commit is contained in:
Oliver Gorwits
2023-11-21 15:44:31 +00:00
parent 8ea19f320f
commit 6830c39105

View File

@@ -28,7 +28,17 @@
</select>
</div>
</td>
<td class="nd_center-cell"><input data-form="add" type="checkbox" name="port_control"></td>
<td class="nd_center-cell">
<div class="form-group">
<select class="span2 form-control" data-form="update" name="port_control">
<option value="" selected>Off</option>
<option value="_global_">Enabled (any port)</option>
[% FOREACH role IN port_control_roles %]
<option value="[% role | html_entity %]">Role: [% role | html_entity %]</option>
[% END %]
</select>
</div>
</td>
<td class="nd_center-cell"><input data-form="add" type="checkbox" name="admin"></td>
<td class="nd_center-cell"></td>
<td class="nd_center-cell"></td>