diff options
author | Zachary Sloan | 2013-03-05 23:09:53 +0000 |
---|---|---|
committer | Zachary Sloan | 2013-03-05 23:09:53 +0000 |
commit | 20068f2078eea3dbbc32b532916289188e84d6fa (patch) | |
tree | 8d8293c4fbded2f4f119256fc07e1fb8ac14af16 /wqflask | |
parent | ed1dd7777b6dc49ed3496668bfd3b3df0d0a0612 (diff) | |
download | genenetwork2-20068f2078eea3dbbc32b532916289188e84d6fa.tar.gz |
Implemented DataTables; there are now options to download the marker
regression result table in various formats
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/marker_regression.html | 35 |
1 files changed, 22 insertions, 13 deletions
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 |