aboutsummaryrefslogtreecommitdiff
path: root/gn3/templates/admin/login.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-03-15 04:28:26 +0300
committerFrederick Muriuki Muriithi2024-03-15 04:29:24 +0300
commita6ef95af5b6b072acdc02ba4db08c1bdda4c1f1a (patch)
tree9950b211af91945e9fcfe658a37dbde77ea25075 /gn3/templates/admin/login.html
parentdd0b29c07017ec398c447ca683dd4b4be18d73b7 (diff)
downloadgenenetwork3-a6ef95af5b6b072acdc02ba4db08c1bdda4c1f1a.tar.gz
Remove ALL html templates from GeneNetwork3
GN3 provides an API to provide data, and needs no HTML UI.
Diffstat (limited to 'gn3/templates/admin/login.html')
-rw-r--r--gn3/templates/admin/login.html32
1 files changed, 0 insertions, 32 deletions
diff --git a/gn3/templates/admin/login.html b/gn3/templates/admin/login.html
deleted file mode 100644
index ac217ab..0000000
--- a/gn3/templates/admin/login.html
+++ /dev/null
@@ -1,32 +0,0 @@
-{%extends "base.html"%}
-
-{%block title%}Log in to Genenetwork3{%endblock%}
-
-{%block pagetitle%}Admin Log In{%endblock%}
-
-{%block content%}
-{{flash_messages()}}
-
-<form method="POST" action="{{url_for('oauth2.admin.login')}}">
-
- <fieldset>
- <legend>User Credentials</legend>
-
- <input name="next_uri" type="hidden" value={{next_uri}}>
-
- <fieldset class="form-group">
- <label for="txt:email" class="form-label">Email Address</label>
- <input name="email" type="email" id="txt:email" required="required"
- placeholder="your@email.address" class="form-control" />
- </fieldset>
-
- <fieldset class="form-group">
- <label for="txt:password" class="form-label">Password</label>
- <input name="password" type="password" id="txt:password"
- required="required" class="form-control" />
- </fieldset>
- </fieldset>
-
- <input type="submit" value="log in" class="btn btn-primary" />
-</form>
-{%endblock%}