From 24baaf4dc03844d34f4c4101179223cc4e0d9184 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 21 May 2020 15:57:49 -0500 Subject: Made search result table width variable again and fixed row highlighting, though later I need to go through and redo a bunch of CSS stuff --- wqflask/base/webqtlConfig.py | 1 + wqflask/wqflask/static/new/css/show_trait.css | 4 ++ wqflask/wqflask/templates/search_result_page.html | 46 +++++++++++++---------- 3 files changed, 32 insertions(+), 19 deletions(-) diff --git a/wqflask/base/webqtlConfig.py b/wqflask/base/webqtlConfig.py index 018d5d54..55407123 100644 --- a/wqflask/base/webqtlConfig.py +++ b/wqflask/base/webqtlConfig.py @@ -58,6 +58,7 @@ PROTEIN_ATLAS_URL = "http://www.proteinatlas.org/search/%s" OPEN_TARGETS_URL = "https://genetics.opentargets.org/gene/%s" UNIPROT_URL = "https://www.uniprot.org/uniprot/%s" RGD_URL = "https://rgd.mcw.edu/rgdweb/elasticResults.html?term=%s&category=Gene&species=%s" +PHENOGEN_URL = "https://phenogen.org/gene.jsp?speciesCB=Rn&auto=Y&geneTxt=%s&genomeVer=rn6§ion=geneEQTL" # Temporary storage (note that this TMPDIR can be set as an # environment variable - use utility.tools.TEMPDIR when you diff --git a/wqflask/wqflask/static/new/css/show_trait.css b/wqflask/wqflask/static/new/css/show_trait.css index 09d5e1e3..a0e84474 100644 --- a/wqflask/wqflask/static/new/css/show_trait.css +++ b/wqflask/wqflask/static/new/css/show_trait.css @@ -2,6 +2,10 @@ tr .outlier { background-color: #ffff99; } +table.dataTable tbody tr.selected { + background-color: #ffff00 +} + #bar_chart_container { overflow-x:scroll; } diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html index 89ca6681..b238a28a 100644 --- a/wqflask/wqflask/templates/search_result_page.html +++ b/wqflask/wqflask/templates/search_result_page.html @@ -8,7 +8,7 @@ {% endblock %} {% block content %} -