From 42561bd1222e725b82e91d39c52e85cef2f86379 Mon Sep 17 00:00:00 2001 From: kzolotarev95 Date: Mon, 29 Jun 2026 12:19:43 +0400 Subject: [PATCH] Polish hub branding and login --- .../luci/menu.d/luci-app-owrt-remote.json | 3 +- files/www/cgi-bin/owrt-remote | 6 +-- .../luci-static/resources/view/owrt_remote.js | 5 +- vps/owrt-remote-hub.py | 53 +++++++++++++++++-- 4 files changed, 54 insertions(+), 13 deletions(-) diff --git a/files/usr/share/luci/menu.d/luci-app-owrt-remote.json b/files/usr/share/luci/menu.d/luci-app-owrt-remote.json index 1d2a064..dcb96fb 100644 --- a/files/usr/share/luci/menu.d/luci-app-owrt-remote.json +++ b/files/usr/share/luci/menu.d/luci-app-owrt-remote.json @@ -1,6 +1,6 @@ { "admin/services/owrt-remote": { - "title": "OpenWrt Remote", + "title": "OpenWrt Remote Hub", "order": 91, "action": { "type": "view", @@ -16,4 +16,3 @@ } } } - diff --git a/files/www/cgi-bin/owrt-remote b/files/www/cgi-bin/owrt-remote index 63c4ac5..968e758 100644 --- a/files/www/cgi-bin/owrt-remote +++ b/files/www/cgi-bin/owrt-remote @@ -2,7 +2,7 @@ KEY_FILE="${KEY_FILE:-/etc/owrt-remote/web.key}" AGENT="${AGENT:-/usr/sbin/owrt-remote}" -OWRT_REMOTE_UI_VERSION="2026-06-29-result-layout-v13" +OWRT_REMOTE_UI_VERSION="2026-06-29-openwrt-remote-hub-v14" PARAMS_FILE="${TMPDIR:-/tmp}/owrt-remote-cgi.$$" RESULT_TITLE="" RESULT_BODY="" @@ -255,7 +255,7 @@ render_page() { -Wrt Удаленный доступ извне +OpenWrt Remote Hub -

OpenWrt Remote Hub

Вход в панель роутеров

{error_html}
""" + return f""" + + + + +OpenWrt Remote Hub + + + +
+
+ +
+

OpenWrt Remote Hub

+

Вход в панель роутеров

+
+
+ {error_html} + + + + + +
Удаленный доступ к OpenWrt через свой VPS
+
+ +""" class App: