X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=9fb2525537a5e10863f1e49c9e974bee3071b7fa;hb=5ac2eeb4296b651f380e2d35ad35cf4bfc70c766;hp=84af01a2f081b4948b8d31f8e41dae5060920db1;hpb=db1981cee6635b3d9e56cb37d795bbe931046330;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 84af01a..9fb2525 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -1,19 +1,222 @@ -
+
+ +
<% formPassword|html>
- + + +
+ + <%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> + <%include include/viewSone.html> + <%include include/updateStatus.html> +
+ <%/if> +