zoukankan      html  css  js  c++  java
  • openwrt 更改默认主题

    BB 版本默认的主题为 bootstrap,想要修改为其他的主题,可以按照如下方法修改:

    1、查看可以使用的主题。

       "make menuconfig" ---> "luci" ---> "theme"

       

       可以看到目前支持4种主题,(1)bootstrap (2)freifunk-bno (3)freifunk-generic (4)openwrt

       在代码目录中也可以查看到,路径为:  feeds/luci/themes

    hbg@root:~/trunk/feeds/luci/themes$ ls
    bootstrap   freifunk-bno   freifunk-generic   openwrt

    2、更改默认主题

         修改   feeds/luci/contrib/package/luci  下的文件 Makefile

         找到主题段

       

        替换为 $(eval $(call theme,openwrt,OpenWrt.org (default)))。

       

    (3)在  "make menuconfig"  ---> "Luci"  ---> "themes"   中选中 "openwrt"主题,然后编译即可。

  • 相关阅读:
    bootstrap常用快捷查找
    jquery
    javascript
    移动端心得总结
    css。过渡动画
    css。。段落样式
    css。元素样式、边框样式
    css3
    css
    Hbuilder 的快捷方式
  • 原文地址:https://www.cnblogs.com/rohens-hbg/p/5712087.html
Copyright © 2011-2022 走看看