From 8b3cc0b4f1f1f1e53fbd55ae515a6ebabbe39e63 Mon Sep 17 00:00:00 2001 From: Adam R Claxton Date: Fri, 17 Mar 2017 16:33:42 -0400 Subject: [PATCH] Autofill updated for new address filds and location dropdown. --- WebContent/html/css/stylesheet.css | 7 ++ WebContent/html/webpages/shoppingCart.jsp | 107 +++++++++++++++++----- src/database/MySQLAccess.java | 28 ++++++ src/entities/Location.java | 68 ++++++++++++++ 4 files changed, 187 insertions(+), 23 deletions(-) create mode 100644 src/entities/Location.java diff --git a/WebContent/html/css/stylesheet.css b/WebContent/html/css/stylesheet.css index 360b370..08d057b 100644 --- a/WebContent/html/css/stylesheet.css +++ b/WebContent/html/css/stylesheet.css @@ -64,6 +64,13 @@ input[type=text]{ width: 60%; } +select{ + margin:0 auto; + width: 65%; + align-self: center; + float: center; +} + span.close{ color: #aaa; diff --git a/WebContent/html/webpages/shoppingCart.jsp b/WebContent/html/webpages/shoppingCart.jsp index 3200c63..2862eb5 100644 --- a/WebContent/html/webpages/shoppingCart.jsp +++ b/WebContent/html/webpages/shoppingCart.jsp @@ -1,7 +1,9 @@ <%@ page import = "database.MySQLAccess" %> <%@ page import = "entities.User" %> +<%@ page import = "entities.Location" %> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> + @@ -52,7 +54,7 @@ pageEncoding="ISO-8859-1"%> <%@ include file="navbar.html"%>