aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/login.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-07-25 16:54:48 -0500
committerFrederick Muriuki Muriithi2024-07-26 16:45:32 -0500
commit729703972f67cd8a61460d275313ad7c55b019b3 (patch)
tree17c93a98ad30d762876cd3c25a4b58f690924e36 /uploader/templates/login.html
parent365f360f0e79c761bd6fb9c26009b4f782f752eb (diff)
downloadgn-uploader-729703972f67cd8a61460d275313ad7c55b019b3.tar.gz
Provide UI for enabling login to the application.
Diffstat (limited to 'uploader/templates/login.html')
-rw-r--r--uploader/templates/login.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/uploader/templates/login.html b/uploader/templates/login.html
new file mode 100644
index 0000000..68510aa
--- /dev/null
+++ b/uploader/templates/login.html
@@ -0,0 +1,29 @@
+{%extends "base.html"%}
+
+{%block title%}Data Upload{%endblock%}
+
+{%block contents%}
+<div class="row">
+ <h1 class="heading">log in</h1>
+
+ <div class="explainer">
+ <p>
+ This system enables you to upload data onto GeneNetwork. In order to do
+ that correctly, we need to know who you are.</p>
+ <p>
+ If you already have an account with GeneNetwork, you can simply click the
+ login button below, after which you can upload your data.<br />
+ </p>
+ <a href="{{authserver_authorise_uri()}}" class="btn btn-primary"
+ style="display:block;width:15em;align:center;margin:1em 3em;">
+ log in</a>
+ <p>
+ If you do not have an account with GeneNetwork, go to
+ <a href="{{gn2server_uri()}}"
+ title="GeneNetwork Service."
+ target="_blank">GeneNetwork</a>
+ and register for an account, then come back here to login and upload.</a>
+ </div>
+</div>
+
+{%endblock%}