diff --git a/src/main/webapp/WEB-INF/jsp/owners/form.jsp b/src/main/webapp/WEB-INF/jsp/owners/form.jsp index 7b50fea0c09caf16e33dfca28c67770830b6148d..17baa650a40ca898d637a97aec93fc1d54c8e5c7 100644 --- a/src/main/webapp/WEB-INF/jsp/owners/form.jsp +++ b/src/main/webapp/WEB-INF/jsp/owners/form.jsp @@ -10,7 +10,7 @@ <jsp:include page="../header.jsp"/> <body> - <div class="container" style="padding-top: 50px;"> + <div class="container"> <spring:url value="/resources/images/banner-graphic.png" var="banner"/> <img src="${banner}" /> <c:choose> @@ -18,7 +18,9 @@ <c:otherwise><c:set var="method" value="put"/></c:otherwise> </c:choose> - <h2><c:if test="${owner['new']}">New </c:if>Owner</h2> + <h2> + <c:if test="${owner['new']}">New </c:if> Owner + </h2> <form:form modelAttribute="owner" method="${method}" class="form-horizontal" id="add-owner-form"> <fieldset> <div class="control-group" id="firstName"> diff --git a/src/main/webapp/WEB-INF/jsp/owners/list.jsp b/src/main/webapp/WEB-INF/jsp/owners/list.jsp index 5ca9cec0298c96ea1ef405d288df9819f7a5842d..c8cee48acf2b5c16ea5c71b1a3c224eea933ed08 100644 --- a/src/main/webapp/WEB-INF/jsp/owners/list.jsp +++ b/src/main/webapp/WEB-INF/jsp/owners/list.jsp @@ -29,7 +29,7 @@ <c:forEach var="owner" items="${selections}"> <tr> <td> - <spring:url value="owners/{ownerId}" var="ownerUrl"> + <spring:url value="owners/{ownerId}.html" var="ownerUrl"> <spring:param name="ownerId" value="${owner.id}"/> </spring:url> <a href="${fn:escapeXml(ownerUrl)}">${owner.firstName} ${owner.lastName}</a> diff --git a/src/main/webapp/WEB-INF/jsp/owners/search.jsp b/src/main/webapp/WEB-INF/jsp/owners/search.jsp index 440da975d7c319a0226a347dec6d6fb741b5fa88..954a88f633b39872b68919c6530e449506b60ad0 100644 --- a/src/main/webapp/WEB-INF/jsp/owners/search.jsp +++ b/src/main/webapp/WEB-INF/jsp/owners/search.jsp @@ -15,8 +15,8 @@ <h2>Find Owners</h2> - <spring:url value="/owners" var="formUrl"/> - <form:form modelAttribute="owner" action="${fn:escapeXml(formUrl)}" method="get" class="form-horizontal"> + <spring:url value="/owners.html" var="formUrl"/> + <form:form modelAttribute="owner" action="${fn:escapeXml(formUrl)}" method="get" class="form-horizontal" style="width:600px;"> <fieldset> <div class="controls"> <label class="control-label">Last name </label> diff --git a/src/main/webapp/WEB-INF/jsp/welcome.jsp b/src/main/webapp/WEB-INF/jsp/welcome.jsp index f292716c44b1b138495f9eb6811844a3f0daeeb3..89e2f2e7c96683d06cb9c9b5b18d80d56800ed97 100644 --- a/src/main/webapp/WEB-INF/jsp/welcome.jsp +++ b/src/main/webapp/WEB-INF/jsp/welcome.jsp @@ -14,8 +14,8 @@ <h2><fmt:message key="welcome"/></h2> <ul class="unstyled"> - <li><a href="<spring:url value="/owners/search" htmlEscape="true" />">Find owner</a></li> - <li><a href="<spring:url value="/vets" htmlEscape="true" />">Display all veterinarians</a></li> + <li><a href="<spring:url value="/owners/search.html" htmlEscape="true" />">Find owner</a></li> + <li><a href="<spring:url value="/vets.html" htmlEscape="true" />">Display all veterinarians</a></li> <li><a href="<spring:url value="/resources/html/tutorial.html" htmlEscape="true" />">Tutorial</a></li> </ul>