aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/templates/admin/login.html
blob: ca3420a8da154dc62211cd5bfba097257749c496 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{%extends "base.html"%}

{%block title%}Log in to gn-auth{%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%}