X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=cf70729f34a00339864f8a06a91b7cf3a2067156;hb=0e2b79c53a31b7aaa5e44e02a9c6491b4b973d5e;hp=6319e66b344adafafcc41a82c83c962bfeda99fb;hpb=ac1b98f1fae1c1aca0c6e18dd57331e9da96ffb4;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 6319e66..cf70729 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -8,7 +8,9 @@ @@ -16,7 +18,7 @@ /* these functions are necessary for updating Sone statuses. */ $(document).ready(function() { $("#sone .sone").each(function() { - watchSone($(this).find(".id").text()); + watchSone($(this).find(".id").text(), $(this).hasClass("local")); }); }); @@ -24,27 +26,73 @@ + + @@ -123,6 +171,40 @@ }); + + + +
<%if !webInterface.core.identityManager.connected> @@ -131,6 +213,22 @@
<%/if> +
+ <%foreach webInterface.core.notifications.all notification> +
+ <%if notification.dismissable> +
+ + + + +
+ <%/if> + <% notification.render> +
+ <%/foreach> +
+
<%ifnull !currentSone>