.main {
top: 4rem;
bottom: 0rem;
+ position: relative;
+ height: 100%;
+ height: calc(100% - 4rem);
}
.main > .loading{
.main-left {
float: left;
+ top: 4rem;
width: 15%;
width: calc(0% + 17rem);
height: 100%;
- overflow-y: auto;
+ height: calc(100% - 4rem);
background-color: white;
+
+ overflow-x: auto;
+ position: fixed;
}
.main-right {
width: 85%;
width: calc(100% - 17rem);
float: right;
- overflow-y: auto;
height: 100%;
background-color: #EEE;
}
+.main-right > #maincontent{
+ background-color: #EEE;
+}
+
.pull-right {
float: right;
}
.main {
top: 3.5rem;
+ height: calc(100% - 3.5rem);
}
.main-left {
width: calc(0% + 13rem);
+ top: 3.5rem;
+ height: calc(100% - 3.5rem);
}
.main-right {
-%>
<%
+ local ver = require "luci.version"
local sys = require "luci.sys"
local util = require "luci.util"
local http = require "luci.http"
<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">
+ <link rel="stylesheet" href="<%=media%>/css/style.css?<%= ver.luciversion %>">
<link rel="shortcut icon" href="<%=media%>/favicon.ico">
<% if node and node.css then %>
<link rel="stylesheet" href="<%=resource%>/<%=node.css%>">
end
%>
<% if ucichanges > 0 then %>
- <a class="label notice" href="<%=controller%>/<%=category%>/uci/changes"><span class="mobile-hide"><%:Unsaved Changes%>: </span><%=ucichanges%></a>
+ <a class="label notice" href="<%=controller%>/<%=category%>/uci/changes?redir=<%=http.urlencode(http.formvalue("redir") or REQUEST_URI)%>"><span class="mobile-hide"><%:Unsaved Changes%>: </span><%=ucichanges%></a>
<% end %>
<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>