luci-admin-full: add architecture info 1822/head
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 25 May 2018 16:28:18 +0000 (18:28 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Mon, 28 May 2018 13:38:57 +0000 (15:38 +0200)
Referring to this, #1698 , we add architecture info and we show Unknown instead of ?. This is usefull if someone needs to install opkg packages manually.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm

index a72936f321b4a92812a4977d074253ce361fe933..d22445b01819a8d967a78050c0fed2c18c687524 100644 (file)
 
        <div class="table" width="100%">
                <div class="tr"><div class="td left" width="33%"><%:Hostname%></div><div class="td left"><%=luci.sys.hostname() or "?"%></div></div>
-               <div class="tr"><div class="td left" width="33%"><%:Model%></div><div class="td left"><%=pcdata(boardinfo.model or boardinfo.system or "?")%></div></div>
+               <div class="tr"><div class="td left" width="33%"><%:Model%></div><div class="td left"><%=pcdata(boardinfo.model or "?")%></div></div>
+               <div class="tr"><div class="td left" width="33%"><%:Architecture%></div><div class="td left"><%=pcdata(boardinfo.system or "?")%></div></div>
                <div class="tr"><div class="td left" width="33%"><%:Firmware Version%></div><div class="td left">
                        <%=pcdata(ver.distname)%> <%=pcdata(ver.distversion)%> /
                        <%=pcdata(ver.luciname)%> (<%=pcdata(ver.luciversion)%>)