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(); }