X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=bb21d46bec19b78b0830a87aaff694bc7754a464;hb=7a14e6aab2b0458ee97452447845995bbf407ae7;hp=f34f4a625bee6df7adb34564675883ba82755d90;hpb=b89370064bdc618ee7a3ce77a705fcecb28c3dcc;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index f34f4a6..bb21d46 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -88,7 +88,7 @@ $(showElement).hide(); $(hideElement).show(); } - return false; + return $(event.target).is("button"); }); }); }; @@ -123,6 +123,17 @@ + <%if ! album.images.empty> +
+ + +
+ <%/if>
@@ -149,7 +160,10 @@ <%/if>
- <% album.title|html> +
+
<% album.title|html>
+
<% album.description|html>
+
<%= false|store key=endRow> <%if loop.count|mod divisor=3 offset=1><%= true|store key=endRow><%/if> @@ -173,16 +187,16 @@
<% image|image-link max-width=200 max-height=200 mode=enlarge title==image.title>
+
+
<% image.title|html>
+
<% image.description|html>
+
<%if album.sone.local>
-
-
<% image.title|html>
-
<% image.description|html>
-
@@ -357,7 +373,10 @@ <% album.albumImage|image-link max-width=200 max-height=200 mode=enlarge title==album.title> <%/if> - <% album.title|html> + +
+
<% album.title|html>
+
<% album.description|html>
<%= false|store key=endRow>