You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by jd...@apache.org on 2012/04/20 15:06:25 UTC

svn commit: r1328362 - in /incubator/bloodhound/trunk: bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html bloodhound_theme/bhtheme/htdocs/bloodhound.css

Author: jdreimann
Date: Fri Apr 20 13:06:25 2012
New Revision: 1328362

URL: http://svn.apache.org/viewvc?rev=1328362&view=rev
Log:
Updated styling for timeline

Modified:
    incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css

Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html?rev=1328362&r1=1328361&r2=1328362&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html (original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html Fri Apr 20 13:06:25 2012
@@ -6,7 +6,7 @@
   py:with="today = format_date(today); yesterday = format_date(yesterday)">
 
   <table py:for="day, events in groupby(events, key=lambda e: format_date(e.date))"
-      class="table table-striped">
+      class="table" id="activityfeed">
     <thead>
       <tr>
         <th>
@@ -17,18 +17,16 @@
     <tbody>
       <tr py:for="event in events"
         py:with="highlight = precision and precisedate and timedelta(0) &lt;= (event.date - precisedate) &lt; precision">
-        <td>
-          <dt class="${classes(event.kind, highlight=highlight)}">
-            <a href="${event.render('url', context)}">
-              <span class="time">${format_time(event.date, str('%H:%M'))}</span> ${event.render('title', context)}
+        <td class="${classes(event.kind, highlight=highlight)}">
+          <dt>
+            <span class="time">${format_time(event.date, str('%H:%M'))}</span>: <a href="${event.render('url', context)}">${event.render('title', context)}</a>
               <py:if test="event.author">by <span class="author">${format_author(event.author)}</span></py:if>
-            </a>
           </dt>
-          <dd class="${classes(event.kind, highlight=highlight)}">
+          <dd>
             ${event.render('description', context)}
           </dd>
         </td>
       </tr>
     </tbody>
   </table>
-</div>
+</div>
\ No newline at end of file

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css?rev=1328362&r1=1328361&r2=1328362&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css Fri Apr 20 13:06:25 2012
@@ -9,15 +9,23 @@
 
 /* @group Section folding */
 
-.foldable :link, .foldable :visited {
+.foldable :link,
+.foldable :visited {
   background: url(../common/expanded.png) 0 50% no-repeat;
   border: none;
   padding-left: 16px;
 }
-.collapsed > .foldable :link, .collapsed > .foldable :visited {
+
+.collapsed > .foldable :link,
+.collapsed > .foldable :visited {
   background-image: url("../common/collapsed.png");
 }
-.collapsed > div, .collapsed > table, .collapsed > ul, .collapsed > dl { display: none }
+.collapsed > div,
+.collapsed > table,
+.collapsed > ul,
+.collapsed > dl {
+  display: none
+}
 
 /* @end */
 
@@ -91,7 +99,7 @@ label > input {
 
 .footer {
 	margin-top: 20px;
-	color:grey;
+	color: grey;
 }
 
 .footer a {
@@ -111,5 +119,13 @@ label > input {
 
 #ticket footer {
   text-align: right;
-  
+
+}
+
+#activityfeed dt {
+  font-weight: normal;
+}
+
+#activityfeed dd {
+  color: grey;
 }
\ No newline at end of file