X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=80614097ee52662fe85c5faaabc2684fd7ef4eb9;hb=f0ee21d46819b4e242e9876bde3cfa911ad3a910;hp=ee4278cf53a907de19c417ad2c7e26594d5c1286;hpb=47df88512f5288d6a1f5f268cdf787bb4bf169c7;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index ee4278c..8061409 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -1,4 +1,4 @@ -
+
<% formPassword|html>
@@ -8,7 +8,9 @@ @@ -24,27 +26,103 @@ + + + + @@ -68,29 +146,74 @@ }); return false; }); - $("#sone .block").submit(function() { - var blockElement = this; - $.getJSON("ajax/blockSone.ajax", { "sone": getSoneId(this), "formPassword": getFormPassword() }, function() { - $(blockElement).addClass("hidden"); - $(blockElement).parent().find(".unblock").removeClass("hidden"); - }); + }); + + + + +
+ <%if !webInterface.core.identityManager.connected> +
+ <%= Warning.PluginNotConnected.Text|l10n|html|replace needle="{link}" replacement=""|replace needle="{/link}" replacement=""> +
+ <%/if> + +
+
-   + + <%ifnull !currentSone> + Profile Avatar + <%else> + Sone is offline + <%/if> + <%ifnull ! currentSone>
<% currentSone|store key=sone>