Cosmetic changes to the terminology in the UI:
[project/luci.git] / modules / admin-full / luasrc / view / admin_system / applyreboot.htm
1 <%#
2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
5
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
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13
14 -%>
15
16 <html>
17         <head>
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();
24
25                                 img.onload = function() {
26                                         window.clearInterval(interval);
27                                         location.href = 'http://<%=addr or luci.http.getenv("SERVER_NAME")%>/';
28                                 };
29
30                                 img.src = 'http://<%=addr or luci.http.getenv("SERVER_NAME")%><%=resource%>/icons/loading.gif?' + Math.random();
31                         }, 5000);
32                 //]]></script>
33         </head>
34         <body>
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">
39                                         <p>
40                                                 <% if msg then %><%=msg%><% else %><%:Changes applied.%><% end %>
41                                         </p>
42                                         <p>
43                                                 <img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" />
44                                                 <%:Waiting for changes to be applied...%>
45                                         </p>
46                                 </fieldset>
47                         </div>
48                 </div>
49         </body>
50 </html>