-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdelete.html
170 lines (157 loc) · 6.9 KB
/
delete.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
<!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="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
/>
<link href="./css/aos.min.css" rel="stylesheet" />
<script src="node_modules\web3\dist\web3.min.js"></script>
<script src="js/App.js"></script>
<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>Delete Document</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="index.html">
<i class="fa-solid fa-dragon home_text"></i>
<span class="home_text">Hub</span>Doc
</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 " aria-current="page" href="index.html">Home</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 active" href="delete.html">Delete </a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin.html">Admin</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">Team</a>
</li>
</ul>
<div class="d-flex">
<button
id="loginButton"
onclick="connect()"
class="btn main-button"
>Login</button>
<button
id="logoutButton"
onclick="disconnect()"
class="btn main-button"
> Logout</button>
</div>
</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="Exporter-info" class="p-1 mb-2"><span class="text-warning"></span></span>
<span id="network" class="p-1"><span class="text-warning"></span></span>
<span id="userAddress" class="p-1"><span class="text-warning"></span></span>
<span id="userBalance" 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 onchange="get_Sha3()" id="doc-file" type="file"/>
<span id="note" class="text-danger"
></span
>
<img id="loader" class="d-none" src="files/loader.svg" alt="loader">
<input
onclick="deleteHash()"
class="btn upload-button main-button"
type="submit"
value="Delete document"
id="upload_file_button"
/>
</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 fa-dragon"></i>
DocHub</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">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab, unde ea? Repellendus dicta ab commodi labore quidem, quam eveniet. Fuga tempore ad aut rerum vitae.
</p>
</div>
<div data-aos="zoom-in" class="col item social">
<a href="#"><i class="fa-brands fa-facebook"></i></a>
<a href="#"><i class="fa-brands fa-twitter"></i> </a
><a href="#"><i class="fa-brands fa-github"> </i></a>
<a href="#"><i class="fa-brands fa-instagram"> </i> </a>
</div>
</div>
<p class="copyright">DocHub © 2023</p>
</div>
</footer>
</div>
<div >
<i onclick="topFunction()" id="scroll-btn" class="fa-solid fa-angle-up"></i>
</div>
<div><a href="mailto:[email protected]?subject=From Dochub Site">
<i class="mail-us fa-solid fa-headset"></i>
</a>
<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"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
</body>
</html>