From d0b03604c824ad3ee9c2f7f2b3bef7140254dfb9 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Sat, 14 Feb 2009 21:50:51 +0000 Subject: [PATCH] Remapped static resources as /petclinic/static/images/... Renamed tutorial from petclinic.html -> tutorial.html --- .../src/main/webapp/WEB-INF/jsp/footer.jsp | 2 +- .../src/main/webapp/WEB-INF/jsp/header.jsp | 2 +- .../src/main/webapp/WEB-INF/jsp/welcome.jsp | 4 ++-- .../src/main/webapp/WEB-INF/web.xml | 24 +++++-------------- .../html/{petclinic.html => tutorial.html} | 0 .../src/main/webapp/styles/petclinic.css | 4 ++-- 6 files changed, 12 insertions(+), 24 deletions(-) rename org.springframework.samples.petclinic/src/main/webapp/html/{petclinic.html => tutorial.html} (100%) diff --git a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/footer.jsp b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/footer.jsp index 4bcf5a4f97..9acf4ce937 100644 --- a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/footer.jsp +++ b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/footer.jsp @@ -2,7 +2,7 @@ - + diff --git a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/header.jsp b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/header.jsp index a83f1bb316..f0876c20b8 100644 --- a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/header.jsp +++ b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/header.jsp @@ -5,7 +5,7 @@ - " type="text/css"/> + " type="text/css"/> PetClinic :: a Spring Framework demonstration diff --git a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/welcome.jsp b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/welcome.jsp index 8f54706fa7..9e9ec97f05 100644 --- a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/welcome.jsp +++ b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/jsp/welcome.jsp @@ -1,13 +1,13 @@ <%@ include file="/WEB-INF/jsp/includes.jsp" %> <%@ include file="/WEB-INF/jsp/header.jsp" %> -" align="right" style="position:relative;right:30px;"> +" align="right" style="position:relative;right:30px;">

 

diff --git a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/web.xml b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/web.xml index 48ee4734de..06a6a31108 100644 --- a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/web.xml +++ b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/web.xml @@ -14,6 +14,8 @@ webAppRootKey petclinic.root + + default - *.png - - - default - *.gif - - - default - *.css + /static/* - - default - *.html - - + - - diff --git a/org.springframework.samples.petclinic/src/main/webapp/html/petclinic.html b/org.springframework.samples.petclinic/src/main/webapp/html/tutorial.html similarity index 100% rename from org.springframework.samples.petclinic/src/main/webapp/html/petclinic.html rename to org.springframework.samples.petclinic/src/main/webapp/html/tutorial.html diff --git a/org.springframework.samples.petclinic/src/main/webapp/styles/petclinic.css b/org.springframework.samples.petclinic/src/main/webapp/styles/petclinic.css index d0841b2baa..e12f96af78 100644 --- a/org.springframework.samples.petclinic/src/main/webapp/styles/petclinic.css +++ b/org.springframework.samples.petclinic/src/main/webapp/styles/petclinic.css @@ -111,7 +111,7 @@ li { } li ul { - list-style: square url(images/sub-bullet.gif); + list-style: square url(../images/bullet-arrow.png); } li ul li ul { @@ -231,4 +231,4 @@ fieldset th { padding:2px 8px; font-size:11px; color:#888888; -} \ No newline at end of file +}