nastools: login tips

This commit is contained in:
jjm2473 2022-09-03 11:15:45 +08:00
parent d60b5ae747
commit 6f7774b323
3 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@
include $(TOPDIR)/rules.mk
PKG_VERSION:=1.1.0-20220830
PKG_VERSION:=1.1.0-20220903
PKG_RELEASE:=
LUCI_TITLE:=LuCI support for nastools

View File

@ -9,6 +9,7 @@ local container_running = container_status == "running"
<div class="cbi-value-field">
<% if container_running then %>
<button class="cbi-button cbi-button-success" disabled="true"><%:NasTools is running%></button>
<div class="cbi-value-description"><%:Default username: admin, password: password%></div>
<% else %>
<button class="cbi-button cbi-button-negative" disabled="true"><%:NasTools is not running%></button>
<% end %>

View File

@ -34,6 +34,9 @@ msgstr "状态"
msgid "NasTools is running"
msgstr "NasTools 运行中"
msgid "Default username: admin, password: password"
msgstr "默认用户名admin密码password"
msgid "NasTools is not running"
msgstr "NasTools 未运行"