Commits

cguardia committed ddddee6 Draft

simple layout fixes

Comments (0)

Files changed (2)

src/stage3/birdie/static/pylons.css

 #feedlist {margin-top: 15px;}
 .feeditem {margin: 8px; padding: 8px; border-top: 1px solid;}
 .thumbnail {float:left; margin-right: 20px;}
+.thumbnail img {float:left;}
 .feedtext {text-align: left;}
 .posttime {font-size: 10px;clear: both;}
 .username {font-size: 10px;}
 #message {color: red;}
 .fullname {font-size: 10px;}
 .logout {float: right;}
+#chirp {width:490px;}

src/stage3/birdie/templates/birdie.pt

       <div class="bottom">
         <div id="left" class="align-right">
           <form action="${app_url}" method="POST">
-            <textarea name="chirp" id="chirp" rows="3" cols="68"></textarea>
+            <textarea name="chirp" id="chirp" rows="3" cols="60"></textarea>
             <input type="submit" value="chirp" />
           </form>
           <div id="feedlist">
             <div class="feeditem" tal:repeat="chirp chirps">
               <div class="thumbnail">
-                <img src="${static_url('birdie:static/avatar.jpg')}" />
-                <div class="username">
-                   <a href="${app_url}/${chirp.author.userid}">${chirp.author.userid}</a>
-                </div>
+                <a href="${app_url}/${chirp.author.userid}" title="${chirp.author.userid}">
+                  <img src="${static_url('birdie:static/avatar.jpg')}" />
+                </a>
               </div>
               <div class="feedtext">
                 <div class="chirp">
                 </div>
               </div>
               <div class="posttime">
-                <abbr class="timeago"
-                  >${elapsed(chirp.timestamp)}</abbr>
+                   <abbr class="timeago">${elapsed(chirp.timestamp)}</abbr>
               </div>
             </div>
           </div>