X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=75485bfd316f3cd2f2de5d8c01d064fd6ac7e8c5;hb=40e29fa1abc0d1da75831d69d4cc9f52601a4045;hp=8f7aa480e8ee6f80d4222c9d805bccf90ad401ba;hpb=474468d90d28b2fcea8776fc1dfc74c0972b55e0;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 8f7aa48..75485bf 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 @@ + + @@ -52,24 +100,29 @@ @@ -118,6 +171,40 @@ }); + + + +
<%if !webInterface.core.identityManager.connected> @@ -126,6 +213,22 @@
<%/if> +
+ <%foreach webInterface.core.notifications.all notification> +
+ <%if notification.dismissable> +
+ + + + +
+ <%/if> + <% notification> +
+ <%/foreach> +
+
<%ifnull !currentSone>