about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZachary Sloan2013-01-10 16:17:45 -0600
committerZachary Sloan2013-01-10 16:17:45 -0600
commit258afa157e15c4f041a899e700fc25e941049e61 (patch)
tree5b4f5c50795bb488080f516e85e464afaa324a25
parent0bd020d4a2fc84945e0f3294256e41c31462fc0b (diff)
downloadgenenetwork2-258afa157e15c4f041a899e700fc25e941049e61.tar.gz
The plots now correctly appear above/below each other.
Committing before trying to combine all the manhattan plot
segments
-rw-r--r--wqflask/wqflask/static/new/css/marker_regression.css24
-rw-r--r--wqflask/wqflask/templates/marker_regression.html12
2 files changed, 24 insertions, 12 deletions
diff --git a/wqflask/wqflask/static/new/css/marker_regression.css b/wqflask/wqflask/static/new/css/marker_regression.css
index a0bdc159..7bfb10fb 100644
--- a/wqflask/wqflask/static/new/css/marker_regression.css
+++ b/wqflask/wqflask/static/new/css/marker_regression.css
@@ -1,7 +1,19 @@
-.manhattan_plot_segment
-{
-    height:400px;
-    width:150px;
-    float: right;
+.manhattan_plot_segment {
+    position:relative;
+    display:inline;
+    height: 400px;
+    width: 150px;
+    float: left;
     clear: none;
-}
\ No newline at end of file
+}
+
+.manhattan_plots {
+    clear: both;
+}
+
+.permutation_histogram {
+    display: block;
+    height: 400px;
+    width: 900px;
+    clear: both;
+}
diff --git a/wqflask/wqflask/templates/marker_regression.html b/wqflask/wqflask/templates/marker_regression.html
index b052d4a3..aeb05132 100644
--- a/wqflask/wqflask/templates/marker_regression.html
+++ b/wqflask/wqflask/templates/marker_regression.html
@@ -14,18 +14,18 @@
             </p>
         </div>
     </header>
-    
-    <!--<div id="manhattan_plot_1" style="height:400px;width:150px; "></div>-->
-    <div id="manhattan_plots"></div>
-    
-    <div id="permutation_histogram" style="height:400px;width:900px; "></div>
+
+    <div class="container">
+        <div id="manhattan_plots" class="manhattan_plots"></div>
+        <div id="permutation_histogram" class="permutation_histogram"></div>
+    </div>
 
 
     <!-- End of body -->
 
 {% endblock %}
 
-{% block js %}
+{% block js %}  
     <script>
         js_data = {{ js_data | safe }}
     </script>