Merge pull request #1780 from dibdot/adblock
[project/luci.git] / modules / luci-mod-freifunk / htdocs / luci-static / flashing.html
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4 <head>
5         <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6         <title>LuCI - System Upgrade</title>
7
8         <style type="text/css">
9                 body {
10                         background-color:       #CCCCCC;
11                         font-family:            sans-serif;
12                         font-size:              90%;
13                         padding-left:           50%;
14                         padding-top:            100px;
15                 }
16
17                 h2 {
18                         font-size:              110%;
19                         margin:                 5px 5px 0.5em 5px;
20                         border-bottom:          1px dotted #0066CC;
21                         color:                  #0066CC;
22                 }
23
24                 p {
25                         font-size:              95%;
26                         margin:                 15px 15px 0.5em 15px;
27                 }
28
29                 div {
30                         background-color:       #F7F7F7;
31                         border:                 1px dotted #000000;
32                         width:                  600px;
33                         height:                 150px;
34                         margin-left:            -300px;
35                 }
36
37                 em {
38                         color:                  #555555;
39                 }
40         </style>
41
42         <script type="text/javascript"><!--
43                 var time_remaining = 60 * 25;
44                 var interval = window.setInterval(function() {
45                         if( time_remaining <= 0 )
46                         {
47                                 window.clearInterval(interval);
48                                 location.href = 'http://' + location.host + '/';
49                         }
50                         else
51                         {
52                                 var minutes = Math.floor(time_remaining / 60);
53                                 var seconds = time_remaining % 60;
54                                 var label = document.getElementById('time_remaining');
55
56                                 if( label )
57                                 {
58                                         label.innerHTML =
59                                                 ( minutes > 0 ? minutes + 'm ' : '' ) +
60                                                 seconds + 's';
61                                 }
62                         }
63
64                         time_remaining = time_remaining - 1;
65                 }, 1000);
66         --></script>
67 </head>
68
69 <body class="lang_en">
70         <div>
71                 <h2>Performing Upgrade</h2>
72
73                 <p>
74                         The System is flashing now. The procedure can take up to 25 minutes,
75                         please be patient and wait until this page reloads itself.
76
77                         <br /><img src="resources/flashing.gif" style="vertical-align:middle; margin:10px" />
78
79                         <em>Remaining time (estimated): <span id="time_remaining">unknown</span></em>
80                 </p>
81         </div>
82 </body>
83
84 </html>