X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=cf70729f34a00339864f8a06a91b7cf3a2067156;hb=0e2b79c53a31b7aaa5e44e02a9c6491b4b973d5e;hp=9b27cc798da122eddcffdf695372210552e2f219;hpb=d13fdb3e77f3ba2fed378c6a08709830cac835f2;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 9b27cc7..cf70729 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -1,19 +1,247 @@ -
+
+ +
<% formPassword|html>
- + + + + +
+ + <%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> + <%include include/viewSone.html> + <%include include/updateStatus.html> +
+ <%/if> +