summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/luasrc/view
diff options
context:
space:
mode:
authorLutty Yang <lutty@wcan.in>2015-10-23 12:51:07 +0800
committerLutty Yang <lutty@wcan.in>2015-10-23 12:51:07 +0800
commit9098b20650a77e8b0d0913d7786196e7a2a7508f (patch)
treed12566173719c5d472ebfd00ad6dabeedeab83e5 /themes/luci-theme-material/luasrc/view
parent780778e6f98d0e8b5bd531f79636fd43b7b99c11 (diff)
luci-theme-material: Synchronized to the LUCI version f9e590a
Signed-off-by: Lutty Yang <lutty@wcan.in>
Diffstat (limited to 'themes/luci-theme-material/luasrc/view')
-rwxr-xr-xthemes/luci-theme-material/luasrc/view/themes/material/footer.htm2
-rwxr-xr-xthemes/luci-theme-material/luasrc/view/themes/material/header.htm4
2 files changed, 3 insertions, 3 deletions
diff --git a/themes/luci-theme-material/luasrc/view/themes/material/footer.htm b/themes/luci-theme-material/luasrc/view/themes/material/footer.htm
index 3127855774..5cb74ce1e4 100755
--- a/themes/luci-theme-material/luasrc/view/themes/material/footer.htm
+++ b/themes/luci-theme-material/luasrc/view/themes/material/footer.htm
@@ -42,6 +42,6 @@
</div>
<script src="<%=media%>/js/jquery.min.js"></script>
- <script src="<%=media%>/js/script.js?<%= ver.luciversion %>"></script>
+ <script src="<%=media%>/js/script.js"></script>
</body>
</html>
diff --git a/themes/luci-theme-material/luasrc/view/themes/material/header.htm b/themes/luci-theme-material/luasrc/view/themes/material/header.htm
index 99afc065b3..46e008dbfc 100755
--- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm
+++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm
@@ -122,7 +122,7 @@
<meta name="msapplication-tap-highlight" content="no">
<meta name="msapplication-TileColor" content="#0099CC">
<meta name="msapplication-TileImage" content="<%=media%>/logo.png"/>
- <link rel="stylesheet" href="<%=media%>/css/style.css?<%= ver.luciversion %>">
+ <link rel="stylesheet" href="<%=media%>/css/style.css">
<link rel="shortcut icon" href="<%=media%>/favicon.ico">
<% if node and node.css then %>
<link rel="stylesheet" href="<%=resource%>/<%=node.css%>">
@@ -135,7 +135,7 @@
<script src="<%=resource%>/xhr.js"></script>
</head>
-<body class="lang_<%=luci.i18n.context.lang%> <%- if node then %><%= striptags( node.title ) %><%- end %>">
+<body class="lang_<%=luci.i18n.context.lang%> <%- if node then %><%= striptags( node.title ) %><%- end %> <% if luci.dispatcher.context.authsession then %>logged-in<% end %>">
<header>
<div class="container">