一、 先檢視主題,預設的是 luci-theme-bootstrap ,是以後面要進入對應的主題修改
LuCI --->
4.Themes --->
<*>luci-theme-bootstrap
二、找到 /package/feeds/luci/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm 修改
修改前:
<title><%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI</title>
......
<a class="brand" href="#" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" ><%=boardinfo.hostname or "?"%></a>
修改後:
<title>LoRaGateway - LuCI</title>
......
<a class="brand" href="#" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" >LoRaGateway</a>
三、修改後效果如圖: