X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=55705e1b67154f93847a7bf15d6f241bdf102aec;hp=bb21d46bec19b78b0830a87aaff694bc7754a464;hb=e174a13df3a9de5ab54ede5f2aa761c7727bfaff;hpb=7a14e6aab2b0458ee97452447845995bbf407ae7 diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index bb21d46..55705e1 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -3,25 +3,249 @@ <%if albumRequested> @@ -38,6 +262,7 @@ <%if album.sone.local> <%/if> @@ -101,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> @@ -185,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>
@@ -197,6 +391,11 @@ +
+ + +
+
@@ -246,6 +445,8 @@

<%image.title|html>