2 Copyright 2008 Steven Barth <steven@midlink.org>
3 Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
4 Licensed to the public under the Apache License 2.0.
9 <title><%=luci.sys.hostname()%> - <% if title then %><%=title%><% else %><%:Rebooting...%><% end %></title>
10 <link rel="stylesheet" type="text/css" media="screen" href="<%=media%>/cascade.css" />
11 <script type="text/javascript" src="<%=resource%>/xhr.js"></script>
12 <script type="text/javascript">//<![CDATA[
13 var interval = window.setInterval(function() {
14 var img = new Image();
16 img.onload = function() {
17 window.clearInterval(interval);
18 location.href = ('https:' == document.location.protocol ? 'https://' : 'http://') + '<%=addr or luci.http.getenv("SERVER_NAME")%>/';
21 img.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + '<%=addr or luci.http.getenv("SERVER_NAME")%><%=resource%>/icons/loading.gif?' + Math.random();
26 <div id="maincontainer">
27 <div id="maincontent">
28 <h2 name="content"><%:System%> - <% if title then %><%=title%><% else %><%:Rebooting...%><% end %></h2>
29 <fieldset class="cbi-section">
31 <% if msg then %><%=msg%><% else %><%:Changes applied.%><% end %>
34 <img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" />
35 <%:Waiting for changes to be applied...%>