From 53d3a59c6f07f586a07438957869d834f36c4d11 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 30 Jun 2023 11:44:04 +0300 Subject: Edit some of the details of OAuth2 clients --- gn3/templates/admin/list-oauth2-clients.html | 4 +- gn3/templates/admin/view-oauth2-client.html | 75 ++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 gn3/templates/admin/view-oauth2-client.html (limited to 'gn3/templates') diff --git a/gn3/templates/admin/list-oauth2-clients.html b/gn3/templates/admin/list-oauth2-clients.html index f6bbcb2..02f73d4 100644 --- a/gn3/templates/admin/list-oauth2-clients.html +++ b/gn3/templates/admin/list-oauth2-clients.html @@ -8,7 +8,7 @@
Client ID | @@ -27,7 +27,7 @@{{client.client_metadata.default_redirect_uri}} | {{client.user.name}} ({{client.user.email}}) |
-
View/Edit
diff --git a/gn3/templates/admin/view-oauth2-client.html b/gn3/templates/admin/view-oauth2-client.html
new file mode 100644
index 0000000..d5d4b2b
--- /dev/null
+++ b/gn3/templates/admin/view-oauth2-client.html
@@ -0,0 +1,75 @@
+{%extends "base.html"%}
+
+{%block title%}Genenetwork3: View OAuth2 Client{%endblock%}
+
+{%block content%}
+{{flash_messages()}}
+
+Genenetwork3: View OAuth2 Client+ +{%if client.is_nothing()%} +No such client +{%else%} +{%set client = client.value%} + +{%endif%} +{%endblock%} -- cgit v1.2.3 |
---|