summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/luasrc/view
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2018-08-07 17:46:00 +0200
committerAnsuel Smith <ansuelsmth@gmail.com>2018-08-07 17:46:00 +0200
commit35da63fa9a977ac579ee18ce2636d0db9d76353e (patch)
treecded2b75129380a0a6162c3f1c3b6de771f6a689 /themes/luci-theme-material/luasrc/view
parentc27a77756c718a0b3babd510f83850bd9e2ac431 (diff)
luci-theme-material: fix theme for applyreboot page changes
This rename style.css to casade.css (like the other themes) and fix the css to display the header even in the applyreboot page Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'themes/luci-theme-material/luasrc/view')
-rw-r--r--themes/luci-theme-material/luasrc/view/themes/material/header.htm22
1 files changed, 12 insertions, 10 deletions
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 f97db25751..e6047614f6 100644
--- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm
+++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm
@@ -203,7 +203,7 @@
<link rel="icon" href="<%=media%>/logo.png" sizes="144x144">
<link rel="apple-touch-icon-precomposed" href="<%=media%>/logo.png" sizes="144x144">
- <link rel="stylesheet" href="<%=media%>/css/style.css">
+ <link rel="stylesheet" href="<%=media%>/cascade.css">
<link rel="shortcut icon" href="<%=media%>/favicon.ico">
<% if node and node.css then %>
<link rel="stylesheet" href="<%=resource%>/<%=node.css%>">
@@ -216,15 +216,17 @@
</head>
<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">
- <span class="showSide"></span>
- <a class="brand" href="#"><%=boardinfo.hostname or "?"%></a>
- <div class="pull-right">
- <% render_changes() %>
- <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()">
- <span class="label success" id="xhr_poll_status_on"><span class="mobile-hide"><%:Auto Refresh%></span> <%:on%></span>
- <span class="label" id="xhr_poll_status_off" style="display:none"><span class="mobile-hide"><%:Auto Refresh%></span> <%:off%></span>
- </span>
+ <div class="fill">
+ <div class="container">
+ <span class="showSide"></span>
+ <a class="brand" href="#"><%=boardinfo.hostname or "?"%></a>
+ <div class="pull-right">
+ <% render_changes() %>
+ <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()">
+ <span class="label success" id="xhr_poll_status_on"><span class="mobile-hide"><%:Auto Refresh%></span> <%:on%></span>
+ <span class="label" id="xhr_poll_status_off" style="display:none"><span class="mobile-hide"><%:Auto Refresh%></span> <%:off%></span>
+ </span>
+ </div>
</div>
</div>
</header>