X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=75485bfd316f3cd2f2de5d8c01d064fd6ac7e8c5;hb=40e29fa1abc0d1da75831d69d4cc9f52601a4045;hp=deb020ca65e036d944281fcaf45986f803f2d779;hpb=8a8b60858ae83812bf9c7e1898850f5dade69f82;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index deb020c..75485bf 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -18,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")); }); }); @@ -34,6 +34,44 @@ + + + +
<%if !webInterface.core.identityManager.connected> @@ -166,7 +213,21 @@
<%/if> -
+
+ <%foreach webInterface.core.notifications.all notification> +
+ <%if notification.dismissable> +
+ + + + +
+ <%/if> + <% notification> +
+ <%/foreach> +