From 2e4d12e9890c36421d60ab06f6131f029844bc77 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 12 Apr 2020 15:10:29 -0500 Subject: Website: working on layout --- bh20simplewebuploader/main.py | 1 + .../static/image/coronasmallcomp.gif | Bin 0 -> 7335879 bytes .../static/image/covid19biohackathon.png | Bin 0 -> 21756 bytes bh20simplewebuploader/templates/form.html | 45 +++++++++++++++++---- 4 files changed, 39 insertions(+), 7 deletions(-) create mode 100644 bh20simplewebuploader/static/image/coronasmallcomp.gif create mode 100644 bh20simplewebuploader/static/image/covid19biohackathon.png (limited to 'bh20simplewebuploader') diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py index 383ef84..81f2ef9 100644 --- a/bh20simplewebuploader/main.py +++ b/bh20simplewebuploader/main.py @@ -126,6 +126,7 @@ def generate_form(schema): return list(walk_fields(root_name)) + # At startup, we need to load the current metadata schema so we can make a form for it METADATA_SCHEMA = yaml.safe_load(urllib.request.urlopen('https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-schema.yml')) FORM_ITEMS = generate_form(METADATA_SCHEMA) diff --git a/bh20simplewebuploader/static/image/coronasmallcomp.gif b/bh20simplewebuploader/static/image/coronasmallcomp.gif new file mode 100644 index 0000000..7a16637 Binary files /dev/null and b/bh20simplewebuploader/static/image/coronasmallcomp.gif differ diff --git a/bh20simplewebuploader/static/image/covid19biohackathon.png b/bh20simplewebuploader/static/image/covid19biohackathon.png new file mode 100644 index 0000000..7a744b6 Binary files /dev/null and b/bh20simplewebuploader/static/image/covid19biohackathon.png differ diff --git a/bh20simplewebuploader/templates/form.html b/bh20simplewebuploader/templates/form.html index afae4c7..839f22f 100644 --- a/bh20simplewebuploader/templates/form.html +++ b/bh20simplewebuploader/templates/form.html @@ -7,6 +7,7 @@ body { color: #101010; + background-color: #F9EDE1; } h1, h4 { @@ -21,6 +22,17 @@ color: #505050; font-style: italic; } + .header { + margin: 0 auto; + padding: 20px; + color: blue; + text-align: center; + height: 150px; + } + + .logo { + float: right; + } p, form { font-family: 'Raleway', sans-serif; @@ -112,18 +124,35 @@ - Simple Web Uploader for Public SARS-CoV-2 Sequence Resource + Web Uploader for Public SARS-CoV-2 Sequence Resource -

Simple Web Uploader for Public SARS-CoV-2 Sequence Resource

+
+ +

Web Uploader for Public SARS-CoV-2 Sequence Resource

+

+
-

- This tool can be used to upload sequenced genomes of SARS-CoV-2 samples to the Public SARS-CoV-2 Sequence Resource. Your uploaded sequence will automatically be processed and incorporated into the public pangenome. -

+

+ Upload your SARS-CoV-2 sequence (FASTA or FASTQ formats) with metadata (JSONLD) to the public sequence resource. The upload will trigger a + recompute with all available sequences into a Pangenome + available for + download! + Your uploaded sequence will automatically be processed + and incorporated into the public pangenome with + metadata. All data is published under + a Creative + Commons 4.0 attribution license (CC-BY-4.0). You + can take the published (GFA/RDF/FASTA) data and store it in + a triple store for further processing. + A free command line version of the uploader can be + installed from source. +

+
- +

@@ -154,7 +183,7 @@ {% for record in fields %} {% if 'heading' in record %} - {% if loop.index > 1 %} + {% if loop.index > 1 and 2 < 3 %}
{% endif %}
@@ -182,6 +211,8 @@

Source · Made for COVID-19-BH20 + +