|
| 1 | + |
| 2 | +<!DOCTYPE html> |
| 3 | +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" |
| 4 | + pageEncoding="ISO-8859-1"%> |
| 5 | +<%@page import="java.util.Date"%> |
| 6 | +<%@page import="java.text.SimpleDateFormat"%> |
| 7 | +<%@page import="java.util.List"%> |
| 8 | +<%@page import="java.util.Iterator"%> |
| 9 | +<html lang="en"> |
| 10 | +<head> |
| 11 | +<meta charset="utf-8"> |
| 12 | +<title>Pack7 :: Send Parcel</title> |
| 13 | +<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 14 | +<meta name="description" content=""> |
| 15 | +<meta name="author" content=""> |
| 16 | + |
| 17 | +<!-- Le styles --> |
| 18 | +<link href="../assets/css/bootstrap.css" rel="stylesheet"> |
| 19 | +<style type="text/css"> |
| 20 | +body { |
| 21 | + padding-top: 20px; |
| 22 | + padding-bottom: 60px; |
| 23 | +} |
| 24 | +
|
| 25 | +/* Custom container */ |
| 26 | +.container { |
| 27 | + margin: 0 auto; |
| 28 | + max-width: 1000px; |
| 29 | +} |
| 30 | +
|
| 31 | +.container>hr { |
| 32 | + margin: 80px 0; |
| 33 | +} |
| 34 | +
|
| 35 | +/* Main marketing message and sign up button */ |
| 36 | +.jumbotron { |
| 37 | + margin: 80px 0; |
| 38 | + text-align: center; |
| 39 | +} |
| 40 | +
|
| 41 | +.jumbotron h1 { |
| 42 | + font-size: 100px; |
| 43 | + line-height: 1; |
| 44 | +} |
| 45 | +
|
| 46 | +.jumbotron .lead { |
| 47 | + font-size: 24px; |
| 48 | + line-height: 1.25; |
| 49 | +} |
| 50 | +
|
| 51 | +.jumbotron .btn { |
| 52 | + font-size: 21px; |
| 53 | + padding: 14px 24px; |
| 54 | +} |
| 55 | +
|
| 56 | +/* Supporting marketing content */ |
| 57 | +.marketing { |
| 58 | + margin: 60px 0; |
| 59 | +} |
| 60 | +
|
| 61 | +.marketing p+h4 { |
| 62 | + margin-top: 28px; |
| 63 | +} |
| 64 | +
|
| 65 | +/* Customize the navbar links to be fill the entire space of the .navbar */ |
| 66 | +.navbar .navbar-inner { |
| 67 | + padding: 0; |
| 68 | +} |
| 69 | +
|
| 70 | +.navbar .nav { |
| 71 | + margin: 0; |
| 72 | + display: table; |
| 73 | + width: 100%; |
| 74 | +} |
| 75 | +
|
| 76 | +.navbar .nav li { |
| 77 | + display: table-cell; |
| 78 | + width: 1%; |
| 79 | + float: none; |
| 80 | +} |
| 81 | +
|
| 82 | +.navbar .nav li a { |
| 83 | + font-weight: bold; |
| 84 | + text-align: center; |
| 85 | + border-left: 1px solid rgba(255, 255, 255, .75); |
| 86 | + border-right: 1px solid rgba(0, 0, 0, .1); |
| 87 | +} |
| 88 | +
|
| 89 | +.navbar .nav li:first-child a { |
| 90 | + border-left: 0; |
| 91 | + border-radius: 3px 0 0 3px; |
| 92 | +} |
| 93 | +
|
| 94 | +.navbar .nav li:last-child a { |
| 95 | + border-right: 0; |
| 96 | + border-radius: 0 3px 3px 0; |
| 97 | +} |
| 98 | +</style> |
| 99 | +<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet"> |
| 100 | + |
| 101 | +<!-- HTML5 shim, for IE6-8 support of HTML5 elements --> |
| 102 | +<!--[if lt IE 9]> |
| 103 | + <script src="../assets/js/html5shiv.js"></script> |
| 104 | + <![endif]--> |
| 105 | + |
| 106 | +<!-- Fav and touch icons --> |
| 107 | +<link rel="apple-touch-icon-precomposed" sizes="144x144" |
| 108 | + href="../assets/ico/apple-touch-icon-144-precomposed.png"> |
| 109 | +<link rel="apple-touch-icon-precomposed" sizes="114x114" |
| 110 | + href="../assets/ico/apple-touch-icon-114-precomposed.png"> |
| 111 | +<link rel="apple-touch-icon-precomposed" sizes="72x72" |
| 112 | + href="../assets/ico/apple-touch-icon-72-precomposed.png"> |
| 113 | +<link rel="apple-touch-icon-precomposed" |
| 114 | + href="../assets/ico/apple-touch-icon-57-precomposed.png"> |
| 115 | +<link rel="shortcut icon" href="../assets/ico/favicon.png"> |
| 116 | +<style> |
| 117 | +.datepicker { |
| 118 | + |
| 119 | +} |
| 120 | +</style> |
| 121 | + |
| 122 | +<script> |
| 123 | + $(function() { |
| 124 | + $(".datepicker").datepicker(); |
| 125 | + }); |
| 126 | +</script> |
| 127 | +<script> |
| 128 | + function reset() { |
| 129 | + hideStatus(); |
| 130 | + removeAttribute("AddUserStatus"); |
| 131 | + } |
| 132 | +
|
| 133 | + function hideStatus() { |
| 134 | + document.getElementById("status").style.display = "none"; |
| 135 | + } |
| 136 | +</script> |
| 137 | + |
| 138 | +</head> |
| 139 | + |
| 140 | +<body> |
| 141 | + |
| 142 | + |
| 143 | + <div class="container"> |
| 144 | + <div class="masthead"> |
| 145 | + <h1> |
| 146 | + <a href="pack7" style="text-decoration: none;">Pack7 India</a> |
| 147 | + </h1> |
| 148 | + |
| 149 | + <div class="navbar"> |
| 150 | + <div class="navbar-inner"> |
| 151 | + <div class="container"> |
| 152 | + <ul class="nav"> |
| 153 | + <li><a href="pack7">Home</a></li> |
| 154 | + <li class="active"><a href="sendparcel">Send Parcel</a></li> |
| 155 | + <li><a href="trackparcel">Track Parcel</a></li> |
| 156 | + <li><a href="about">About</a></li> |
| 157 | + <li><a href="contact">Contact</a></li> |
| 158 | + <li><a href="LogoutServlet">Logout</a></li> |
| 159 | + </ul> |
| 160 | + </div> |
| 161 | + </div> |
| 162 | + </div> |
| 163 | + <!-- /.navbar --> |
| 164 | + </div> |
| 165 | + <div> |
| 166 | + <ul class="breadcrumb"> |
| 167 | + <li><a href="pack7.html">Home</a> <span class="divider">/</span></li> |
| 168 | + <li><a href="#">Send Parcel</a></li> |
| 169 | + </ul> |
| 170 | + </div> |
| 171 | + |
| 172 | + <div class="row-fluid box"> |
| 173 | + |
| 174 | + <div class=""box-content"> |
| 175 | + <!-- Jumbotron --> |
| 176 | + <form name="sendParcelForm" id="sendParcelForm" |
| 177 | + class="bs-docs-example form-horizontal" |
| 178 | + action="sendparcel/bookparcel" method="POST"> |
| 179 | + <div class="box-header well" data-original-title=""> |
| 180 | + <h2> |
| 181 | + <i class="icon-edit"></i>Sender Address Details |
| 182 | + </h2> |
| 183 | + </div> |
| 184 | + <div class="control-group"> |
| 185 | + <label class="control-label" for="inputError">Name</label> |
| 186 | + <div class="controls"> |
| 187 | + <input name="sendername" type="text" id="inputWarning" |
| 188 | + required="required" onfocus="hideStatus()"> |
| 189 | + </div> |
| 190 | + </div> |
| 191 | +
|
| 192 | + <div class="control-group"> |
| 193 | + <label class="control-label" for="inputError">Pickup |
| 194 | + Address</label> |
| 195 | + <div class="controls"> |
| 196 | + <input name="pickupaddress" type="text" id="inputWarning" |
| 197 | + required="required" onfocus="hideStatus()"> |
| 198 | + </div> |
| 199 | + </div> |
| 200 | +
|
| 201 | + <div class="control-group"> |
| 202 | + <label class="control-label" for="inputError">Mobile</label> |
| 203 | + <div class="controls"> |
| 204 | + <input name="sendermobile" type="text" id="inputWarning" |
| 205 | + required="required" onfocus="hideStatus()"> |
| 206 | + </div> |
| 207 | + </div> |
| 208 | + <div class="control-group"> |
| 209 | + <label class="control-label" for="inputError">Email</label> |
| 210 | + <div class="controls"> |
| 211 | + <input name="senderemail" type="text" id="inputWarning" |
| 212 | + required="required" onfocus="hideStatus()"> |
| 213 | + </div> |
| 214 | + </div> |
| 215 | +
|
| 216 | + <div class="control-group"> |
| 217 | + <label class="control-label" for="inputError">Pickup Date</label> |
| 218 | + <div class="controls"> |
| 219 | + <input name="pickupdate" type="text" id="inputWarning" |
| 220 | + required="required" onfocus="hideStatus()"> |
| 221 | + <span class="add-on">dd-mm-yyyy</span> |
| 222 | + </div> |
| 223 | + </div> |
| 224 | + |
| 225 | + <div class="control-group"> |
| 226 | + <label class="control-label" for="inputError">Pickup Time</label> |
| 227 | + <div class="controls"> |
| 228 | + <input name="pickuptime" type="text" id="inputWarning" |
| 229 | + required="required" onfocus="hideStatus()"> |
| 230 | + <span class="add-on">hh:mm</span> |
| 231 | + </div> |
| 232 | + </div> |
| 233 | +
|
| 234 | + <div class="box-header well" data-original-title=""> |
| 235 | + <h2> |
| 236 | + <i class="icon-edit"></i>Receiver Address Details |
| 237 | + </h2> |
| 238 | + </div> |
| 239 | + <div class="control-group"> |
| 240 | + <label class="control-label" for="inputError">Name</label> |
| 241 | + <div class="controls"> |
| 242 | + <input name="receivername" type="text" id="inputWarning" |
| 243 | + required="required" onfocus="hideStatus()"> |
| 244 | + </div> |
| 245 | + </div> |
| 246 | +
|
| 247 | + <div class="control-group"> |
| 248 | + <label class="control-label" for="inputError">Address</label> |
| 249 | + <div class="controls"> |
| 250 | + <input name="receiveraddress" type="text" id="inputWarning" |
| 251 | + required="required" onfocus="hideStatus()"> |
| 252 | + </div> |
| 253 | + </div> |
| 254 | +
|
| 255 | +
|
| 256 | + <div class="control-group"> |
| 257 | + <label class="control-label" for="inputError">Mobile</label> |
| 258 | + <div class="controls"> |
| 259 | + <input name="receivermobile" type="text" id="inputWarning" |
| 260 | + required="required" onfocus="hideStatus()"> |
| 261 | + </div> |
| 262 | + </div> |
| 263 | + <div class="control-group"> |
| 264 | + <label class="control-label" for="inputError">Email</label> |
| 265 | + <div class="controls"> |
| 266 | + <input name="receiveremail" type="text" id="inputWarning" |
| 267 | + required="required" onfocus="hideStatus()"> |
| 268 | + </div> |
| 269 | + </div> |
| 270 | + <div class="control-group box-header well"> |
| 271 | + <div class="controls"> |
| 272 | + <button class="btn btn-primary" type="submit">Book</button> |
| 273 | + <button class="btn" type="reset" onsubmit="reset()">Reset</button> |
| 274 | + </div> |
| 275 | + </div> |
| 276 | + </form> |
| 277 | + </div> |
| 278 | + </div> |
| 279 | +
|
| 280 | + </div> |
| 281 | +
|
| 282 | + <div class="footer"> |
| 283 | + <p align="left">© Company 2015</p> |
| 284 | + </div> |
| 285 | +
|
| 286 | + </div> |
| 287 | + <script> |
| 288 | + $("#bookParcelForm").validate(); |
| 289 | + </script> |
| 290 | +
|
| 291 | + <!-- Le javascript |
| 292 | + ================================================== --> |
| 293 | + <!-- Placed at the end of the document so the pages load faster --> |
| 294 | + <script src="../assets/js/jquery.js"></script> |
| 295 | + <script src="../assets/js/bootstrap-transition.js"></script> |
| 296 | + <script src="../assets/js/bootstrap-alert.js"></script> |
| 297 | + <script src="../assets/js/bootstrap-modal.js"></script> |
| 298 | + <script src="../assets/js/bootstrap-dropdown.js"></script> |
| 299 | + <script src="../assets/js/bootstrap-scrollspy.js"></script> |
| 300 | + <script src="../assets/js/bootstrap-tab.js"></script> |
| 301 | + <script src="../assets/js/bootstrap-tooltip.js"></script> |
| 302 | + <script src="../assets/js/bootstrap-popover.js"></script> |
| 303 | + <script src="../assets/js/bootstrap-button.js"></script> |
| 304 | + <script src="../assets/js/bootstrap-collapse.js"></script> |
| 305 | + <script src="../assets/js/bootstrap-carousel.js"></script> |
| 306 | + <script src="../assets/js/bootstrap-typeahead.js"></script> |
| 307 | +</body> |
| 308 | +</html> |