-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
+
+
Add Owner
+
diff --git a/src/main/webapp/WEB-INF/jsp/owners/ownerDetails.jsp b/src/main/webapp/WEB-INF/jsp/owners/ownerDetails.jsp
index 88af6b4d1..3cfbddede 100644
--- a/src/main/webapp/WEB-INF/jsp/owners/ownerDetails.jsp
+++ b/src/main/webapp/WEB-INF/jsp/owners/ownerDetails.jsp
@@ -1,5 +1,3 @@
-
-
<%@ page session="false" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
@@ -8,109 +6,94 @@
<%@ taglib prefix="joda" uri="http://www.joda.org/joda/time/tags" %>
<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
-
+
-
-
-
-
-
-
-
-
Owner Information
+
Owner Information
-
+
+
+ Name |
+ |
+
+
+ Address |
+ |
+
+
+ City |
+ |
+
+
+ Telephone |
+ |
+
+
+
+
+
+
+ Edit Owner
+
+
+
+
+ Add New Pet
+
+
+
+
+ Pets and Visits
+
+
+
+
- Name |
- |
-
-
- Address |
- |
-
-
- City |
- |
-
-
- Telephone |
- |
-
-
-
-
-
-
- Edit Owner
-
-
-
-
- Add New Pet
-
-
-
-
- Pets and Visits
-
-
-
-
-
-
-
- - Name
-
- - Birth Date
-
- - Type
-
-
- |
-
-
-
+
+
+ - Name
+
+ - Birth Date
+
+ - Type
+
+
+ |
+
+
+
+
+ Visit Date |
+ Description |
+
+
+
- Visit Date |
- Description |
+ |
+ |
-
-
-
- |
- |
-
-
-
-
-
-
-
-
- Edit Pet
- |
-
-
-
-
-
- Add Visit
- |
-
-
- |
-
+
+
+
+
+
+
+
+ Edit Pet
+ |
+
+
+
+
+
+ Add Visit
+ |
+
+
+ |
+
-
-
+
+
-
-
-
-
-
-
-
-
-
+
diff --git a/src/main/webapp/WEB-INF/jsp/owners/ownersList.jsp b/src/main/webapp/WEB-INF/jsp/owners/ownersList.jsp
index 65e17e1c6..c33f3d265 100644
--- a/src/main/webapp/WEB-INF/jsp/owners/ownersList.jsp
+++ b/src/main/webapp/WEB-INF/jsp/owners/ownersList.jsp
@@ -1,5 +1,3 @@
-
-
<%@ page session="false" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
@@ -8,43 +6,28 @@
<%@ taglib prefix="datatables" uri="http://github.com/dandelion/datatables" %>
<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
-
+
+ Owners
-
-
-
-
-
-
-
Owners
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/WEB-INF/jsp/pets/createOrUpdatePetForm.jsp b/src/main/webapp/WEB-INF/jsp/pets/createOrUpdatePetForm.jsp
index c098056d8..21b651f71 100644
--- a/src/main/webapp/WEB-INF/jsp/pets/createOrUpdatePetForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/pets/createOrUpdatePetForm.jsp
@@ -1,20 +1,18 @@
-
-
<%@ page session="false" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
-
-
-
-
-
-
-
-
-
+
+
+
+
+
New Pet
@@ -49,17 +47,5 @@
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/src/main/webapp/WEB-INF/jsp/pets/createOrUpdateVisitForm.jsp b/src/main/webapp/WEB-INF/jsp/pets/createOrUpdateVisitForm.jsp
index abcd42eae..df70223c0 100644
--- a/src/main/webapp/WEB-INF/jsp/pets/createOrUpdateVisitForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/pets/createOrUpdateVisitForm.jsp
@@ -1,6 +1,4 @@
-
-
-<%@ page session="false" %>
+<%@ page session="false" trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
@@ -9,15 +7,15 @@
<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
-
-
-
-
-
-
-
-
-
+
+
+
+
+
New Visit
Pet
@@ -68,16 +66,6 @@
+
-
-
-
-
-
-
-
-
+
diff --git a/src/main/webapp/WEB-INF/jsp/vets/vetList.jsp b/src/main/webapp/WEB-INF/jsp/vets/vetList.jsp
index 3d1255e12..d8e48e853 100644
--- a/src/main/webapp/WEB-INF/jsp/vets/vetList.jsp
+++ b/src/main/webapp/WEB-INF/jsp/vets/vetList.jsp
@@ -1,50 +1,34 @@
-
-
-<%@ page session="false" %>
+<%@ page session="false" trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="datatables" uri="http://github.com/dandelion/datatables" %>
<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
-
+
+ Veterinarians
-
+
+
+
+
+
+
+
+
+ none
+
+
-
-
-
-
-
Veterinarians
-
-
-
-
-
-
-
-
-
- none
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/src/main/webapp/WEB-INF/jsp/welcome.jsp b/src/main/webapp/WEB-INF/jsp/welcome.jsp
index 23b258f02..b801ec67d 100644
--- a/src/main/webapp/WEB-INF/jsp/welcome.jsp
+++ b/src/main/webapp/WEB-INF/jsp/welcome.jsp
@@ -1,32 +1,14 @@
-
-
-<%@ page session="false" %>
+<%@ page session="false" trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
+
+
+
+
+
+
-
-
-
-
-
-
-
+
diff --git a/src/main/webapp/WEB-INF/tags/layout.tag b/src/main/webapp/WEB-INF/tags/layout.tag
new file mode 100644
index 000000000..870c735b2
--- /dev/null
+++ b/src/main/webapp/WEB-INF/tags/layout.tag
@@ -0,0 +1,27 @@
+<%@ tag trimDirectiveWhitespaces="true" %>
+<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
+
+<%@ attribute name="pageName" required="true" %>
+<%@ attribute name="customScript" required="false" fragment="true"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/WEB-INF/tags/menu.tag b/src/main/webapp/WEB-INF/tags/menu.tag
index 933bd0515..f7e8652b2 100644
--- a/src/main/webapp/WEB-INF/tags/menu.tag
+++ b/src/main/webapp/WEB-INF/tags/menu.tag
@@ -1,10 +1,9 @@
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-
+<%@ taglib prefix="petclinic" tagdir="/WEB-INF/tags" %>
<%@ attribute name="name" required="true" rtexprvalue="true"
description="Name of the active menu: home, owners, vets or error" %>
-<%-- Static navbar --%>
+
diff --git a/src/main/webapp/WEB-INF/tags/menuItem.tag b/src/main/webapp/WEB-INF/tags/menuItem.tag
new file mode 100644
index 000000000..8c14dbbc5
--- /dev/null
+++ b/src/main/webapp/WEB-INF/tags/menuItem.tag
@@ -0,0 +1,13 @@
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+
+<%@ attribute name="active" required="true" rtexprvalue="true" %>
+<%@ attribute name="url" required="true" rtexprvalue="true" %>
+<%@ attribute name="title" required="false" rtexprvalue="true" %>
+
+
+ "
+ title="${fn:escapeXml(title)}">
+
+
+