incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1381143 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html
Date Wed, 05 Sep 2012 11:05:21 GMT
Author: gjm
Date: Wed Sep  5 11:05:21 2012
New Revision: 1381143

URL: http://svn.apache.org/viewvc?rev=1381143&view=rev
Log:
dashboard: using affix plugin for sticky panels - towards #172

Modified:
    incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html

Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html?rev=1381143&r1=1381142&r2=1381143&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html
(original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/templates/bh_model_view.html
Wed Sep  5 11:05:21 2012
@@ -26,12 +26,13 @@
       xmlns:i18n="http://genshi.edgewall.org/i18n"
       xmlns:bh="http://issues.apache.org/bloodhound/wiki/Ui/Dashboard"
       xmlns:xi="http://www.w3.org/2001/XInclude"
-      py:strip="">
+      py:strip=""
+      py:with="colspan = 'span8' if bhdb else 'span12'">
   <xi:include href="widget_macros.html" />
 
-  <div class="${'span8' if bhdb else 'span12'}">
+  <div class="$colspan">
     <div class="stickyBox">
-      <div id="overview" class="stickyStatus">
+      <div id="overview" class="stickyStatus $colspan">
         <div class="whitebox"></div>
         $heading
         <br/>
@@ -58,7 +59,7 @@
     <script type="text/javascript">
       setup_sticky_panel('#overview');
     </script>
-    <div class="${'' if bhdb else 'span11'}" >
+    <div class="${'span7' if bhdb else 'span11'}" >
       <div class="well">
         $description
         $buttons



Mime
View raw message