Skip to content
Snippets Groups Projects
Commit 2572ca20 authored by Irene Edria Devina's avatar Irene Edria Devina Committed by Daniel
Browse files

WebApp: Remove leading slashes

parent 03b7e94e
No related merge requests found
......@@ -33,7 +33,7 @@
<tr>
<td><%= i %></td>
<td>
<form action="/edit_preferred_location" method="post" id="form-update-${item.getPosition()}">
<form action="edit_preferred_location" method="post" id="form-update-${item.getPosition()}">
<input type="hidden" value="${item.getPosition()}" name="position">
<input value="${item.getLocation()}" class="form-input" id="edit-input-${item.getPosition()}" disabled name="location">
</form>
......@@ -41,7 +41,7 @@
<td>
<span><button class="edit-button inline-block" type="button" onclick=toggleEdit(${item.getPosition()})
id="edit-button-${item.getPosition()}"></button></span>
<form action="/delete_location" class="display-inline-block" onsubmit="return confirm('Are You Sure')" method="post">
<form action="delete_location" class="display-inline-block" onsubmit="return confirm('Are You Sure')" method="post">
<input type="hidden" value="${item.getPosition()}" name="position">
<span><button class="delete-button inline-block" type="submit"></button></span>
</form>
......
......@@ -70,7 +70,7 @@
</tr>
<tr>
<td>
<a href="/profile">
<a href="profile">
<button id="back-button" type="button" class="submit-button">Back</button>
</a>
</td>
......
......@@ -28,7 +28,7 @@
</li>
</ul>
</div>
<form action="/complete_order" method="get">
<form action="complete_order" method="get">
<input type="hidden" name="pickUp" value="${pickup}">
<input type="hidden" name="destination" value="${destination}">
<div class="order-panel">
......
......@@ -19,14 +19,14 @@
</div>
</div>
<div class="row inline-flex history-menu">
<a href="/history">
<a href="history">
<div class="active">
My Previous Order
</div>
</a>
<a href="/driver_history">
<a href="driver_history">
<div>
Driver History
</div>
......
......@@ -26,7 +26,7 @@
</ul>
</div>
<div class="order-form">
<form action="/find_driver" onsubmit="return validateForm(this)" method="get">
<form action="find_driver" onsubmit="return validateForm(this)" method="get">
<table>
<tr>
<td>Picking Point</td>
......
......@@ -15,7 +15,7 @@
out.println("<span class='color-red'>SignUp Gagal</span>");
}
%>
<form action="/register" method="post" onsubmit="return validateForm(this)">
<form action="register" method="post" onsubmit="return validateForm(this)">
<div class="form-box-body-wrapper">
<table border="0" class="form-box-table">
<tr>
......
<script src="../js/app.js"></script>
<script src="js/app.js"></script>
</body>
</html>
\ No newline at end of file
<nav class="navbar">
<div class="row navbar-top">
<div class="inline-block float-left txt-left">
<img src="../img/logo.png" class="margin-auto height-100">
<img src="img/logo.png" class="margin-auto height-100">
</div>
<div class="inline-block float-right txt-right">
Hi,${user}!
<br>
<a href="/logout">Logout</a>
<a href="logout">Logout</a>
</div>
</div>
<br>
<div class="inline-flex" id="navbar-menu">
<a href="/order">
<a href="order">
<div id="nav-order">
<span>ORDER</span>
</div>
</a>
<a href="/history">
<a href="history">
<div id="nav-history">
<span>HISTORY</span>
</div>
</a>
<a href="/profile">
<a href="profile">
<div id="nav-profile">
<span> MY PROFILE</span>
</div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment