luci-theme-rosy: (html)Change the scroll bar style, compatible with each bower
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
This commit is contained in:
parent
a5e1e86ba5
commit
57dcdd2b84
2 changed files with 5 additions and 4 deletions
|
@ -43,8 +43,8 @@
|
||||||
<script>
|
<script>
|
||||||
var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
|
var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
|
||||||
</script>
|
</script>
|
||||||
<script src="<%=media%>/js/jquery.min.js?v=git-18.247.71242-9541751"></script>
|
<script src="<%=media%>/js/jquery.min.js"></script>
|
||||||
<script src="<%=media%>/js/script.js?v=git-18.247.71242-9541751"></script>
|
<script src="<%=media%>/js/script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -123,7 +123,7 @@
|
||||||
local function render_topmenu()
|
local function render_topmenu()
|
||||||
local childs = disp.node_childs(cattree)
|
local childs = disp.node_childs(cattree)
|
||||||
if #childs > 0 then
|
if #childs > 0 then
|
||||||
write('<ul class="nav">')
|
write('<ul class="nav scroll">')
|
||||||
|
|
||||||
for i, r in ipairs(childs) do
|
for i, r in ipairs(childs) do
|
||||||
local nnode = cattree.nodes[r]
|
local nnode = cattree.nodes[r]
|
||||||
|
@ -231,6 +231,7 @@
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<script src="<%=resource%>/cbi.js"></script>
|
<script src="<%=resource%>/cbi.js"></script>
|
||||||
<script src="<%=resource%>/xhr.js"></script>
|
<script src="<%=resource%>/xhr.js"></script>
|
||||||
|
<script src="<%=media%>/js/ScrollY.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="lang_<%=luci.i18n.context.lang%> <%- if node then %><%= striptags( node.title ) %><%- end %> <% if luci.dispatcher.context.authsession then %>logged-in<% end %>">
|
<body class="lang_<%=luci.i18n.context.lang%> <%- if node then %><%= striptags( node.title ) %><%- end %> <% if luci.dispatcher.context.authsession then %>logged-in<% end %>">
|
||||||
|
@ -264,7 +265,7 @@
|
||||||
<div class="nav-container">
|
<div class="nav-container">
|
||||||
<a class="brand" href="#">
|
<a class="brand" href="#">
|
||||||
<%=boardinfo.hostname or "?"%></a>
|
<%=boardinfo.hostname or "?"%></a>
|
||||||
<div class="navbar-container">
|
<div class="navbar-container" id="navBox">
|
||||||
<% render_topmenu() %>
|
<% render_topmenu() %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue