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 --- templates/lan.html | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 templates/lan.html (limited to 'templates/lan.html') diff --git a/templates/lan.html b/templates/lan.html deleted file mode 100644 index 09bcf0a..0000000 --- a/templates/lan.html +++ /dev/null @@ -1,32 +0,0 @@ -{% import "lib.html" as lib %} -{% extends "base.html" %} -{% block body %} - -
-Local Ethernet Configuration - -{% if not status.lan %} -Could not find the local ethernet hardware device! -{% else %} - -{{ lib.formcheckbox(form, formerr, 'ipv4enable', 'Enable this interface', 'true') }} - -Address Configuration -{{ lib.forminput(form, formerr, 'ipv4addr', 'IPv4 Address', '0.0.0.0') }} -{{ lib.forminput(form, formerr, 'ipv4netmask', 'Netmask', '255.255.0.0') }} -{{ lib.forminput(form, formerr, 'ipv4gateway', 'Gateway IP Address', '0.0.0.0') }} - -DHCP Configuration -{{ lib.forminput(form, formerr, 'dhcpbase', 'DHCP Range Base', '192.168.1.100') }} -{{ lib.forminput(form, formerr, 'dhcptop', 'DHCP Range Top', '192.168.1.200') }} -{{ lib.forminput(form, formerr, 'dhcptime', 'Lease Time', '12h') }} - -
- - -
-
-{% endif %} - -{% endblock %} -- cgit v1.2.3