X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=ed83b2f65136e291ae55bfb35a6a953a4cc5c98d;hb=cef457bbc84ea303973018a1996d286c2c8effab;hp=9330e14883de808b0101e6c0a946a4a6abd25e2e;hpb=221eb70ea2ead8dab2999d3d4bdbeb3092ac58f3;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 9330e14..ed83b2f 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,8 +26,48 @@ + + @@ -129,6 +171,15 @@ }); + +
<%if !webInterface.core.identityManager.connected> @@ -137,6 +188,30 @@
<%/if> +
+ + + + <%foreach webInterface.notifications.all notification> +
+ <%if notification.dismissable> +
+ + + + +
+ <%/if> + <% notification> +
+ <%/foreach> +
+
<%ifnull !currentSone>