{# Copyright 2008 Steven Barth Copyright 2008-2012 Jo-Philipp Wich Licensed to the public under the Apache License 2.0. -#} {% include('header') %}
{% if (fuser): %}

{{ _('Invalid username and/or password! Please try again.') }}

{% endif %} {% if (auth_message && !fuser): %}

{{ auth_message }}

{% endif %}

{{ _('Authorization Required') }}

{{ _('Please enter your username and password.') }}
{% if (auth_fields): %} {% for (let field in auth_fields): %}
{% endfor %} {% endif %} {% if (auth_html): %}
{{ auth_html }}
{% endif %} {% if (auth_assets): %} {% for (let asset in auth_assets): %} {% if (asset.type == 'script'): %} {% endif %} {% endfor %} {% endif %}
{% let https_ports = uci.get('uhttpd', 'main', 'listen_https') ?? []; https_ports = uniq(filter( map( (type(https_ports) == 'string') ? split(https_port, /\s+/) : https_ports, e => +match(e, /\d+$/)?.[0] ), p => (p >= 0 && p <= 65535) )); %} {% include('footer') %}