-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
164 lines (153 loc) · 9 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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Wallet Homepage</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<link href="mycss.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body class="background">
<main>
<div class="container py-4">
<!-- card 1 -->
<div class="p-5 mb-5 bg-light rounded-3 card1">
<div class="container-fluid py-1 row">
<div class="fw-bold col-sm-8">
<h3><img src="ethlogo.svg" height="50" width="50"> Ethereum(ETH)</h3>
<h3 id="balance">0.00 ETH ≈ $0.00 </h3>
</div>
<h3 class="col-sm-2"></h3>
</div>
</div>
<!-- card 2 -->
<div class="row align-items-md-stretch">
<div class="col-md-6">
<div class="h-100 p-5 rounded-3 card2">
<h6>Price : $1657</h6>
<h6>24H Low : $1590</h6>
<h6>24H High : $1697</h6>
<h6>Market Cap : $195,348,098,282</h6>
<h6>Volume : $6,899,896,049</h5>
<h6>Circulating Supply : 122,373,866 ETH</h6>
</div>
</div>
<!-- card 3 -->
<div class="col-md-6 ">
<div class="h-100 p-5 rounded-3 card3">
<!--Send Button -->
<div class=" d-grid gap-5 d-md-block grid">
<button type="button" class="btn btn-danger mx-2" data-bs-toggle="modal"
data-bs-target="#sendModal">
<h5>Send</h5>
</button>
<!-- Send Modal -->
<div class="modal fade" id="sendModal" data-bs-backdrop="static" data-bs-keyboard="false"
tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content logincard">
<div class="modal-header">
<h1 class="modal-title fs-5" id="staticBackdropLabel">Send Transaction :
</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="mb-3 row">
<label for="inputPassword"
class="col-sm-2 col-form-label"><b>Address</b></label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputAddress" value="">
</div>
<div id="alert">
<small>⚠ Please recheck the address of ERC20 network , otherwise
there is a possibility of losing your assets.</small>
</div>
</div>
<div class="mb-3 row">
<label for="inputPassword" class="col-sm-4 col-form-label"><b>Amount (in
ETH)</b></label>
<div class="col-sm-5">
<input type="text" class="form-control" id="amount" value="">
</div>
</div>
</div>
<div class="modal-footer ">
<button type="button" class="btn btn-danger" id="CBS" data-bs-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-success" id="SendBtn">Send</button>
</div>
</div>
</div>
</div>
<button type="button" class="btn btn-warning mx-2" id="withdrawBtn">
<h5>Withdraw</h5>
</button>
<!-- Receive Button -->
<button type="button" class="btn btn-success mx-2" data-bs-toggle="modal"
data-bs-target="#receiveModal">
<h5>Receive</h5>
</button>
<!-- Receive Modal -->
<div class="modal fade" id="receiveModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content logincard">
<div class="modal-header">
<h1 class="modal-title fs-5" id="staticBackdropLabel">Receive Transaction :</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="mb-3 row">
<small><b>Your Wallet Address :</b></small>
<div class="col my-3">
<input type="text" readonly class="form-control" id="myaddress" value="0x4A0B6552F1D6fD37abE1d3882e58bdEa522f2942">
</div>
<div class="col-auto my-3">
<button type="submit" class="btn btn-primary " id="CopyButton">copy</button>
</div>
<div id="alert">
<small>⚠ Copy this address to receive ETH in your wallet.</small>
</div>
</div>
<div class="modal-footer ">
<button type="button" class="btn btn-danger" id="CBR" data-bs-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>
</div>
<!-- Last Transaction -->
<h6 class="my-4"><u>Last Transaction : </u></h6>
<table class="table">
<thead>
<tr>
<th scope="col">Address</th>
<th scope="col">Amount</th>
</tr>
</thead>
<tbody class="table-group-divider">
<tr>
<td id="LastTxnAdd">0x4A0B6552F1D6fD37abE1d3882e58bdEa522f2942</td>
<td id="LastTxnBal">-0.2 ETH</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- <footer class="pt-3 mt-4 text-muted border-top">
© 2022
</footer> -->
</div>
</main>
<!-- <script data-main="scripts/main.js" src="scripts/require.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
crossorigin="anonymous"></script>
<script src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js"
type="application/javascript"></script>
<!-- <script src="index.js"></script> -->
<script src="interact.js"></script>
</body>
</html>