summaryrefslogtreecommitdiffstats
path: root/modules-available/locations
diff options
context:
space:
mode:
authorSimon Rettberg2018-03-28 14:35:24 +0200
committerSimon Rettberg2018-03-28 14:35:24 +0200
commit7a31ef5d902489cc508bbce4f7193392fecf1fd2 (patch)
tree656ece965072af1d80f1affc2ed40b5a2ea03928 /modules-available/locations
parent[dozmod] Simplify permissions, don't link user in userlist if actionlog is in... (diff)
downloadslx-admin-7a31ef5d902489cc508bbce4f7193392fecf1fd2.tar.gz
slx-admin-7a31ef5d902489cc508bbce4f7193392fecf1fd2.tar.xz
slx-admin-7a31ef5d902489cc508bbce4f7193392fecf1fd2.zip
[locations] Make subnet list editable again :)
Closes #3331
Diffstat (limited to 'modules-available/locations')
-rw-r--r--modules-available/locations/templates/subnets.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules-available/locations/templates/subnets.html b/modules-available/locations/templates/subnets.html
index cb7fb758..d027d800 100644
--- a/modules-available/locations/templates/subnets.html
+++ b/modules-available/locations/templates/subnets.html
@@ -17,9 +17,9 @@
{{#list}}
<tr class="cidrmagic">
<td>{{subnetid}}</td>
- <td class="{{^editThisSubnetAllowed}}disabled{{/editThisSubnetAllowed}}"><input class="form-control cidrstart" type="text" name="startaddr[{{subnetid}}]" value="{{startaddr}}"></td>
- <td class="{{^editThisSubnetAllowed}}disabled{{/editThisSubnetAllowed}}"><input class="form-control cidrend" type="text" name="endaddr[{{subnetid}}]" value="{{endaddr}}"></td>
- <td class="{{^deleteThisSubnetAllowed}}disabled{{/deleteThisSubnetAllowed}}">
+ <td><input class="form-control cidrstart" type="text" name="startaddr[{{subnetid}}]" value="{{startaddr}}"></td>
+ <td><input class="form-control cidrend" type="text" name="endaddr[{{subnetid}}]" value="{{endaddr}}"></td>
+ <td>
<select class="form-control" name="location[{{subnetid}}]">
{{#locations}}
<option {{disabled}} value="{{locationid}}" {{#selected}}selected="selected"{{/selected}}>{{locationpad}} {{locationname}}</option>
@@ -30,7 +30,7 @@
{{/list}}
</table>
<div class="text-right" style="margin-bottom: 20px">
- <button {{^editSubnetAllowed}}disabled{{/editSubnetAllowed}} type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button>
+ <button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button>
</div>
</form>
</div>