From: David ‘Bombe’ Roden Date: Fri, 5 Nov 2010 09:49:27 +0000 (+0100) Subject: Show Sone logo when not logged in, show avatar when logged in. X-Git-Tag: 0.2-RC1~19 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=9618a801b7c230265381f72b9be596a8808b3c2d Show Sone logo when not logged in, show avatar when logged in. --- diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 9250410..5f43ae3 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -67,16 +67,10 @@ textarea { #sone #profile.online .picture { position: absolute; - background-image: url("../images/sone.png"); - width: 80px; - height: 80px; } #sone #profile.offline .picture { position: absolute; - background-image: url("../images/sone-offline.png"); - width: 80px; - height: 80px; } #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link { diff --git a/src/main/resources/static/images/sone-offline.png b/src/main/resources/static/images/sone-offline.png deleted file mode 100644 index 04fda4d..0000000 Binary files a/src/main/resources/static/images/sone-offline.png and /dev/null differ diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 19a5f38..c1ea806 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -132,7 +132,13 @@ <%/if>
-   + + <%ifnull !currentSone> + Profile Avatar + <%else> + Sone is offline + <%/if> + <%ifnull ! currentSone>
<% currentSone|store key=sone>