-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (32 loc) · 1.13 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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Decentralized Audtis</title>
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
</head>
<body>
<h1>Decentralized Audits</h1>
<div id="mm-detected"></div>
<button id = "mm-connect">Connect to MetaMask</button>
<br>
<br>
<h3>Pay 1 ether to join the platform and choose the role:</h3>
<h3>1 - Principal</h3>
<h3>2 - Auditor</h3>
<h3>3 - QualityGuard</h3>
<input id="tender-input-box" type="number" placeholder="Provide input"/>
<button id = "tender-input-button">Join the platform</button>
<br>
<h3>Your role is: <div id="role-detected"></div></h3>
<br>
<button id = "tender-exit-button">Exit the platform</button>
<br>
<h3>Check how many audits have already been submitted by principals</h3>
<button id = "tender-auditsNum-input-button">Check</button>
<div id="num-audits"></div>
<script src="./client/dapp.js"></script>
</body>
</html>