From dd3886dec356fe854a8498b070ca21bdfb0d56d2 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Mon, 30 Sep 2013 19:26:05 +0200 Subject: [PATCH] Photo application now working fully. Less space around thumbnails in the table. --- src/main/java/org/wamblee/photos/servlet/ImageSender.java | 2 +- src/main/java/org/wamblee/photos/wicket/BasePage.java | 2 +- src/main/java/org/wamblee/photos/wicket/photos.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/wamblee/photos/servlet/ImageSender.java b/src/main/java/org/wamblee/photos/servlet/ImageSender.java index a734184..c0d03b3 100644 --- a/src/main/java/org/wamblee/photos/servlet/ImageSender.java +++ b/src/main/java/org/wamblee/photos/servlet/ImageSender.java @@ -44,7 +44,7 @@ public class ImageSender extends HttpServlet { @Inject @AuthorizedPhotos - private Album root; + private transient Album root; static final long serialVersionUID = 4069997717483260853L; diff --git a/src/main/java/org/wamblee/photos/wicket/BasePage.java b/src/main/java/org/wamblee/photos/wicket/BasePage.java index 8e0cc49..c7f8e1f 100644 --- a/src/main/java/org/wamblee/photos/wicket/BasePage.java +++ b/src/main/java/org/wamblee/photos/wicket/BasePage.java @@ -39,7 +39,7 @@ public class BasePage extends WebApplicationBasePage { private HttpServletRequest request; @Inject - private UserAdministration userAdmin; + private transient UserAdministration userAdmin; private boolean isExpired = false; diff --git a/src/main/java/org/wamblee/photos/wicket/photos.css b/src/main/java/org/wamblee/photos/wicket/photos.css index 9dbf0e6..2e3e8a1 100644 --- a/src/main/java/org/wamblee/photos/wicket/photos.css +++ b/src/main/java/org/wamblee/photos/wicket/photos.css @@ -96,7 +96,7 @@ ul.feedbackPanel { #photos th, #content td { vertical-align: top; - padding: 10px; + padding: 1px; } #photos table { -- 2.31.1