X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=9e96aaa17e00cb21f4955ff426c8291b09c03476;hb=af4310e14172f8bb27bb1c9fdb3e87495eadffc5;hp=809bd5772ecfe1ab4def15bbb280e9e999d36662;hpb=f40370437636a2a706ea1d605f716c8f624a735f;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 809bd57..9e96aaa 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -1,161 +1,66 @@ -
+
<% formPassword|html>
+ + + + + - +
- - - - - - - - - +
- +
-
+ - <%if !webInterface.core.identityManager.connected> -
- <%= Warning.PluginNotConnected.Text|l10n|html|replace needle="{link}" replacement=""|replace needle="{/link}" replacement=""> -
- <%/if> + -
+ <%foreach notifications notification> +
+ <%if notification.dismissable> +
+ + + + +
+ <%/if> + <%include 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> + <%include include/viewSone.html sone=currentSone>
<%/if> +