You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by ma...@apache.org on 2013/02/14 12:27:01 UTC

svn commit: r1446123 - in /incubator/bloodhound/trunk: bloodhound_dashboard/bhdashboard/layouts/ bloodhound_dashboard/bhdashboard/widgets/ bloodhound_dashboard/bhdashboard/widgets/templates/ bloodhound_theme/bhtheme/htdocs/

Author: matevz
Date: Thu Feb 14 11:27:01 2013
New Revision: 1446123

URL: http://svn.apache.org/r1446123
Log:
#217 - Make Bloodhound's layout responsive (fix for main dashboard view)

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

Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/layouts/bootstrap.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/layouts/bootstrap.py?rev=1446123&r1=1446122&r2=1446123&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/layouts/bootstrap.py (original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/layouts/bootstrap.py Thu Feb 14 11:27:01 2013
@@ -57,6 +57,7 @@ class BootstrapLayout(Component):
         """
         req = context.req
         add_stylesheet(req, 'dashboard/css/bootstrap.css')
+        add_stylesheet(req, 'dashboard/css/bootstrap-responsive.css')
 
         if name == 'bootstrap_btnbar':
             self._process_btnbar(req, options)

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=1446123&r1=1446122&r2=1446123&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 Thu Feb 14 11:27:01 2013
@@ -26,7 +26,7 @@
 
   <table py:when="events"
       py:for="day, events in groupby(events, key=lambda e: format_date(e.date))"
-      class="table" id="activityfeed">
+      class="table activityfeed">
     <thead>
       <tr>
         <th>

Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py?rev=1446123&r1=1446122&r2=1446123&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py (original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py Thu Feb 14 11:27:01 2013
@@ -307,6 +307,7 @@ class TicketGroupStatsWidget(WidgetBase)
         stat = get_ticket_stats(statsp, tickets)
 
         add_stylesheet(req, 'dashboard/css/bootstrap.css')
+        add_stylesheet(req, 'dashboard/css/bootstrap-responsive.css')
         add_stylesheet(req, 'dashboard/css/roadmap.css')
         return 'widget_progress.html', \
                 {

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=1446123&r1=1446122&r2=1446123&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css Thu Feb 14 11:27:01 2013
@@ -177,15 +177,15 @@ div.reports form {
   font-weight: normal;
 }
 
-#activityfeed img {
+.activityfeed img {
   display: none;
 }
 
-#activityfeed dt {
+.activityfeed dt {
   font-weight: normal;
 }
 
-#activityfeed dd {
+.activityfeed dd {
   color: grey;
 }