aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAdam Novak2020-04-08 14:11:39 -0700
committerAdam Novak2020-04-08 14:11:39 -0700
commit414c308b8860d1b20481a2ec3b2f6381e4f6061b (patch)
tree3047017395afd2a618a82f323da4f08d53a87e01 /templates
downloadbh20-seq-resource-414c308b8860d1b20481a2ec3b2f6381e4f6061b.tar.gz
bh20-seq-resource-414c308b8860d1b20481a2ec3b2f6381e4f6061b.tar.lz
bh20-seq-resource-414c308b8860d1b20481a2ec3b2f6381e4f6061b.zip
Initial commit of working frontend
Diffstat (limited to 'templates')
-rw-r--r--templates/error.html19
-rw-r--r--templates/success.html24
2 files changed, 43 insertions, 0 deletions
diff --git a/templates/error.html b/templates/error.html
new file mode 100644
index 0000000..c2ab0a4
--- /dev/null
+++ b/templates/error.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Upload Failed</title>
+ </head>
+ <body>
+ <h1>Upload Failed</h1>
+ <hr>
+ <p>
+ Your upload has failed. {{error_message}}
+ </p>
+ <p>
+ <a href="/">Click here to try again.</a>
+ </p>
+ <hr>
+ </body>
+</html>
diff --git a/templates/success.html b/templates/success.html
new file mode 100644
index 0000000..1be7861
--- /dev/null
+++ b/templates/success.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Upload Successful</title>
+ </head>
+ <body>
+ <h1>Upload Successful</h1>
+ <hr>
+ <p>
+ Your files have been uploaded. They should soon appear as part of the <a href="https://workbench.lugli.arvadosapi.com/collections/lugli-4zz18-z513nlpqm03hpca">Public SARS-CoV-2 Sequence Resource</a>.
+ </p>
+ <p>
+ The upload log was:
+ </p>
+ <pre>{{log}}</pre>
+ <hr>
+ <p>
+ <a href="/">Click here to upload more files.</a>
+ </p>
+ <hr>
+ </body>
+</html>