-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (35 loc) · 1.64 KB
/
Copy pathindex.html
File metadata and controls
54 lines (35 loc) · 1.64 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Matic vs Ethereum</title>
<meta name="description" content="Matic vs Ethereum">
<meta name="author" content="SanLab">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
</head>
<body>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--4-col"></div>
<div class="mdl-cell mdl-cell--4-col">
<p>Metamask: <span class="showMetamaskInstalled"></span></p>
<button class="enableEthereumButton mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent">Enable Ethereum</button>
<p>Account: <span class="showAccount"></span></p>
<hr>
<p>ChainID: <span class="showChainInfo"></span></p>
<hr>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" onclick="printCoolNumber();">Print Cool Number</button>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" onclick="changeCoolNumber();">Change Cool Number</button>
<p>Number: <span class="showNumber"></span></p>
<div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
<script src="https://cdn.jsdelivr.net/gh/ethereum/web3.js@3.0.0/dist/web3.min.js"></script>
<script src="scripts.js"></script>
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
</div>
<div class="mdl-cell mdl-cell--4-col"></div>
</div>
</body>
</html>