about summary refs log tree commit diff
path: root/uploader/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/login.html')
-rw-r--r--uploader/templates/login.html34
1 files changed, 7 insertions, 27 deletions
diff --git a/uploader/templates/login.html b/uploader/templates/login.html
index 6ebf72e..e76c644 100644
--- a/uploader/templates/login.html
+++ b/uploader/templates/login.html
@@ -1,32 +1,12 @@
-{%extends "base.html"%}
-{%from "flash_messages.html" import flash_all_messages%}
+{%extends "index.html"%}
 
 {%block title%}Data Upload{%endblock%}
 
-{%block contents%}
-<div class="row">
-  {{flash_all_messages()}}
-
-  <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>
+{%block pagetitle%}log in{%endblock%}
 
+{%block extrapageinfo%}
+<p class="text-dark">
+  You <strong>need to
+    <a href="{{authserver_authorise_uri()}}"
+       title="Sign in to the system">sign in</a></strong> to use this system.</p>
 {%endblock%}