diff options
author | Simon Rettberg | 2016-06-24 17:08:24 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-06-24 17:08:24 +0200 |
commit | 3d0cb99c70dd9714655cf26893504e4bd007b036 (patch) | |
tree | 8b5cdaee9c0196aedb6a5c3f8138005a18091fa8 /modules-available/locations/templates/subnets.html | |
parent | modified the editor toolbar. (diff) | |
download | slx-admin-3d0cb99c70dd9714655cf26893504e4bd007b036.tar.gz slx-admin-3d0cb99c70dd9714655cf26893504e4bd007b036.tar.xz slx-admin-3d0cb99c70dd9714655cf26893504e4bd007b036.zip |
[locations] Support CIDR notion (start field), tweak templates a bit
Diffstat (limited to 'modules-available/locations/templates/subnets.html')
-rw-r--r-- | modules-available/locations/templates/subnets.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/locations/templates/subnets.html b/modules-available/locations/templates/subnets.html index 2294f42b..0320e333 100644 --- a/modules-available/locations/templates/subnets.html +++ b/modules-available/locations/templates/subnets.html @@ -14,10 +14,10 @@ <th>{{lang_location}}</th> </tr> {{#list}} - <tr> + <tr class="cidrmagic"> <td>{{subnetid}}</td> - <td><input class="form-control" type="text" name="startaddr[{{subnetid}}]" value="{{startaddr}}"></td> - <td><input class="form-control" type="text" name="endaddr[{{subnetid}}]" value="{{endaddr}}"></td> + <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}} |