X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=2802d4e3c6130253858683e6325cee64dd172abe;hb=561524ab3db17469dddbd7d5ca3ffd8495a0b7a3;hp=7798af48fb814fbaea221c1f1ce3ef1663b52fa9;hpb=067571ca9d47d10dd401312f6bfe367908866f28;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 7798af4..2802d4e 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -1,4 +1,6 @@ -
+
+ +
<% formPassword|html>
@@ -6,7 +8,9 @@ @@ -14,7 +18,7 @@ /* these functions are necessary for updating Sone statuses. */ $(document).ready(function() { $("#sone .sone").each(function() { - watchSone($(this).attr("id")); + watchSone($(this).find(".id").text(), $(this).hasClass("local")); }); }); @@ -22,15 +26,217 @@ + + + + + + + + + + + + + +
+ <%if !webInterface.core.identityManager.connected> +
+ <%= Warning.PluginNotConnected.Text|l10n|html|replace needle="{link}" replacement=""|replace needle="{/link}" replacement=""> +
+ <%/if> + +
+ <%foreach webInterface.notifications.all notification> +
+ <%if notification.dismissable> +
+ + + + +
+ <%/if> + <% notification> +
+ <%/foreach> +
+
-   + + <%ifnull !currentSone> + Profile Avatar + <%else> + Sone is offline + <%/if> + <%ifnull ! currentSone>
<% currentSone|store key=sone>