X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=bc1cb72ff9269b5306d208bd0ac7e087e5f564f0;hb=308c05fe34c4820bada0e9051bb536ab0a42412e;hp=9dac07b33b0a6edcbd5d0da0d72782d74760df95;hpb=93d3bf2c536e0a444cabd63f0af9cd889d051596;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 9dac07b..bc1cb72 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -1,5 +1,24 @@ <%include include/head.html> + + <%if albumRequested> @@ -29,15 +48,25 @@ <%foreach album.albums album>
-
- - <%ifnull album.image> - <% album.name|html> - <%else> - <% album.name|html> - <%/if> - -
+ + <%ifnull album.image> + <% album.name|html> + <%else> + <% album.name|html> + <%/if> + +
+ <%/foreach> + + <%foreach album.images image> +
+ + <%ifnull image.key> + <% image.title|html> + <%else> + <% image.title|html> + <%/if> +
<%/foreach> @@ -46,6 +75,7 @@ <%if album.sone.current> + <%include include/uploadImage.html> <%include include/createAlbum.html> <%/if>