Change header.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 12:51:45 +0000 (14:51 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 12:51:45 +0000 (14:51 +0200)
src/main/resources/static/css/sone.css
src/main/resources/templates/include/head.html

index 3c4e321..738c077 100644 (file)
 }
 
 #sone #profile.online .picture {
-       float: left;
+       position: absolute;
        background-image: url("../images/sone.png");
        width: 80px;
        height: 80px;
 }
 
 #sone #profile.offline .picture {
-       float: left;
+       position: absolute;
        background-image: url("../images/sone-offline.png");
        width: 80px;
        height: 80px;
        font-size: 85%;
 }
 
+#sone #home-sone {
+       margin-left: 80px;
+       padding-left: 1ex;
+}
+
 #sone .nice-name {
        font-weight: bold;
 }
index e006967..0f400a9 100644 (file)
        <div id="main">
 
                <div id="profile" class="<%ifnull currentSone>offline<%else>online<%/if>">
-                       <a class="picture" href="index.html"></a>
-                       <div class="nice-name profile-link"><a href="viewSone.html?sone=<% currentSone.id|html>"><% currentSone.niceName|html></a></div>
-                       <div class="edit-profile-link"><a href="editProfile.html"><%= View.Head.ProfileLink.Text|l10n|html></a></div>
+                       <a class="picture" href="index.html">&nbsp;</a>
                        <%ifnull ! currentSone>
-                               <%include include/updateStatus.html>
+                               <div id="home-sone">
+                                       <% currentSone|store key=sone>
+                                       <%include include/viewSone.html>
+                                       <%include include/updateStatus.html>
+                               </div>
                        <%/if>
                </div>