{% 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 %}