X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=71d5b17c1f0885ec598967f98db3f2d33b795f7a;hp=deb020ca65e036d944281fcaf45986f803f2d779;hb=faf66247a34f64946990a985d2ea3003465969cb;hpb=8a8b60858ae83812bf9c7e1898850f5dade69f82 diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index deb020c..71d5b17 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -1,186 +1,65 @@ -
+
<% 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> +