-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwalletPage.html
71 lines (70 loc) · 2.71 KB
/
walletPage.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html>
<head>
<title>Multi-Signature Wallet</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h1 class="text-center">Multi-Signature Wallet</h1>
<hr>
<form>
<div class="form-group">
<label for="wallet-address">Wallet Address:</label>
<input type="text" class="form-control" id="wallet-address" placeholder="Enter wallet address">
</div>
<div class="form-group">
<label for="signers">Authorized Signers:</label>
<select multiple class="form-control" id="signers">
</select>
</div>
<div class="form-group">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#add-member-modal">
Add/Remove Wallet Members
</button>
</div>
<hr>
<h3>Transaction History</h3>
<table class="table">
<thead>
<tr>
<th>Transaction Hash</th>
<th>From</th>
<th>To</th>
<th>Amount (ETH)</th>
<th>Timestamp</th>
</tr>
</thead>
<tbody id="transaction-history">
</tbody>
</table>
</form>
</div>
<!-- Add/Remove Members Modal -->
<div class="modal fade" id="add-member-modal" tabindex="-1" role="dialog" aria-labelledby="add-member-modal-title" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="add-member-modal-title">Add/Remove Wallet Members</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label for="new-member-address">New Member Address:</label>
<input type="text" class="form-control" id="new-member-address" placeholder="Enter Ethereum address">
</div>
<div class="form-group">
<button type="button" class="btn btn-primary" id="add-member-btn">Add Member</button>
<button type="button" class="btn btn-danger" id="remove-member-btn">Remove Selected Member</button>
</div>
<div class="form-group">
<label for="authorized-signers-list">Authorized Signers:</label>
<select multiple class="form-control" id="authorized-signers-list">
</select>
</div>
</div>
</div>
</div>
</