Skip to content

Commit

Permalink
More bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
clj13001 committed Apr 6, 2017
1 parent eeb1fcd commit 8a01c2c
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 58 deletions.
1 change: 0 additions & 1 deletion WebContent/html/css/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ div.sidebar{
border-right-style: solid;
height: 100vh;
background-color: #E9EAEB;
width: 300px;
position: fixed;
}

Expand Down
2 changes: 1 addition & 1 deletion WebContent/html/webpages/admin.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ div.approveConfirm {

<body>
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>

<div class="col-sm-3 col-md-2 sidebar">
Expand Down
2 changes: 1 addition & 1 deletion WebContent/html/webpages/adminApprove.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

<body>
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>

<div class = "displayDevice">
Expand Down
2 changes: 1 addition & 1 deletion WebContent/html/webpages/adminDeviceSettings.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</style>
<!-- Header -->
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion WebContent/html/webpages/adminLocation.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</style>
<!-- Header -->
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion WebContent/html/webpages/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<body>

<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>

<div class = "menuBox">
Expand Down
2 changes: 1 addition & 1 deletion WebContent/html/webpages/listingPage.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

<body>
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar">
Expand Down
4 changes: 2 additions & 2 deletions WebContent/html/webpages/locationRedirect.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<link rel = "stylesheet" type = "text/css" href = "../css/stylesheet.css">
<link rel = "shortcut icon" href = "../imgs/synchrony-financial-logo-dlpx_1.ico">
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>
</head>
<body>
Expand All @@ -36,7 +36,7 @@ String state = request.getParameter("state");
String zip = request.getParameter("zip");
//add form was submitted
if(request.getParameter("add") != null){
Location location = new Location(name,address,town,state,zip);
Location location = new Location(name,address,town,state,zip,0);
LocationQueries.addLocation(location);
}
//modify form was submitted
Expand Down
2 changes: 1 addition & 1 deletion WebContent/html/webpages/map.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<body>

<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>

<h2>Our Wonderful Synchrony Financial Map!</h2>
Expand Down
42 changes: 0 additions & 42 deletions WebContent/html/webpages/navbar.html

This file was deleted.

4 changes: 2 additions & 2 deletions WebContent/html/webpages/navbar.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
}
}
User self = EmployeeQueries.getEmployeeByID(navsso);
String name = self.getName();
String navname = self.getName();
%>
</div>
<script>
var name = '<%=name%>';
var name = '<%=navname%>';
document.getElementById('user').innerHTML = "Hi " + name + "!";
</script>
2 changes: 1 addition & 1 deletion WebContent/html/webpages/profileSettings.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<body>
<!-- Header. -->
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>
<!-- Sidebar -->
<div class="col-sm-3 col-md-2 sidebar">
Expand Down
2 changes: 1 addition & 1 deletion WebContent/html/webpages/requestPage.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

<body>
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar">
Expand Down
2 changes: 1 addition & 1 deletion WebContent/html/webpages/returnComplete.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<link rel = "stylesheet" type = "text/css" href = "../css/stylesheet.css">
<link rel = "shortcut icon" href = "../imgs/synchrony-financial-logo-dlpx_1.ico">
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion WebContent/html/webpages/shoppingCart.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if(c.getName().equals("ssoNum")) sso = Integer.parseInt(c.getValue());

<body>
<nav class="navbar navbar-inverse navbar-fixed-top" id = "navbaruniversal">
<%@ include file="navbar.html"%>
<%@ include file="navbar.jsp"%>
</nav>
<div id="orderInfoModal" class="modal">
<div class="modal-content" style="overflow-y: auto; overflow-x: hidden">
Expand Down

0 comments on commit 8a01c2c

Please sign in to comment.