X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=2a2d3b6919598dca08bf9fec6b45bd5b077193b8;hb=cafc349bdbf3fd254b15dea83d6172b0784ebe30;hp=e6038d7a6adb86a4c7b2b9b0ce0941f2ce0abe16;hpb=fa7f3a80a777bf743bcc5d7b95bfd811a417651f;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index e6038d7..2a2d3b6 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> @@ -141,6 +204,22 @@
<%/if> +
+ <%foreach webInterface.core.notifications.all notification> +
+ <%if notification.dismissable> +
+ + + + +
+ <%/if> + <% notification.render> +
+ <%/foreach> +
+
<%ifnull !currentSone>