天天看點

MT7628學習筆記(15)——修改LuCI界面左上角LOGO

一、 先檢視主題,預設的是 luci-theme-bootstrap ,是以後面要進入對應的主題修改

LuCI  ---> 
    4.Themes  ---> 
	        <*>luci-theme-bootstrap
           
MT7628學習筆記(15)——修改LuCI界面左上角LOGO

二、找到 /package/feeds/luci/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm  修改

MT7628學習筆記(15)——修改LuCI界面左上角LOGO

修改前:

<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>
           

三、修改後效果如圖:

MT7628學習筆記(15)——修改LuCI界面左上角LOGO