-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (29 loc) · 1.57 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ethereum Block Explorer</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<body>
<div id="liveAlertPlaceholder" class="d-flex m-3 justify-content-center"></div>
<div class="d-flex m-3 justify-content-center" role="alert" id="connect-alert">
<div class="alert alert-primary"> You must <button class="btn btn-outline-primary" id="connect-button">Connect to MetaMask</button> to be able to continue! </div>
</div>
<div class="row">
<div id="block-details" class="container col">
<h3 class="d-block m-5"> No blocks here yet... </h3>
</div>
<div id="txn-details" class="container col">
<h3 class="d-block m-5"> Transactions will show here... </h3>
</div>
</div>
<div class="d-flex justify-content-center">
<button id="fetch-more" class="btn btn-outline-secondary">Fetch more blocks</button>
</div>
<script src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="app.js?v=0.0.2"></script>
</body>
</html>