aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Sloan2013-03-05 23:09:53 +0000
committerZachary Sloan2013-03-05 23:09:53 +0000
commit20068f2078eea3dbbc32b532916289188e84d6fa (patch)
tree8d8293c4fbded2f4f119256fc07e1fb8ac14af16
parented1dd7777b6dc49ed3496668bfd3b3df0d0a0612 (diff)
downloadgenenetwork2-20068f2078eea3dbbc32b532916289188e84d6fa.tar.gz
Implemented DataTables; there are now options to download the marker
regression result table in various formats
-rw-r--r--misc/notes.txt10
-rw-r--r--wqflask/wqflask/templates/marker_regression.html35
2 files changed, 32 insertions, 13 deletions
diff --git a/misc/notes.txt b/misc/notes.txt
index ed0390e1..24e129ee 100644
--- a/misc/notes.txt
+++ b/misc/notes.txt
@@ -8,6 +8,16 @@ Add all files in current directory branch to be staged to be committed
git add -A
+Get the default path being used when a command is typed:
+which _______
+
+Get the paths checked when a user types a command:
+echo $PATH
+
+Get all environment variables:
+set
+
+
**** apt-get is an Ubuntu system-wide package manager, while pip is a Python-only system
for python packages ****
diff --git a/wqflask/wqflask/templates/marker_regression.html b/wqflask/wqflask/templates/marker_regression.html
index bcf60abe..f1139846 100644
--- a/wqflask/wqflask/templates/marker_regression.html
+++ b/wqflask/wqflask/templates/marker_regression.html
@@ -5,6 +5,7 @@
<link rel="stylesheet" type="text/css" href="/static/new/css/marker_regression.css" />
<link rel="stylesheet" type="text/css" href="/static/new/packages/DataTables/css/jquery.dataTables.css" />
<link rel="stylesheet" type="text/css" href="/static/packages/DT_bootstrap/DT_bootstrap.css" />
+ <link rel="stylesheet" type="text/css" href="/static/packages/TableTools/media/css/TableTools.css" />
{% endblock %}
{% block content %} <!-- Start of body -->
@@ -69,28 +70,36 @@
<script language="javascript" type="text/javascript" src="/static/packages/jqplot/excanvas.js"></script>
<![endif]-->
<script language="javascript" type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script>
- <script language="javascript" type="text/javascript" src="/static/packages/jqplot/jquery.jqplot.min.js"></script>
- <script language="javascript" type="text/javascript" src="/static/packages/jqplot/plugins/jqplot.pointLabels.min.js"></script>
- <script language="javascript" type="text/javascript" src="/static/packages/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js"></script>
- <script language="javascript" type="text/javascript" src="/static/packages/jqplot/plugins/jqplot.barRenderer.min.js"></script>
- <!--<script language="javascript" type="text/javascript" src="/static/packages/jqplot/plugins/jqplot.markerRenderer.min.js"></script>-->
- <script language="javascript" type="text/javascript" src="/static/packages/jqplot/plugins/jqplot.canvasTextRenderer.min.js"></script>
- <script language="javascript" type="text/javascript" src="/static/packages/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js"></script>
<script language="javascript" type="text/javascript" src="/static/new/javascript/marker_regression.js"></script>
<script language="javascript" type="text/javascript" src="/static/new/packages/DataTables/js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="/static/new/packages/DataTables/js/jquery.dataTables.min.js"></script>
<script language="javascript" type="text/javascript" src="/static/packages/DT_bootstrap/DT_bootstrap.js"></script>
+ <script language="javascript" type="text/javascript" src="/static/packages/TableTools/media/js/TableTools.min.js"></script>
<script language="javascript" type="text/javascript" src="/static/packages/underscore/underscore-min.js"></script>
<script type="text/javascript" charset="utf-8">
- $(document).ready(function() {
- $.extend( $.fn.dataTable.defaults, {
+ $(document).ready( function () {
+ $('#qtl_results').dataTable( {
+ "sDom": 'T<"clear">lfrtip',
+ "oTableTools": {
+ "sSwfPath": "/static/packages/TableTools/media/swf/copy_csv_xls_pdf.swf"
+ },
"iDisplayLength": 50
- } );
-
- $('#qtl_results').dataTable();
- } );
+ } );
+ } );
+
+ //$(document).ready(function() {
+ // $.extend( $.fn.dataTable.defaults, {
+ // "sDom": 'T<"clear">lfrtip',
+ // "oTableTools": {
+ // "sSwfPath": "/static/packages/TableTools/media/swf/copy_csv_xls_pdf.swf"
+ // },
+ // "iDisplayLength": 50
+ // } );
+ //
+ // $('#qtl_results').dataTable();
+ //} );
</script>
{% endblock %} \ No newline at end of file