diff options
author | zsloan | 2021-11-08 12:19:59 -0600 |
---|---|---|
committer | GitHub | 2021-11-08 12:19:59 -0600 |
commit | 647131fcb6e3f60a1f27cdcede2b6e625e55f6e4 (patch) | |
tree | 1d3a5b7484628843cc361ab516ff59af345e767f | |
parent | 8cef34c83fd2c013e0671ece54bfe43a3c4bb510 (diff) | |
parent | a2f2d89a5fbe720d3c1f1ac9655adca8b2ff503d (diff) | |
download | genenetwork2-647131fcb6e3f60a1f27cdcede2b6e625e55f6e4.tar.gz |
Merge pull request #620 from genenetwork/jupyter_notebooks_ui
Jupyter notebooks UI
-rw-r--r-- | wqflask/wqflask/static/new/css/jupyter_notebooks.css | 16 | ||||
-rw-r--r-- | wqflask/wqflask/templates/base.html | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/jupyter_notebooks.html | 4 |
3 files changed, 21 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/css/jupyter_notebooks.css b/wqflask/wqflask/static/new/css/jupyter_notebooks.css new file mode 100644 index 00000000..db972a17 --- /dev/null +++ b/wqflask/wqflask/static/new/css/jupyter_notebooks.css @@ -0,0 +1,16 @@ +.jupyter-links { + padding: 1.5em; +} + +.jupyter-links:nth-of-type(2n) { + background: #EEEEEE; +} + +.jupyter-links .main-link { + font-size: larger; + display: block; +} + +.jupyter-links .src-link { + font-size: smaller; +} diff --git a/wqflask/wqflask/templates/base.html b/wqflask/wqflask/templates/base.html index ab8b644f..6e922f24 100644 --- a/wqflask/wqflask/templates/base.html +++ b/wqflask/wqflask/templates/base.html @@ -87,7 +87,7 @@ <li><a href="https://systems-genetics.org/">Systems Genetics PheWAS</a></li> <li><a href="http://ucscbrowser.genenetwork.org/">Genome Browser</a></li> <li><a href="http://power.genenetwork.org">BXD Power Calculator</a></li> - <li><a href="url_for('jupyter_notebooks.launcher')">Jupyter Notebook Launcher</a></li> + <li><a href="{{url_for('jupyter_notebooks.launcher')}}">Jupyter Notebook Launcher</a></li> <li><a href="http://datafiles.genenetwork.org">Interplanetary File System</a></li> </ul> </li> diff --git a/wqflask/wqflask/templates/jupyter_notebooks.html b/wqflask/wqflask/templates/jupyter_notebooks.html index 4dce0f27..afc95a15 100644 --- a/wqflask/wqflask/templates/jupyter_notebooks.html +++ b/wqflask/wqflask/templates/jupyter_notebooks.html @@ -4,6 +4,10 @@ Jupyter Notebooks {%endblock%} +{%block css%} +<link rel="stylesheet" type="text/css" href="/static/new/css/jupyter_notebooks.css" /> +{%endblock%} + {%block content%} <div class="container"> |