1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
<!DOCTYPE html>
<html id="template_root" i18n-values="dir:textdirection">
<head>
<title i18n-content="title">
</title>
<style>
html {
height: 100%;
}
body {
border: green 1px solid;
color: #000;
font-family: Helvetica, Arial, sans-serif;
background-image: -webkit-linear-gradient(white 50%, rgb(236, 244, 255));
height: 100%;
padding: 0;
margin: 0;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-box-pack: center;
-webkit-box-align: center;
}
.upper {
width: 60%;
height: 50%;
}
.upper_main {
position: relative;
width: 100%;
bottom: -35%;
}
.lower {
height: 50%;
width: 100%;
display: -webkit-box;
-webkit-box-pack: center;
-webkit-box-orient: horizontal;
}
.lower_left {
height: 100%;
width: 24%;
background-image: -webkit-linear-gradient(-100deg, rgb(230, 230, 230), rgb(230, 230, 230) 3px, rgb(240, 240, 240) 3px, rgba(240, 240, 240, 0) 20%);
}
.lower_right {
height: 100%;
width: 24%;
background-image: -webkit-linear-gradient(-80deg, rgb(230, 230, 230), rgb(230, 230, 230) 3px, rgb(240, 240, 240) 3px, rgba(240, 240, 240, 0) 20%);
}
.lower_main {
position: relative;
height: 100%;
width: 50%;
padding-top: 20px;
background-image: -webkit-linear-gradient(rgb(230, 230, 230), rgb(230, 230, 230) 3px, rgb(240, 240, 240) 3px, rgba(240, 240, 240, 0) 20%);
}
.icon {
float: left;
margin: 15px;
overflow: visible;
}
.title {
float: left;
height: 10%;
width: 80%;
font-family: Sans-serif;
font-size: 120%;
font-weight: bold;
padding: 3px;
}
.message {
float: left;
margin-top: 10px;
}
.link {
float: left;
clear: both;
padding: 3px;
}
.activation_button {
float: left;
clear both;
}
</style>
<script>
function sendCommand(cmd) {
window.domAutomationController.setAutomationId(1);
window.domAutomationController.send(cmd);
}
// Show the offline page.
function showPage() {
document.body.style.visibility = 'visible';
}
// Start the timer to show the page.
function startTimer(time) {
// wait 2.5 seconds before showing 'load now', 'go back' button.
setTimeout('showPage()', time);
}
</script>
<body oncontextmenu="return false;">
<div class="upper" i18n-values=".title:url">
<div class="upper_main">
<div class="icon" i18n-values=".src:icon;.style.display:display_icon"></div>
<div class="title" i18n-content="heading"> </div>
<div class="message" i18n-values=".innerHTML:msg"> </div>
<div class="link"><a href="chrome://settings/internet"
onclick="sendCommand('proceed')"
i18n-content="try_loading">
</a> </div>
<div class="link">
<a href="chrome://settings/internet"
onclick="sendCommand('open_network_settings')"
i18n-content="network_settings">
</a>
</div>
</div>
</div>
<div class="lower" i18n-values=".style.display:display_activation">
<div class="lower_left"> </div>
<div class="lower_main">
<img class="icon" src="activate_broadband_info.png"></img>
<div class="title" i18n-content="activation_heading"></div>
<div class="message" i18n-content="activation_msg"></div>
<button class="activation_button" i18n-content="activation_button"
onclick="sendCommand('open_activate_broadband')">
</button>
</div>
<div class="lower_right"> </div>
</div>
</body>
</html>
|