diff --git a/pom.xml b/pom.xml index 78d27ba13..13040a701 100644 --- a/pom.xml +++ b/pom.xml @@ -427,6 +427,33 @@ + + less-install + + + + org.lesscss + lesscss-maven-plugin + 1.7.0.1.1 + + ${project.basedir}/src/main/webapp/resources/less + ${project.basedir}/src/main/webapp/resources/css + true + + petclinic.less + + + + + + compile + + + + + + + demopetclinic diff --git a/src/main/webapp/WEB-INF/jsp/exception.jsp b/src/main/webapp/WEB-INF/jsp/exception.jsp index 8a0a4c9bf..a4fde6ca3 100644 --- a/src/main/webapp/WEB-INF/jsp/exception.jsp +++ b/src/main/webapp/WEB-INF/jsp/exception.jsp @@ -10,20 +10,23 @@ -
+
+
- - + + -

Something happened...

+

Something happened...

-

${exception.message}

+

${exception.message}

- + +
diff --git a/src/main/webapp/WEB-INF/jsp/fragments/footer.jsp b/src/main/webapp/WEB-INF/jsp/fragments/footer.jsp index e499b2682..6029efb58 100644 --- a/src/main/webapp/WEB-INF/jsp/fragments/footer.jsp +++ b/src/main/webapp/WEB-INF/jsp/fragments/footer.jsp @@ -1,12 +1,5 @@ <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> -
-
-
" - alt="Sponsored by Pivotal"/>
-
-
- <%-- Placed at the end of the document so the pages load faster --%> diff --git a/src/main/webapp/WEB-INF/jsp/fragments/htmlHeader.jsp b/src/main/webapp/WEB-INF/jsp/fragments/htmlHeader.jsp index eea7b8231..a51e56dac 100644 --- a/src/main/webapp/WEB-INF/jsp/fragments/htmlHeader.jsp +++ b/src/main/webapp/WEB-INF/jsp/fragments/htmlHeader.jsp @@ -16,14 +16,7 @@ PetClinic :: a Spring Framework demonstration PetClinic :: a Spring Framework demonstration - <%-- Bootstrap CSS --%> - - - - - - - <%-- Custom styles for Petclinic --%> + <%-- CSS generated from LESS --%> diff --git a/src/main/webapp/WEB-INF/jsp/owners/createOrUpdateOwnerForm.jsp b/src/main/webapp/WEB-INF/jsp/owners/createOrUpdateOwnerForm.jsp index b18a88fed..77826de8a 100644 --- a/src/main/webapp/WEB-INF/jsp/owners/createOrUpdateOwnerForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/owners/createOrUpdateOwnerForm.jsp @@ -15,31 +15,34 @@ -
-

- New Owner -

- -
- - - - - -
-
-
- - - - - - - - +
+
+

+ New Owner +

+ +
+ + + + +
-
- +
+
+ + + + + + + + +
+
+ + +
diff --git a/src/main/webapp/WEB-INF/jsp/owners/findOwners.jsp b/src/main/webapp/WEB-INF/jsp/owners/findOwners.jsp index 15b82afac..e9f9b9061 100644 --- a/src/main/webapp/WEB-INF/jsp/owners/findOwners.jsp +++ b/src/main/webapp/WEB-INF/jsp/owners/findOwners.jsp @@ -13,32 +13,36 @@ -
+
+
-

Find Owners

+

Find Owners

- - -
-
- -
- - + + +
+
+ +
+ + +
-
-
-
- +
+
+ +
-
- + -
- Add Owner +
+ 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 14981958f..54eade30a 100644 --- a/src/main/webapp/WEB-INF/jsp/owners/ownerDetails.jsp +++ b/src/main/webapp/WEB-INF/jsp/owners/ownerDetails.jsp @@ -14,94 +14,99 @@ -
+
+
-

Owner Information

+

Owner Information

- - - - - - - - - - - - - - - - - -
Name
Address
City
Telephone
- - - - - Edit Owner - - - - - Add New Pet - - -

Pets and Visits

- - - - +
- - + + + + + + + + + + + + + + +
-
-
Name
-
-
Birth Date
-
-
Type
-
-
-
- - - - - - - - - - - - - - - - - -
Visit DateDescription
- - - - - Edit Pet - - - - - - Add Visit -
-
Name
Address
City
Telephone
- - + + + + Edit Owner + + + + Add New Pet + +
+
+
+

Pets and Visits

+ + + + + + + + + + +
+
+
Name
+
+
Birth Date
+
+
Type
+
+
+
+ + + + + + + + + + + + + + + + + +
Visit DateDescription
+ + + + + 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 f2fb639c4..1824a288c 100644 --- a/src/main/webapp/WEB-INF/jsp/owners/ownersList.jsp +++ b/src/main/webapp/WEB-INF/jsp/owners/ownersList.jsp @@ -14,30 +14,34 @@ -
-

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 5bd1667c3..e4f20e9ff 100644 --- a/src/main/webapp/WEB-INF/jsp/pets/createOrUpdatePetForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/pets/createOrUpdatePetForm.jsp @@ -13,43 +13,46 @@ -
-

- New Pet -

- - -
-
- -
- +
+
+

+ New Pet +

+ + +
+
+ +
+ +
+
+ + +
+
- - -
- +
+
+ + + + + + + + +
-
-
-
- - - - - - - - -
-
-
- - -
+ + + + +
+