X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=2d94de0bc67d9ff0f19e3754299e9c7c18ec22f7;hp=74dac806886cc49cffbbc9b086fa39da13388c16;hb=6f87b531e0bf13a96f4b596a36a098e9b8d3878a;hpb=768bbb738423c13854a195dc8dafe64bf4eeba6c diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 74dac80..2d94de0 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -3,25 +3,249 @@ <%if albumRequested> @@ -39,42 +263,6 @@ <%if album.sone.local> <%/if> @@ -131,6 +315,8 @@

<%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.title|html>

<%/if> - <%foreach album.albums album> - <%first>

<%= Page.ImageBrowser.Header.Albums|l10n|html>

<%/first> - <%if loop.count|mod divisor=3>
<%/if> -
- -
-
<% album.title|html>
-
<% album.description|html>
-
-
- <%= false|store key=endRow> - <%if loop.count|mod divisor=3 offset=1><%= true|store key=endRow><%/if> - <%last><%= true|store key=endRow><%/last> - <%if endRow>
<%/if> - <%/foreach> + <%include include/browseAlbums.html albums=album.albums> <%if album.sone.local> @@ -215,11 +379,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>
+
<% image.description|parse sone=image.sone>
<%if album.sone.local>
@@ -227,6 +391,11 @@ +
+ + +
+
@@ -276,6 +445,8 @@

<%image.title|html>