From ced83335a5a338cb9c24956b96da526465d94df8 Mon Sep 17 00:00:00 2001 From: ficus Date: Sat, 15 Sep 2012 22:50:14 +0200 Subject: refactor to distributable format --- torouterui/templates/wan.html | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 torouterui/templates/wan.html (limited to 'torouterui/templates/wan.html') diff --git a/torouterui/templates/wan.html b/torouterui/templates/wan.html new file mode 100644 index 0000000..2da2733 --- /dev/null +++ b/torouterui/templates/wan.html @@ -0,0 +1,35 @@ +{% import "lib.html" as lib %} +{% extends "base.html" %} +{% block body %} + +
+Upstream Ethernet Configuration + + + + + +{{ 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') }} + + + +
+ + +
+
+ + +{% endblock %} -- cgit v1.2.3