From 9a77b56427760d4b9d602a9846099c3deeeef32c Mon Sep 17 00:00:00 2001 From: Mic Date: Mon, 14 Jan 2013 11:02:08 +0800 Subject: [PATCH] cleaned up CSS and migrated to Bootstrap --- pom.xml | 9 +- src/main/webapp/WEB-INF/jsp/header.jsp | 12 +- src/main/webapp/WEB-INF/jsp/owners/form.jsp | 105 ++++---- src/main/webapp/WEB-INF/jsp/owners/list.jsp | 11 +- src/main/webapp/WEB-INF/jsp/owners/search.jsp | 16 +- src/main/webapp/WEB-INF/jsp/owners/show.jsp | 15 +- src/main/webapp/WEB-INF/jsp/pets/form.jsp | 6 +- .../webapp/WEB-INF/jsp/pets/visitForm.jsp | 8 +- src/main/webapp/WEB-INF/jsp/vets.jsp | 10 +- src/main/webapp/WEB-INF/jsp/welcome.jsp | 11 +- src/main/webapp/WEB-INF/petclinic-servlet.xml | 3 + .../spring/applicationContext-jdbc.xml | 2 +- src/main/webapp/resources/css/petclinic.css | 5 + .../webapp/resources/styles/petclinic.css | 234 ------------------ 14 files changed, 108 insertions(+), 339 deletions(-) create mode 100644 src/main/webapp/resources/css/petclinic.css delete mode 100644 src/main/webapp/resources/styles/petclinic.css diff --git a/pom.xml b/pom.xml index a60fcf2ce..a5606ea93 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,14 @@ jstl 1.2 - + + + + org.webjars + bootstrap + 2.2.1 + + rome diff --git a/src/main/webapp/WEB-INF/jsp/header.jsp b/src/main/webapp/WEB-INF/jsp/header.jsp index 1cdc67061..7ca657876 100644 --- a/src/main/webapp/WEB-INF/jsp/header.jsp +++ b/src/main/webapp/WEB-INF/jsp/header.jsp @@ -5,9 +5,15 @@ --> - - " type="text/css"/> - PetClinic :: a Spring Framework demonstration + + PetClinic :: a Spring Framework demonstration + + + + + + + diff --git a/src/main/webapp/WEB-INF/jsp/owners/form.jsp b/src/main/webapp/WEB-INF/jsp/owners/form.jsp index 6ebdf2853..f051703a1 100644 --- a/src/main/webapp/WEB-INF/jsp/owners/form.jsp +++ b/src/main/webapp/WEB-INF/jsp/owners/form.jsp @@ -10,69 +10,66 @@ -