diff --git a/scripts/web/app/templates/css/style.css b/scripts/web/app/templates/css/style.css index e77b861..5387b17 100644 --- a/scripts/web/app/templates/css/style.css +++ b/scripts/web/app/templates/css/style.css @@ -1,3 +1,8 @@ +body { + padding-top: 0px !important; + padding-right: 0px !important; +} + .title { margin-top:200px; margin-bottom:100px; @@ -36,6 +41,14 @@ footer { padding-bottom: 300px; } +#sequences-text { + white-space: pre-wrap; /* CSS 3 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ +} + .footer-title { padding-bottom:300px; } diff --git a/scripts/web/app/templates/js/buildTable.js b/scripts/web/app/templates/js/buildTable.js index a5314a5..922a2a4 100644 --- a/scripts/web/app/templates/js/buildTable.js +++ b/scripts/web/app/templates/js/buildTable.js @@ -2,7 +2,9 @@ var linkFormatter = function(value, row){ var path = window.location.href + "/../" + row['Gene ID'] + ".html"; return '' + value + ''; -}, setUpNavbar = function(){ + }, seqFormatter = function(value, row, idx){ + return ''; + }, setUpNavbar = function(){ var navbar = $('#navbar-main'), distance = navbar.offset().top, @@ -17,7 +19,6 @@ var linkFormatter = function(value, row){ $("body").css("padding-top", "0px"); } }); - }; d3.tsv("overview_new.txt", function (error, data) { @@ -44,6 +45,7 @@ d3.tsv("overview_new.txt", function (error, data) { })); } }, + currRow = "", aggregateData = function(data) { var aggregation = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; @@ -94,7 +96,7 @@ d3.tsv("overview_new.txt", function (error, data) { } else if(val=="Subject titles") { return "