Spaces:
Sleeping
Sleeping
File size: 7,221 Bytes
5026c77 |
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 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Track Consignment</title>
<link rel="stylesheet" href="../static/style.css" />
</head>
<body>
<!-- <h1 class="mock-text">This is a mock website.</h1> -->
<div class="navbar-full">
<div class="navbar-top">
<div class="search-icon-div">
<img
src="../static/images/search.svg"
alt="Q"
height="13px"
width="13px"
/>
</div>
<div class="top-level-buttons">
<div class="top-level-button">
<img
src="../static/images/globe.svg"
alt="Q"
height="13px"
width="13px"
/>
English
</div>
{% if not Name %}
<div class="top-level-button">
<img
src="../static/images/user.svg"
alt="Q"
height="13px"
width="13px"
/>
<a href="login.html">Sign In</a>
</div>
<div class="top-level-button">
<img
src="../static/images/user-add.svg"
alt="Q"
height="13px"
width="13px"
/>
<a href="register.html">Register</a>
</div>
{% else %}
<div class="top-level-button">
<img
src="../static/images/user.svg"
alt="Q"
height="13px"
width="13px"
/>
{{Name}}
</div>
<div class="top-level-button">
<img
src="../static/images/logout.svg"
alt="Q"
height="13px"
width="13px"
/>
<a href="logout.html">Logout</a>
</div>
{% endif %}
</div>
</div>
<div class="navbar-bottom">
<div class="logo-container">
<h2 class="logo">INDIA POST</h2>
</div>
<div class="quick-links-container">
<button class="quick-link">
<a
href="trackconsignment.html"
style="text-decoration: none; color: black"
>
Quick Tools
</a>
</button>
<button class="quick-link">
<a
href="findpincode.html"
style="text-decoration: none; color: black"
>
Send
</a>
</button>
<button class="quick-link">
<a
href="locatepostoffice.html"
style="text-decoration: none; color: black"
>
Receive
</a>
</button>
<button class="quick-link">
<a
href="buystamps.html"
style="text-decoration: none; color: black"
>
Shop
</a>
</button>
<button class="quick-link">
<a href="tenders.html" style="text-decoration: none; color: black">
Business
</a>
</button>
<button class="quick-link">
<a href="/" style="text-decoration: none; color: black"> Home </a>
</button>
</div>
</div>
</div>
<div class="main-container">
<div class="sidebar">
<div class="sidebar-container">
<div class="tools-header">
<h2>Tools</h2>
</div>
<div class="sidebar-links">
<div class="sidebar-link sidebar-link-active">
<a href="" class="link-active">Track Consignment</a>
</div>
<div class="sidebar-link">
<a href="locatepostoffice.html">Locate Post Office</a>
</div>
<div class="sidebar-link">
<a href="findpincode.html">Find Pin-code</a>
</div>
<div class="sidebar-link">
<a href="calculatepostage.html">Calculate Postage</a>
</div>
<div class="sidebar-link"><a href="https://www.ippbonline.com/web/ippb">India Post Bank</a></div>
<div class="sidebar-link"><a href="buystamps.html">Stamp</a></div>
</div>
</div>
</div>
<div class="main-content">
<div class="center-contents">
<h2 class="sign-in-title">Track Consignment</h2>
<form action="" method="post">
<div class="input-section-container">
<h2 class="input-section-title">Type of Tracking ID</h2>
<div class="input-section-divison">
<div class="input-containers-calc-post">
<div>
<input
type="radio"
name="tracking-type"
id="tracking-type"
value="consignment"
/>
<label for="consignment">Consignment No.</label>
</div>
<div>
<input
type="radio"
name="tracking-type"
id="tracking-type"
value="reference"
/>
<label for="reference">Ref No.</label>
</div>
</div>
</div>
</div>
<div class="input-section-container">
<h2 class="input-section-title">Input the Tracking ID</h2>
<div class="input-section-divison">
<div class="input-containers">
<div class="input-whole">
<label for="trackingid">Consignment No. / Ref No.</label>
<input
type="text"
name="trackingid"
id="trackingid"
placeholder="Enter Tracking ID"
/>
</div>
</div>
</div>
</div>
<div class="sign-in-buttons-container">
<button class="red-button btn" type="submit">Search</button>
<button class="btn">Reset</button>
</div>
</form>
{% if result %}
<br />
<h3>Search Results</h3>
<table>
<tr>
<th>Date</th>
<th>Time</th>
<th>Office</th>
<th>Event</th>
</tr>
{% for row in result %}
<tr>
<td>{{ row['Date'] }}</td>
<td>{{ row['Time'] }}</td>
<td>{{ row['Office'] }}</td>
<td>{{ row['Event'] }}</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>No results found</p>
{% endif %}
</div>
</div>
</div>
</body>
</html>
|