forked from trezor/connect
/
login-restyled.html
49 lines (41 loc) · 1.09 KB
/
login-restyled.html
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
<!DOCTYPE html>
<html>
<head>
<title>TREZOR Login Test</title>
<script>
function trezorLogin(response) {
document.getElementById("response").innerHTML = JSON.stringify(response, undefined, 2);
console.log(response);
}
</script>
</head>
<body>
<trezor:login callback="trezorLogin" text="Pair with TREZOR">
</trezor:login>
<pre id="response"></pre>
<script src="../connect.js"></script>
<!--custom font, from Google Fonts-->
<link href='https://fonts.googleapis.com/css?family=Courgette' rel='stylesheet'>
<!--custom style of the Trezor connect-->
<style>
#trezorconnect-wrapper {
font-family: 'Courgette', cursive;
}
#trezorconnect-button {
background-color: #ED69BE;
font-size: 20px;
border-radius: 10px;
}
#trezorconnect-button:hover {
background-color: #A12977;
}
#trezorconnect-infolink {
color: #ED69BE;
font-size: 13px;
}
#trezorconnect-infolink:hover {
color: #A12977;
}
</style>
</body>
</html>