diff options
Diffstat (limited to 'gn3/templates/oauth2/authorise-user.html')
-rw-r--r-- | gn3/templates/oauth2/authorise-user.html | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/gn3/templates/oauth2/authorise-user.html b/gn3/templates/oauth2/authorise-user.html index d40379f..33c5b16 100644 --- a/gn3/templates/oauth2/authorise-user.html +++ b/gn3/templates/oauth2/authorise-user.html @@ -2,11 +2,11 @@ {%block title%}Authorise User{%endblock%} +{%block pagetitle%}Authenticate to the API Server{%endblock%} + {%block content%} {{flash_messages()}} -<h1>Authenticate to the API Server</h1> - <form method="POST" action="#"> <input type="hidden" name="response_type" value="{{response_type}}" /> <input type="hidden" name="scope" value="{{scope | join(' ')}}" /> @@ -17,24 +17,31 @@ <fieldset> <legend>Scope</legend> {%for scp in scope%} - <input id="scope:{{scp}}" type="checkbox" name="scope[]" value="{{scp}}" - checked="checked" disabled="disabled" /> - <label for="scope:{{scp}}">{{scp}}</label> - <br /> + <div class="checkbox disabled"> + <label for="scope:{{scp}}"> + <input id="scope:{{scp}}" type="checkbox" name="scope[]" value="{{scp}}" + checked="checked" disabled="disabled" /> + {{scp}} + </label> + </div> {%endfor%} </fieldset> <fieldset> <legend>User Credentials</legend> - <label for="user:email">Email</label> - <input type="email" name="user:email" id="user:email" required="required" /> - <br /> + <fieldset class="form-group"> + <label for="user:email" class="form-label">Email</label> + <input type="email" name="user:email" id="user:email" required="required" + class="form-control"/> + </fieldset> - <label for="user:password">Password</label> + <fieldset class="form-group"> + <label for="user:password" class="form-label">Password</label> <input type="password" name="user:password" id="user:password" - required="required" /> + required="required" class="form-control" /> + </fieldset> </fieldset> - <input type="submit" value="authorise" /> + <input type="submit" value="authorise" class="btn btn-primary" /> </form> {%endblock%} |