{% extends FUNC_BASE_HTML %} {% load i18n %} {% block css %} {{ block.super }} {% endblock css %} {% block js %} {{ block.super }} {% endblock js %} {% block ajaxform_modified %} {{ block.super }} {% endblock ajaxform_modified %} {% block function %}
{% trans "LAN DISK Name" %} {{ host.hostname }}
{% trans "LAN DISK Description" %} {{ host.hostdesc }}
{% trans "LAN DISK Location" %} {{ host.location }}


{%comment%} {% if ipv4.lan1_wol == "Valid" %} {% elif ipv4.lan1_wol == "Invalid" %} {% else %} {% endif %} {%endcomment%} {%comment%} {% if ipv4.lan1_framesize %} {% elif ipv6.lan1_framesize %} {% else %} {% endif %} {%endcomment%} {%comment%} {% if ipv4.lan1_state != "unknown" %} {% else %} {% endif %} {%endcomment%} {% if LAN2_IS_SUPPORTED %} {% if ipv4.lan2_method == "dhcp" %} {% elif ipv4.lan2_method == "Invalid" %} {% elif ipv4.lan2_method == "manual" %} {% endif %} {% if ipv6.lan2_method == "dhcp" %} {% elif ipv6.lan2_method == "Invalid" %} {% elif ipv6.lan2_method == "manual" %} {% endif %} {% if ipv4.lan2_ip %} {% else %} {% endif %} {% if ipv6.lan2_ip %} {% else %} {% endif %} {% if ipv4.lan2_netmask %} {% else %} {% endif %} {% if ipv6.lan2_prefixlen %} {% else %} {% endif %} {% if ipv4.lan2_wol == "Valid" %} {% elif ipv4.lan2_wol == "Invalid" %} {% else %} {% endif %} {% if ipv4.lan2_framesize %} {% elif ipv6.lan2_framesize %} {% else %} {% endif %} {% if ipv4.lan2_method != "Invalid" and ipv4.lan2_mac %} {% elif ipv6.lan2_method != "Invalid" and ipv6.lan2_mac %} {% else %} {% endif %} {% if ipv4.lan2_method != "Invalid" and ipv4.lan2_state != "unknown" %} {% elif ipv6.lan2_method != "Invalid" and ipv6.lan2_state != "unknown" %} {% else %} {% endif %} {% endif %} {% if ipv4.lan1_method != "Invalid" or ipv4.lan2_method != "Invalid" %} {% else %} {% endif %} {% if ipv6.lan1_method != "Invalid" or ipv6.lan2_method != "Invalid" %} {% else %} {% endif %} {% if ipv4.lan1_method != "Invalid" or ipv4.lan2_method != "Invalid" %} {% else %} {% endif %} {% if ipv6.lan1_method != "Invalid" or ipv6.lan2_method != "Invalid" %} {% else %} {% endif %}
IPv4 IPv6
{% trans "LAN1" %} {% trans "IP Address Setting Method" %} {% if ipv4.lan1_method == "dhcp" %} {% trans "Obtain an IP address automatically(DHCP)" %} {% elif ipv4.lan1_method == "Invalid" %} {% trans "Invalid" %} {% elif ipv4.lan1_method == "manual" %} {% trans "Manual Setting" %} {% endif %} {% if ipv6.lan1_method == "dhcp" %} {% trans "Obtain an IP address automatically(DHCP)" %} {% elif ipv6.lan1_method == "Invalid" %} {% trans "Invalid" %} {% elif ipv6.lan1_method == "manual" %} {% trans "Manual Setting" %} {% endif %}
{% trans "IP Address" %} {% if ipv4.lan1_ip %} {{ ipv4.lan1_ip }} {% else %} - {% endif %} {% if ipv6.lan1_ip %} {{ ipv6.lan1_ip }} {% else %} - {% endif %}
{% trans "Subnet Mask/Prefix Length" %} {% if ipv4.lan1_netmask %} {{ ipv4.lan1_netmask }} {% else %} - {% endif %} {% if ipv6.lan1_prefixlen %} {{ ipv6.lan1_prefixlen }} {% else %} - {% endif %}
{% trans "Wake On LAN" %}{# Wake on LAN #} {% if ipv4.lan1_wol == "Valid" %} {% trans "Valid" %} {% elif ipv4.lan1_wol == "Invalid" %} {% trans "Invalid" %} {% else %} - {% endif %} {% trans "Valid" %}{% trans "Invalid" %}--
{% trans "Frame Size" %} {% if ipv4.lan1_framesize %} {{ ipv4.lan1_framesize }}byte {% elif ipv6.lan1_framesize %} {{ ipv6.lan1_framesize }}byte {% else %} - {% endif %} {{ ipv4.lan1_framesize }}byte{{ ipv6.lan1_framesize }}byte-
{% trans "MAC Address" %} {{ ipv4.lan1_mac }}
{% trans "Link State" %} {% if ipv4.lan1_state != "unknown" %} {{ ipv4.lan1_state }}Mbps {% else %} - {% endif %} {{ ipv4.lan1_state }}Mbps-
{% trans "LAN2" %} {% trans "IP Address Setting Method" %}{% trans "Obtain an IP address automatically(DHCP)" %}{% trans "Invalid" %}{% trans "Manual Setting" %}{% trans "Obtain an IP address automatically(DHCP)" %}{% trans "Invalid" %}{% trans "Manual Setting" %}
{% trans "IP Address" %}{{ ipv4.lan2_ip }}-{{ ipv6.lan2_ip }}-
{% trans "Subnet Mask/Prefix Length" %}{{ ipv4.lan2_netmask }}-{{ ipv6.lan2_prefixlen }}-
{% trans "Wake On LAN" %}{% trans "Valid" %}{% trans "Invalid" %}--
{% trans "Frame Size" %}{{ ipv4.lan2_framesize }}byte{{ ipv6.lan2_framesize }}byte-
{% trans "MAC Address" %}{{ ipv4.lan2_mac }}{{ ipv6.lan2_mac }}-
{% trans "Link State" %}{{ ipv4.lan2_state }}Mbps{{ ipv6.lan2_state }}Mbps-
{% trans "Common Setting" %} {% trans "Method" %} {% if LAN2_IS_SUPPORTED %} {% if ipv4.lan1_method != "Invalid" or ipv4.lan2_method != "Invalid" %} {% if ipv4.common == "STATIC" %} {% trans "Set manually" %} {% elif ipv4.common == "LAN1" %} {% trans "Primarily obtain from LAN1 automatically." %} {% elif ipv4.common == "LAN2" %} {% trans "Primarily obtain from LAN2 automatically." %} {% else %} {{ ipv4.common }} {% endif %} {% else %} - {% endif %} {% else %} {% if ipv4.lan1_method != "Invalid" %} {% if ipv4.common == "STATIC" %} {% trans "Custom Settings" %} {% elif ipv4.common == "LAN1" %} {% trans "Auto" %} {% else %} {{ ipv4.common }} {% endif %} {% else %} - {% endif %} {% endif %} {% if LAN2_IS_SUPPORTED %} {% if ipv6.lan1_method != "Invalid" or ipv6.lan2_method != "Invalid" %} {% if ipv6.common == "STATIC" %} {% trans "Set manually" %} {% elif ipv6.common == "LAN1" %} {% trans "Primarily obtain from LAN1 automatically." %} {% elif ipv6.common == "LAN2" %} {% trans "Primarily obtain from LAN2 automatically." %} {% else %} {{ ipv6.common }} {% endif %} {% else %} - {% endif %} {% else %} {% if ipv6.lan1_method != "Invalid" %} {% if ipv6.common == "STATIC" %} {% trans "Custom Settings" %} {% elif ipv6.common == "LAN1" %} {% trans "Auto" %} {% else %} {{ ipv6.common }} {% endif %} {% else %} - {% endif %} {% endif %}
{% trans "Default Gateway" %}{{ ipv4.gateway }}-{{ ipv6.gateway }}-
{% trans "DNS Server" %}{{ ipv4.dnssrv }}-{{ ipv6.dnssrv }}-


{% trans "Proxy" %} {% if proxy.proxy == "manual" %} {% trans "Set manually" %} {% elif proxy.proxy == "pacfile" %} {% trans "Use pacfile" %} {% else %} {% trans "Do not use" %} {% endif %}
{% trans "Address" %} {{ proxy.host }}
{% trans "Port" %} {{ proxy.port }}
{% trans "Pacfile Script URL" %} {{ proxy.url }}


{% trans "Microsoft Network" %} {% if msnetwork.method == "wg" %} {% trans "WorkGroup" %} {% elif msnetwork.method == "nt" %} {% trans "NT Domain" %} {% elif msnetwork.method == "ad" %} {% trans "ActiveDirectory" %} {% endif %}
{% trans "WorkGroup Name" %} {{ msnetwork.wg }}
{% trans "Domain Name" %} {{ msnetwork.domain }}
{% trans "Domain Controller Name" %} {{ msnetwork.dcname }}
{% trans "Domain Name(NetBIOS Name)" %} {{ msnetwork.netbios }}
{% trans "Domain Name(Full DNS Name)" %} {{ msnetwork.fulldns }}
{% trans "Domain Controller Name" %} {{ msnetwork.dcname }}
{% trans "WINS Server" %} {{ msnetwork.winssrv }}
{% endblock function %}