-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.html
198 lines (181 loc) · 7.2 KB
/
admin.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./css/loader.css">
<link href="css/bootstrap.min.css" rel="stylesheet" />
<script src="js/App.js"></script>
<script src="node_modules\web3\dist\web3.min.js"></script>
<link href="./css/aos.min.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="css/main.css" />
<link rel="icon" href="./assets/images/icon.png" />
<title>Admin Dashboard</title>
</head>
<body>
<div class="loader-wraper">
<div class="lds-roller">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<!-----------------------------navbBar Start-------------------->
<!--NavBar Start-->
<nav class="navbar navbar-expand-lg navbar-light bg-light py-3 navbar-dark">
<div class="container">
<a class="navbar-brand" href="about.html">
<i class="fa-solid home_text"></i>
<span class="home_text">Wander</span>land
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="about.html">Team</a>
</li>
<li class="nav-item">
<a class="nav-link " href="upload.html">Upload </a>
</li>
<li class="nav-item">
<a class="nav-link" href="verify.html">Verify </a>
</li>
<li class="nav-item">
<a class="nav-link" href="delete.html">Delete </a>
</li>
<li class="nav-item">
<a class="nav-link active" href="admin.html">Admin</a>
</li>
</ul>
</div>
</div>
</nav>
<!---------------------NavBar End-------------------->
<!--=====================Upload Document===========================-->
<div class="container">
<div class="alert alert-danger d-none mt-2">
Please download MetaMask at <a target="_blank" href="https://metamask.io/download">Metamask Site</a>
</div>
<div class="row content m-1">
<div data-aos="fade-down" class="box wallet-status col-lg-12 d-flex flex-column my-2">
<i class="fa-brands fa-connectdevelop icon" aria-hidden="true"></i>
<span id="userAddress" class="p-1">Address : <span class="text-warning">n/a</span></span>
<span id="network" class="p-1">Network: <span class="text-warning">n/a</span></span>
<span id="userBalance" class="p-1">Balance : <span class="text-warning">n/a</span></span>
<span id="num-hashes" class="p-1"><span class="text-warning"></span></span>
<span id="num-exporters" class="p-1"><span class="text-warning"></span></span>
</div>
<div data-aos="zoom-in" class="col-lg-6 py-3 data-upload my-3 mx-md-2">
<input id="Exporter-address" type="text" placeholder="Exporter Address" required />
<input type="text" id="info" placeholder="Univesity" required />
<span id="note" class="text-danger"></span>
<img id="loader" class="d-none" src="files/loader.svg" alt="loader">
<div class="btn-container mt-3">
<input onclick="addExporter()" class="btn btn-primary exporter-button main-button" type="submit"
value="Add Exporter" id="ExporterBtn" />
<input onclick="deleteExporter()" class="btn btn-danger exporter-button main-button" type="submit"
value="Delete Exporter" id="delete" />
<input onclick="editExporter()" class="btn btn-warning exporter-button main-button" type="submit"
value="Edit Exporter" id="edit" />
</div>
</div>
</div>
</div>
<!--=====================Footer===========================-->
<div class="footer-dark">
<footer>
<div class="container">
<div class="row">
<div class="col-sm-6 col-md-3 item">
<h3 data-aos="fade-right">Services</h3>
<ul data-aos="zoom-in">
<li><a href="#">Ethereum</a></li>
<li><a href="#">Blockchain Tech.</a></li>
<li><a href="#">Smart Contracts </a></li>
</ul>
</div>
<div class="col-sm-6 col-md-3 item">
<h3 data-aos="fade-right">About us</h3>
<ul data-aos="zoom-in">
<li><a href="#">Company</a></li>
<li><a href="#">Team</a></li>
</ul>
</div>
<div class="col-md-6 item text">
<h3 data-aos="fade-right">
<i class="fa-solid"></i>
Wanderland
</h3>
<!-- <a href="https://www.flaticon.com/free-icons/blockchain" title="blockchain icons">Blockchain icons created by photo3idea_studio - Flaticon</a> -->
<p data-aos="zoom-in">
Praesent sed lobortis mi. Suspendisse vel placerat ligula.
Vivamus ac sem lacus. Ut vehicula rhoncus elementum. Etiam quis
tristique lectus. Aliquam in arcu eget velit pulvinar dictum vel
in justo.
</p>
</div>
<div class="col-md text-center text-md-start">
<h3 data-aos="fade-right">Credits</h3>
<ul data-aos="zoom-in">
<li>
<a href="https://undraw.co/illustrations" title="Indraw illustrations">Blockchain
illustrations created by undraw</a>
</li>
<li>
<a href='https://www.freepik.com/vectors/futuristic-background'>Futuristic background
vector created by freepik - www.freepik.com</a>
</li>
<li>
<a href='https://www.freepik.com/vectors/tech-world'>Tech world vector created by
liuzishan - www.freepik.com</a>
</li>
<li>
<a
href="https://unsplash.com/@theshubhamdhage?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">
Photo by Shubham Dhage</a> on <a
href="https://unsplash.com/s/photos/blockchain?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
</li>
<li>
<a href="https://www.flaticon.com/free-icons/wings" title="wings icons">Wings icons
created by Freepik - Flaticon</a>
</li>
<li>
<a href="https://loading.io/icon/">Icon Loading loading.io</a>
</li>
</ul>
</div>
</div>
<p class="copyright">Wanderland © 2023</p>
</div>
</footer>
</div>
<div>
<script src="./js/aos.js"></script>
<script src="./js/script.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.js"
integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="node_modules\web3\dist\web3.min.js"></script>
<!--=====================Start Code===========================-->
<script defer>
document.getElementById("Exporter-address").onclick = () => {
$("#note").html(``);
$("#ExporterBtn").attr("disabled", false);
$("#edit").attr("disabled", false);
$("#delete").attr("disabled", false);
}
</script>
</body>
</html>