From: Erik Brakkee Date: Mon, 30 Sep 2013 17:26:05 +0000 (+0200) Subject: Photo application now working fully. X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=dd3886dec356fe854a8498b070ca21bdfb0d56d2;p=photos Photo application now working fully. Less space around thumbnails in the table. --- 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 {