-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (45 loc) · 1.68 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
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Taquito / Beacon Tutorial</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="toast.css" />
<script src="index.js"></script>
</head>
<body>
<main>
<div id="connection">
<button class="connect-button" id="init-wallet">
Connect your wallet
</button>
</div>
<div id="interface">
<h2>Contracct interface</h2>
<p>Your address: <span id="user-address"></span></p>
<p>Your balance: XTZ : <span id="user-balance"></span></p>
<p>Current message: <span id="current-message"></span></p>
<p>Current value: <span id="current-value"></span></p>
<div class="loader-container">
<div class="loader" id="loader"></div>
</div>
<div>
<p>
Change the message:
<input type="text" id="new-message" />
<button id="update-message">Update</button>
</p>
</div>
<div>
<p>
Increment <button id="increment-button">+1</button>  
Decrement
<button id="decrement-button">-1</button>
</p>
</div>
</div>
</main>
<div id="toast">Some text..</div>
</body>
</html>