X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=bc1cb72ff9269b5306d208bd0ac7e087e5f564f0;hb=308c05fe34c4820bada0e9051bb536ab0a42412e;hp=e1f4aea24a77f22750f7d8690a2b9de788d89b14;hpb=7664f68b0010c691a8097231113d17d5281d8a96;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index e1f4aea..bc1cb72 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -14,6 +14,7 @@ registerInputTextareaSwap(this, text, "description", true, true); }); }); + $("#create-album label").hide(); }); @@ -47,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> @@ -64,6 +75,7 @@ <%if album.sone.current> + <%include include/uploadImage.html> <%include include/createAlbum.html> <%/if>