color: rgb(28, 131, 191);
}
-#sone #profile .picture {
+#sone #profile.online .picture {
float: left;
+ background-image: url("../images/sone.png");
+ width: 80px;
+ height: 80px;
+}
+
+#sone #profile.offline .picture {
+ float: left;
+ background-image: url("../images/sone-offline.png");
+ width: 80px;
+ height: 80px;
+}
+
+#sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
+ display: none;
}
#sone #profile .edit-profile-link {
<div id="sidebar">
- <div id="profile">
- <div class="picture"><img src="images/sone.png" width="80" height="80" alt="Sone Logo" /></div>
+ <div id="profile" class="<%ifnull currentSone>offline<%else>online<%/if>">
+ <div class="picture"></div>
<div class="nice-name profile-link"><a href="viewSone.html?sone=<% currentSone.id>"><% currentSone.niceName|html></a></div>
<div class="edit-profile-link"><a href="editProfile.html"><%= View.Head.ProfileLink.Text|l10n|html></a></div>
</div>