From c7a6f9dc27ecf13b73d2ec4c7659477d5b3d0286 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 22 Sep 2011 07:55:52 +0200 Subject: [PATCH] Add inline image editing. --- src/main/resources/static/css/sone.css | 8 ++++++++ src/main/resources/templates/imageBrowser.html | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 053923b..81c9f83 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -667,6 +667,14 @@ textarea { background-color: #fff; } +#sone .image .edit-image input { + width: 95%; +} + +#sone .image .edit-image textarea { + width: 95%; +} + #sone .backlinks .separator { display: inline; } diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 5a26c1a..a037e12 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -137,6 +137,24 @@ <%if loop.count|mod divisor=3>
<%/if>
<% image|image-link max-width=200 max-height=150> + <%if album.sone.local> +
+
+ + + + +
+ +
+
+ +
+
+ +
+
+ <%/if>
<%= false|store key=endRow> <%if loop.count|mod divisor=3 offset=1><%= true|store key=endRow><%/if> -- 2.7.4