blob: bab14d92e7b95c26974aed0fcf2bad77b2bbafe5 (
plain)
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
|
<!DOCTYPE html>
<html id="template_root" i18n-values="dir:textdirection">
<head>
<title i18n-content="title">
</title>
<style>
html {
height: 100%;
}
body {
-webkit-box-pack: center;
-webkit-user-select: none;
background-image: -webkit-linear-gradient(white 50%, rgb(236, 244, 255));
color: #000;
display: -webkit-box;
height: 100%;
margin: 0;
padding: 0;
visibility: hidden;
width: 100%;
}
#mainview {
display: -webkit-box;
padding-top: 100px;
}
#right {
-webkit-margin-start: 70px;
}
.upper {
position: relative;
width: 100%;
-webkit-box-flex: 0.8;
}
#logo-container {
display: -webkit-box;
}
#product-name {
-webkit-margin-start: 5px;
color: grey;
font-size: 160%;
}
#heading {
font-size: 15px;
padding-top: 20px;
}
#message {
font-size: 12px;
padding-top: 5px;
}
#button {
padding-top: 30px;
}
.offline_message {
position: absolute;
width: 600px;
height: 49%;
}
.activation_message {
position: absolute;
width: 500px;
top: 0;
margin-top: 0;
left: 50%;
margin-left: -250px;
min-height: 380px;
}
#carrierPage {
padding-top: 10px;
width: 500px;
height: 380px;
overflow-x: none;
overflow-y: none;
}
.hidden {
display: none;
}
.splitter {
border-top: 1px solid #DDD;
height: 1px;
}
</style>
<script src="../../../../ui/webui/resources/js/local_strings.js"></script>
<script>
var localStrings = new LocalStrings();
function sendCommand(cmd) {
window.domAutomationController.setAutomationId(1);
window.domAutomationController.send(cmd);
}
// Show the offline page.
function showPage() {
document.body.style.visibility = 'visible';
}
document.addEventListener('DOMContentLoaded', function() {
var timeToWait = localStrings.getString('time_to_wait');
window.setTimeout(showPage, timeToWait);
});
</script>
<body oncontextmenu="return false;"
i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
<div id="mainview">
<div id="left">
<div class="upper">
<div id="logo-container">
<img i18n-values=".src:icon">
<div id="product-name" i18n-content="product_name"></div>
</div>
<div id="heading" i18n-content="heading"></div>
<div id="message" i18n-content="msg"></div>
<div id="button">
<button onclick="sendCommand('open_network_settings')"
i18n-content="network_settings"></button>
</div>
</div>
</div>
<div id="right">
<img src="images/broken_robot.png">
</div>
</div>
</body>
</html>
|