summaryrefslogtreecommitdiffstats
path: root/modules-available/locations/templates/subnets.html
diff options
context:
space:
mode:
authorSimon Rettberg2016-06-24 17:08:24 +0200
committerSimon Rettberg2016-06-24 17:08:24 +0200
commit3d0cb99c70dd9714655cf26893504e4bd007b036 (patch)
tree8b5cdaee9c0196aedb6a5c3f8138005a18091fa8 /modules-available/locations/templates/subnets.html
parentmodified the editor toolbar. (diff)
downloadslx-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.html6
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}}