From 71525e64d00eda329f8c9a87c300b98526113679 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 4 Jul 2023 10:48:30 +0300 Subject: Fix minor UI bug --- gn3/templates/oauth2/authorise-user.html | 31 +++++++++++++++++++------------ gn3/templates/oauth2/oauth2_error.html | 4 ++-- 2 files changed, 21 insertions(+), 14 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()}} -

Authenticate to the API Server

-
@@ -17,24 +17,31 @@
Scope {%for scp in scope%} - - -
+
+ +
{%endfor%}
User Credentials - - -
+
+ + +
- +
+ + required="required" class="form-control" /> +
- +
{%endblock%} diff --git a/gn3/templates/oauth2/oauth2_error.html b/gn3/templates/oauth2/oauth2_error.html index 4edf9c4..ec9a500 100644 --- a/gn3/templates/oauth2/oauth2_error.html +++ b/gn3/templates/oauth2/oauth2_error.html @@ -2,11 +2,11 @@ {%block title%}OAuth2 Error{%endblock%} +{%block pagetitle%}Error: {{error.status_code}}{%endblock%} + {%block content%} {{flash_messages()}} -

Error: {{error.status_code}}

- There was an error trying to fulfill your request:

-- cgit v1.2.3