X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=a4fef7988bb8a86327b0e4abb4eea31f587ce886;hb=eaee6b8f5e18c32388abd6aa33f1d940dc36471f;hp=162441a62ace881c20e6409003d88ce6828cfaff;hpb=5611d91c2ea8e5360f196024734931715d019713;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 162441a..a4fef79 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -38,6 +38,80 @@ <%if album.sone.local> <%/if> @@ -106,6 +211,17 @@ + <%if ! album.images.empty> +
+ + +
+ <%/if>
@@ -126,13 +242,16 @@
<%ifnull album.albumImage> - <% album.title|html> + <% album.title|html> <%else> - <% album.albumImage|image-link max-width=200 max-height=200 mode=enlarge title==album.title> + <% album.albumImage|image-link max-width=250 max-height=250 mode=enlarge title==album.title> <%/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> @@ -154,7 +273,11 @@
- <% image|image-link max-width=200 max-height=200 mode=enlarge title==image.title> + <% image|image-link max-width=250 max-height=250 mode=enlarge title==image.title> +
+
+
<% image.title|html>
+
<% image.description|html>
<%if album.sone.local>
@@ -162,10 +285,6 @@ -
-
<% image.title|html>
-
<% image.description|html>
-
@@ -335,12 +456,15 @@
<%ifnull album.albumImage> - <% album.title|html> + <% album.title|html> <%else> - <% album.albumImage|image-link max-width=200 max-height=200 mode=enlarge title==album.title> + <% album.albumImage|image-link max-width=250 max-height=250 mode=enlarge title==album.title> <%/if> - <% album.title|html> +
+
+
<% album.title|html>
+
<% album.description|html>
<%= false|store key=endRow>