From: David ‘Bombe’ Roden Date: Thu, 22 Sep 2011 05:55:52 +0000 (+0200) Subject: Add inline image editing. X-Git-Tag: 0.7^2~2^2~41 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=c7a6f9dc27ecf13b73d2ec4c7659477d5b3d0286 Add inline image editing. --- 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>