{# 7Dollar — login page Licensed to the public under the Apache License 2.0. -#} {% include('header', { blank_page: true }) %} {% import { model } from 'luci.7dollar'; const board = ubus.call('system', 'board') ?? {}; const zh = !!match(dispatcher.lang ?? '', /^zh/); const T = (z, e) => zh ? z : e; const sprite = `${media}/icons.svg`; const user = duser ?? 'root'; const custom = fuser && fuser != user; -%}

{{ T('欢迎回来', 'Welcome back') }}

{{ striptags(board.hostname ?? 'OpenWrt') }} · {{ striptags(model(board)) }}

{% if (fuser): %} {% endif %}

{{ T('将以', 'Signing in as') }} {{ entityencode(user) }} {{ T('身份登录', '') }} ·

{{ version.distname }} {{ version.distversion }} · {{ T('仅限局域网访问', 'Local network only') }}
{% include('footer', { blank_page: true }) %}