From c56dc39193909062d25e3270d9ab0ec3467a47ee Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 19 Jul 2024 10:22:31 -0500 Subject: Fix styling: Use bootstrap styling. --- gn_auth/templates/admin/register-client.html | 99 ++++++++++++++----------- gn_auth/templates/admin/view-oauth2-client.html | 66 ++++++++++------- 2 files changed, 94 insertions(+), 71 deletions(-) (limited to 'gn_auth/templates/admin') diff --git a/gn_auth/templates/admin/register-client.html b/gn_auth/templates/admin/register-client.html index 20d7aa2..5e24148 100644 --- a/gn_auth/templates/admin/register-client.html +++ b/gn_auth/templates/admin/register-client.html @@ -9,59 +9,72 @@
-
- Select client scope - + Select client scope +
{%for scp in scope%} - -
+
+ +
{%endfor%} +
-
- -
- Basic OAuth2 client information - - - - Basic OAuth2 client information +
+ + -

+
- - + + -

+ - -
- -

-
- Supported grant types - {%for granttype in granttypes%} - + + +
+ Supported grant types + {%for granttype in granttypes%} +
-

- {%endfor%} -
-
- -
- User information + + {%endfor%} + -

The user to register this client for

- {%for user in users%} {%endfor%} -
- - + + +
{%endblock%} diff --git a/gn_auth/templates/admin/view-oauth2-client.html b/gn_auth/templates/admin/view-oauth2-client.html index 415873d..6da8291 100644 --- a/gn_auth/templates/admin/view-oauth2-client.html +++ b/gn_auth/templates/admin/view-oauth2-client.html @@ -13,58 +13,66 @@ {%set client = client.value%}
View/Edit Oauth2 Client + +
-

Client ID: {{client.client_id}}

-

Client Name: {{client.client_metadata.client_name}}

+

Client ID: {{client.client_id}}

+

Client Name: {{client.client_metadata.client_name}}

-
+ +
Scope {%for scp in scope%} - -
+
+
+
{%endfor%} -
+ -
+
Redirect URIs - +
- -

+
- -
+
+ -
+ -
+
Grants - {%for granttype in granttypes%} - + {%for granttype in granttypes%} +
-

- {%endfor%} -
@@ -106,6 +114,7 @@ There are no registered SSL keys for this client. + {%endfor%} @@ -122,6 +131,7 @@ class="form-control" rows="10"> +
-- cgit v1.2.3