aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2024-11-15 21:20:51 +0000
committerzsloan2024-11-15 21:22:23 +0000
commit0e8d6049bfb693531f6f8f0f3e8c7fbbb3e63e24 (patch)
tree02d08fecfa82767c0a074617ce11766a91737ef7
parent4c21d0e43cf0de1084d0e0a243e441c6e72236eb (diff)
downloadgn-auth-main.tar.gz
Make authorise-user template more consistent with GN2 styleHEADmain
-rw-r--r--gn_auth/templates/oauth2/authorise-user.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/gn_auth/templates/oauth2/authorise-user.html b/gn_auth/templates/oauth2/authorise-user.html
index 2ef22af..daae3b6 100644
--- a/gn_auth/templates/oauth2/authorise-user.html
+++ b/gn_auth/templates/oauth2/authorise-user.html
@@ -6,8 +6,9 @@
{%block content%}
{{flash_messages()}}
-
-<form method="POST" action="{{url_for(
+<legend style="margin-top: 20px;">User Credentials</legend>
+<div class="container" style="min-width: 1250px;">
+<form method="POST" class="form-horizontal" action="{{url_for(
'oauth2.auth.authorise',
response_type=response_type,
client_id=client.client_id,
@@ -16,8 +17,6 @@
<input type="hidden" name="redirect_uri" value="{{redirect_uri}}" />
<input type="hidden" name="scope" value="{{scope | join(' ')}}" />
<input type="hidden" name="client_id" value="{{client.client_id}}" />
-
- <legend>User Credentials</legend>
<div class="form-group">
<label for="user:email" class="form-label">Email</label>
<input type="email" name="user:email" id="user:email" required="required"
@@ -42,4 +41,5 @@
{%endif%}
</div>
</form>
+</div>
{%endblock%}