-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Order form for the shopping cart page
Doesn't do anything with the data right now. Also doesn't actually complete order when pressing submit! Will add that tomorrow. It's fine if we want to use different field; that's easy to change.
- Loading branch information
Showing
3 changed files
with
137 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,90 @@ | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<title>Synchrony Financial</title> | ||
<title>Synchrony Financial</title> | ||
|
||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
<link rel = "stylesheet" type = "text/css" href = "../css/stylesheet.css"> | ||
<link rel = "shortcut icon" href = "../imgs/synchrony-financial-logo-dlpx_1.ico"> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
<link rel = "stylesheet" type = "text/css" href = "../css/stylesheet.css"> | ||
<link rel = "shortcut icon" href = "../imgs/synchrony-financial-logo-dlpx_1.ico"> | ||
|
||
<style> | ||
div.ticket{ | ||
background-image: url('../imgs/ticket.png'); | ||
display: inline-block; | ||
height: 126px; | ||
width: 240px; | ||
} | ||
<style> | ||
div.ticket{ | ||
background-image: url('../imgs/ticket.png'); | ||
display: inline-block; | ||
height: 126px; | ||
width: 240px; | ||
} | ||
|
||
p.tickettext{ | ||
text-align: center; | ||
vertical-align: middle; | ||
line-height: 126px; | ||
} | ||
p.tickettext{ | ||
text-align: center; | ||
vertical-align: middle; | ||
line-height: 126px; | ||
} | ||
|
||
#pup{ | ||
background-color: #E9EAEB; | ||
border: solid; | ||
text-align: center; | ||
padding: 10px; | ||
} | ||
#pup{ | ||
background-color: #E9EAEB; | ||
border: solid; | ||
text-align: center; | ||
padding: 10px; | ||
} | ||
</style> | ||
|
||
</head> | ||
|
||
<body> | ||
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal"> | ||
</nav> | ||
</head> | ||
|
||
<div class="col-sm-3 col-md-2 sidebar"> | ||
<ul class="nav nav-sidebar"> | ||
<h4>Shopping Cart Options</h4> | ||
<li class = "option" id = "os"><a href="#">Order Selected</a></li> | ||
<li class = "option" id = "ds"><a href="#">Remove Selected From Cart</a></li> | ||
<li class = "option" id = "oa"><a href="#">Order All</a></li> | ||
<li class = "option" id = "da"><a href="#">Remove All From Cart</a></li> | ||
</ul> | ||
</div> | ||
<body> | ||
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal"> | ||
</nav> | ||
<div id="orderInfoModal" class="modal"> | ||
<div class="modal-content"> | ||
<div class="modal-head"> | ||
<span id="closeOrderForm" class="close">×</span> | ||
<h4>Please provide additional order information</h4> | ||
</div> | ||
<div class="modal-body"> | ||
<form> | ||
<label for="name">Your name</label><br/> | ||
<input type="text" name="name" /> | ||
<br/><br/> | ||
<label for="location">Place to ship to</label><br/> | ||
<input type="text" name="location" /> | ||
<br/><br/> | ||
<label for="timeNeeded">How many weeks do you think you'll need it?</label><br/> | ||
<input type="text" name="timeNeeded" /> | ||
<br/><br/> | ||
|
||
<input type="submit" name="Submit"> | ||
</form> | ||
|
||
<div class = "displayDevice"> | ||
<h2>Welcome to your shopping cart!</h2> | ||
<div id="shoppingContainer"> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-sm-3 col-md-2 sidebar"> | ||
<ul class="nav nav-sidebar"> | ||
<h4>Shopping Cart Options</h4> | ||
<li class = "option" id = "os"><a href="#">Order Selected</a></li> | ||
<li class = "option" id = "ds"><a href="#">Remove Selected From Cart</a></li> | ||
<li class = "option" id = "oa"><a href="#">Order All</a></li> | ||
<li class = "option" id = "da"><a href="#">Remove All From Cart</a></li> | ||
</ul> | ||
</div> | ||
|
||
<div class = "displayDevice"> | ||
<h2>Welcome to your shopping cart!</h2> | ||
<div id="shoppingContainer"> | ||
</div> | ||
</div> | ||
|
||
<script src="../javascript/shoppingCart.js"></script> | ||
<script src = "../javascript/navbar.js"></script> | ||
<script src = "../javascript/nhpup_1.1.js"></script> | ||
</body> | ||
|
||
<script src="../javascript/shoppingCart.js"></script> | ||
<script src = "../javascript/navbar.js"></script> | ||
<script src = "../javascript/nhpup_1.1.js"></script> | ||
</body> | ||
</html> |