2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
18 <title><%=luci.sys.hostname()%> - <% if title then %><%=title%><% else %><%:Rebooting...%><% end %></title>
19 <link rel="stylesheet" type="text/css" media="screen" href="<%=media%>/cascade.css" />
20 <script type="text/javascript" src="<%=resource%>/xhr.js"></script>
21 <script type="text/javascript">//<![CDATA[
22 var interval = window.setInterval(function() {
23 var img = new Image();
25 img.onload = function() {
26 window.clearInterval(interval);
27 location.href = 'http://<%=addr or luci.http.getenv("SERVER_NAME")%>/';
30 img.src = 'http://<%=addr or luci.http.getenv("SERVER_NAME")%><%=resource%>/icons/loading.gif?' + Math.random();
35 <div id="maincontainer">
36 <div id="maincontent">
37 <h2><a id="content" name="content"><%:System%> - <% if title then %><%=title%><% else %><%:Rebooting...%><% end %></a></h2>
38 <fieldset class="cbi-section">
40 <% if msg then %><%=msg%><% else %><%:Changes applied.%><% end %>
43 <img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" />
44 <%:Waiting for changes to be applied...%>