• R/O
  • HTTP
  • SSH
  • HTTPS

luci: Commit

LuCI - OpenWrt Configuration Interface


Commit MetaInfo

Revisão6154481e20d7d16b8bfbff44b0a2e03f7587a098 (tree)
Hora2022-01-26 17:25:40
AutorLienol <23146169+Lienol@user...>
CommiterTianling Shen

Mensagem de Log

luci-mod-admin-full: status: add Target Platform

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Mudança Sumário

Diff

--- a/modules/luci-base/po/zh-cn/base.po
+++ b/modules/luci-base/po/zh-cn/base.po
@@ -1229,6 +1229,12 @@ msgstr "固件文件"
12291229 msgid "Firmware Version"
12301230 msgstr "固件版本"
12311231
1232+msgid "Architecture"
1233+msgstr "架构"
1234+
1235+msgid "Target Platform"
1236+msgstr "目标平台"
1237+
12321238 msgid "Fixed source port for outbound DNS queries"
12331239 msgstr "指定的 DNS 查询源端口"
12341240
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
+++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
@@ -692,6 +692,7 @@
692692 <tr><td width="33%"><%:Hostname%></td><td><%=luci.sys.hostname() or "?"%></td></tr>
693693 <tr><td width="33%"><%:Model%></td><td><%=pcdata(boardinfo.model or "?")%> <%=luci.sys.exec("cat /etc/bench.log") or " "%></td></tr>
694694 <tr><td width="33%"><%:Architecture%></td><td><%=pcdata(boardinfo.system or "?")%> x <%=luci.sys.exec("cat /proc/cpuinfo | grep 'processor' | wc -l") or "1"%></td></tr>
695+ <tr><td width="33%"><%:Target Platform%></td><td><%=pcdata(boardinfo.release.target or "?")%></td></tr>
695696 <tr><td width="33%"><%:Firmware Version%></td><td>
696697 <%=pcdata(ver.distname)%> <%=pcdata(ver.distversion)%> /
697698 <%=pcdata(ver.luciname)%> (<%=pcdata(ver.luciversion)%>)
Show on old repository browser