X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=bc1cb72ff9269b5306d208bd0ac7e087e5f564f0;hb=308c05fe34c4820bada0e9051bb536ab0a42412e;hp=c2257bdcc10440f42fdf48f81a714d4276123188;hpb=7090538cb031fe04afc37f19d12f3e641f953120;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index c2257bd..bc1cb72 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -48,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> @@ -65,6 +75,7 @@ <%if album.sone.current> + <%include include/uploadImage.html> <%include include/createAlbum.html> <%/if>