forked from anandsonar1/Drug-Tracer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathS_QRR.html
117 lines (100 loc) · 3.49 KB
/
S_QRR.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Supplier Dashboard</title>
<link rel="stylesheet" href="/css/S_QRR.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Font Awesome CDN Link for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
</head>
<style>
.logout-button {
position: absolute;
top: 30px;
right: 100px;
width: 40px;
height: 30px;
display: inline-block;
background-color: aliceblue;
text-align: center;
font-size: 16px;
font-weight: bold;
margin-top: 5px;
text-decoration: none;
color: black;
}
.details textarea{
font-family: 'Courier New', Courier, monospace;
position: relative;
left: -20.5rem;
width: 120%;
height: -webkit-fill-available;
outline: none;
resize: none;
color: #000;
font-size: 18px;
background: none;
border-radius: 5px;
padding: 10px 15px;
border: 1px solid #fff;
margin-top: 210px;
}
#search {
padding: 5px;
}
.dropdown-content {
width: 23%;
height: 10%;
line-height: 2;
}
.img {
position: absolute;
top: 15px;
left: 10px;
}
</style>
<body>
<a href="/S_Logout.html"><img src="https://cdn-icons-png.flaticon.com/512/10479/10479874.png" alt="" title="" class="logout-button"></a>
<div class="dropdown">
<!-- <a class="dropbtn"><img scr="https://cdn-icons-png.flaticon.com/512/6933/6933236.png"></a> -->
<a href="" class="img"><img src=" https://cdn-icons-png.flaticon.com/512/6933/6933236.png " width="50" height="50" class="how-to-use"></a>
<div class="dropdown-content">
<a href="#"> 1: Upload the Qr code and scan it.</a>
<a href="#"> 2: Track the product and copy the product_ID. </a>
<a href="#"> 3: Paste the product_ID in search box.</a>
<a href="#"> and check the Drug is fake or not proceeding through the transaction using metamask.</a>
<a href="#">* do not have Metamask.*</a>
<a href="https://metamask.io/download/">click to Download Metamask</a>
</div>
</div>
<div class="wrapper">
<form action="#">
<input type="file" hidden>
<img src="#" alt="qr-code">
<div class="content">
<i class="fas fa-cloud-upload"></i>
<p>Upload QR Code to Read</p>
</div>
</form>
<div class="details">
<textarea spellcheck="false" disabled></textarea>
<div class="buttons">
<button class="close">Close</button>
<button class="copy">Copy Text</button>
</div>
</div>
<div class="search" >
<input class="box" type="text" id="search" placeholder = "Enter Product ID">
<button class="subbtn" type="submit" id="submit" name="submit" >Search</button>
</div>
</div>
<script src="https://www.gstatic.com/firebasejs/8.2.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.2/firebase-database.js"></script>
<!-- Import the MetaMask JavaScript library -->
<script src="https://cdn.jsdelivr.net/npm/@metamask/detect-provider"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/web3.min.js"></script>
<script src="/js/S_QRR.js"></script>
<script src="/js/S_id_check.js"></script>
</body>
</html>