From 99af299197dfc527155cd3257388b784810518c4 Mon Sep 17 00:00:00 2001
From: Peter Amstutz
Date: Wed, 8 Jul 2020 00:16:23 -0400
Subject: Split upload tab. Add upload status tab.
Add more direct links on download page.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz %s sequences %s QC
+
+""")
+
+ return render_template('status.html', table=Markup(output.getvalue()), menu='STATUS')
@app.route('/demo')
def demo_page():
diff --git a/bh20simplewebuploader/static/main.css b/bh20simplewebuploader/static/main.css
index 5a9f231..b9b27f4 100644
--- a/bh20simplewebuploader/static/main.css
+++ b/bh20simplewebuploader/static/main.css
@@ -168,11 +168,11 @@ span.dropt:hover {text-decoration: none; background: #ffffff; z-index: 6; }
grid-template-rows: auto;
row-gap:5px;
grid-template-areas:
- "a a b b"
- "a a c c"
- "a a d d"
- "e e e e"
- "f f f f";
+ "b b a a"
+ "b b c c"
+ "b b d d"
+ "e e e e"
+ "f f f f";
grid-auto-flow: column;
}
@@ -361,3 +361,19 @@ footer {
.blog-table-body {
display: table-row-group;
}
+
+div.status {
+ margin: 1em;
+}
+
+.status table {
+ display: table;
+ width: 100%;
+}
+
+.status td, th {
+ padding-left: 1em;
+ padding-right: 1em;
+ vertical-align: top;
+ border-bottom: 1px solid #ddd;
+}
diff --git a/bh20simplewebuploader/templates/footer.html b/bh20simplewebuploader/templates/footer.html
index 9326b1e..a1dd4fd 100644
--- a/bh20simplewebuploader/templates/footer.html
+++ b/bh20simplewebuploader/templates/footer.html
@@ -41,3 +41,17 @@
+
+
diff --git a/bh20simplewebuploader/templates/form.html b/bh20simplewebuploader/templates/form.html
index 0ad2080..b9b3776 100644
--- a/bh20simplewebuploader/templates/form.html
+++ b/bh20simplewebuploader/templates/form.html
@@ -7,43 +7,6 @@
+""")
+ for r in out:
+ output.write("Collection
+Sequence label
+Status
+Errors ")
+ output.write(" ")
+ output.write(
+"""
+%s " % (r["uuid"], r["uuid"]))
+ output.write("%s " % Markup.escape(r["sequence_label"]))
+ output.write("%s " % r["status"])
+ output.write(" " % Markup.escape("\n".join(r.get("errors", []))))
+ output.write("%s
+ Make your sequence + data FAIR. 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 using worklows from + the High Performance Open Biology Lab + defined here. All + data is published under + a Creative + Commons license You can take the published + (GFA/RDF/FASTA) data and store it in a triple + store for further processing. Clinical + data can be stored + securely + at REDCap. +
++ Note that form fields contain + web ontology + URI's + for disambiguation + and machine readable metadata. For examples of + use, see the BLOG. +
+