From b872a756ff53226e1ce4a4365d09dae9a3d72605 Mon Sep 17 00:00:00 2001 From: Connor L Jackson Date: Wed, 22 Feb 2017 19:29:08 -0500 Subject: [PATCH] Yay! --- WebContent/html/webpages/returnPage.jsp | 66 +++++++++++++++++++------ 1 file changed, 52 insertions(+), 14 deletions(-) diff --git a/WebContent/html/webpages/returnPage.jsp b/WebContent/html/webpages/returnPage.jsp index 377c2e1..284f415 100644 --- a/WebContent/html/webpages/returnPage.jsp +++ b/WebContent/html/webpages/returnPage.jsp @@ -13,6 +13,7 @@ Synchrony Financial + @@ -26,6 +27,7 @@ background-color: #E9EAEB; display: inline-block; cursor: pointer; + position: relative; } div.imgContainer{ @@ -61,6 +63,16 @@ padding-left: 20px; width: 200px; } + tbody{ + text-align: left; + } + input.deviceCheckbox{ + position: absolute; + left: 0px; + bottom: 0px; + height: 20px; + width: 20px; + } @@ -71,12 +83,35 @@ +
+ +

"; } if(i==0) htmlString+="Couldn't find any devices to return. Why not go order some?"; document.getElementById("devContainer").innerHTML = htmlString; @@ -254,6 +287,11 @@ function populateDeviceList(filter) function returnDevice() { + var html = ""; + for(var i = 0; i < toReturn.length; i++){ + html+= "" + devices[toReturn[i]].name + "" + devices[toReturn[i]].hardware + "" + devices[toReturn[i]].model + ""; + } + document.getElementById("tablebody").innerHTML = html; $('#orderInfoModal').show(); }