aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wan.html
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-15 22:50:14 +0200
committerficus <ficus@robocracy.org>2012-09-15 22:50:14 +0200
commitced83335a5a338cb9c24956b96da526465d94df8 (patch)
treeb345cd21dfcbb9e660aceb2433c92bd50848938f /templates/wan.html
parent57a1e70dee45f5cd9493d6d23f8fc7b6435d5388 (diff)
downloadtui-ced83335a5a338cb9c24956b96da526465d94df8.tar.gz
tui-ced83335a5a338cb9c24956b96da526465d94df8.zip
refactor to distributable format
Diffstat (limited to 'templates/wan.html')
-rw-r--r--templates/wan.html35
1 files changed, 0 insertions, 35 deletions
diff --git a/templates/wan.html b/templates/wan.html
deleted file mode 100644
index 2da2733..0000000
--- a/templates/wan.html
+++ /dev/null
@@ -1,35 +0,0 @@
-{% import "lib.html" as lib %}
-{% extends "base.html" %}
-{% block body %}
-
-<form action="/wan/" method="POST" class="form-horizontal">
-<legend>Upstream Ethernet Configuration</legend>
-
-<label class="radio">
- <input type="radio" name="ipv4method" id="ipv4methoddhcp" value="dhcp" {% if form.ipv4method == "dhcp" %}checked{% endif %}>
- <h4>Automatic DHCP Addressing</h4>
-</label>
-
-<label class="radio">
- <input type="radio" name="ipv4method" id="ipv4methodstatic" value="static" {% if form.ipv4method == "static" %}checked{% endif %}>
- <h4>Manual Addressing</h4>
-</label>
-
-{{ lib.forminput(form, formerr, 'ipv4addr', 'IPv4 Address', '0.0.0.0') }}
-{{ lib.forminput(form, formerr, 'ipv4netmask', 'Netmask', '255.255.255.0') }}
-{{ lib.forminput(form, formerr, 'ipv4gateway', 'Gateway IP Address', '0.0.0.0') }}
-
-<label class="radio">
- <input type="radio" name="ipv4method" id="ipv4methoddisabled" value="disabled" {% if form.ipv4method == "disabled" %}checked{% endif %}>
- <h4>Disable Interface</h4>
-</label>
-
-<div class="pull-right">
-<a href="."><button class="btn" type="button">Reset</button></a>
-<button type="submit" class="btn btn-primary" type="button">
-Save</button>
-</div>
-</form>
-
-
-{% endblock %}