Globally reduce copyright headers
[project/luci.git] / modules / luci-mod-failsafe / luasrc / view / failsafe / applyreboot.htm
1 <%#
2  Copyright 2008 Steven Barth <steven@midlink.org>
3  Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
4  Licensed to the public under the Apache License 2.0.
5 -%>
6
7 <html>
8         <head>
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();
15
16                                 img.onload = function() {
17                                         window.clearInterval(interval);
18                                         location.href = 'http://<%=addr or luci.http.getenv("SERVER_NAME")%>/';
19                                 };
20
21                                 img.src = 'http://<%=addr or luci.http.getenv("SERVER_NAME")%><%=resource%>/icons/loading.gif?' + Math.random();
22                         }, 5000);
23                 //]]></script>
24         </head>
25         <body>
26                 <div id="maincontainer">
27                         <div id="maincontent">
28                                 <h2><a id="content" name="content"><%:System%> - <% if title then %><%=title%><% else %><%:Rebooting...%><% end %></a></h2>
29                                 <fieldset class="cbi-section">
30                                         <p>
31                                                 <% if msg then %><%=msg%><% else %><%:Changes applied.%><% end %>
32                                         </p>
33                                         <p>
34                                                 <img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" />
35                                                 <%:Waiting for changes to be applied...%>
36                                         </p>
37                                 </fieldset>
38                         </div>
39                 </div>
40         </body>
41 </html>