X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=a98f58d7e647fcc4d41279e55931ad09140e37dd;hb=7594db8e46e8e2efeb0f0228d7267efc54eb2e78;hp=fb0f546b53ca8d6ac3ce0468f1982c2f812c3c97;hpb=202296672bc504b95b5b1660ccbe52a60f1b0c99;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index fb0f546..a98f58d 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -1,4 +1,4 @@ -
+
<% formPassword|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,15 +26,208 @@ + + + + + + + + + + + +
+ <%if !webInterface.core.identityManager.connected> +
+ <%= Warning.PluginNotConnected.Text|l10n|html|replace needle="{link}" replacement=""|replace needle="{/link}" replacement=""> +
+ <%/if> + +
+ <%foreach webInterface.core.notifications.all notification> +
+ <%if notification.dismissable> +
+ + + + +
+ <%/if> + <% notification.render> +
+ <%/foreach> +
+
-   + + <%ifnull !currentSone> + Profile Avatar + <%else> + Sone is offline + <%/if> + <%ifnull ! currentSone>
<% currentSone|store key=sone>