From 47fc559ca2b554f54112586e8d198d883f8c8118 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 10 Jun 2024 09:36:09 -0500 Subject: Simplify 'View-Resource page' UI Get rid of the resource role details and provide button-like elements to help navigate to view more details. --- gn2/wqflask/templates/oauth2/view-resource.html | 63 +++++-------------------- 1 file changed, 11 insertions(+), 52 deletions(-) (limited to 'gn2/wqflask/templates/oauth2') diff --git a/gn2/wqflask/templates/oauth2/view-resource.html b/gn2/wqflask/templates/oauth2/view-resource.html index 2d11a302..451bfbd7 100644 --- a/gn2/wqflask/templates/oauth2/view-resource.html +++ b/gn2/wqflask/templates/oauth2/view-resource.html @@ -2,6 +2,10 @@ {%from "oauth2/profile_nav.html" import profile_nav%} {%from "oauth2/display_error.html" import display_error%} {%block title%}View User{%endblock%} +{%block css%} + + +{%endblock%} {%block content%}
Role Name | -Privilege | -Privilege Description | -Actions | -|
---|---|---|---|---|
- {{role.role_name}} - | -{{priv.privilege_id}} | -{{priv.privilege_description}} | -- Delete - | -- Edit - | -
{{priv.privilege_id}} | -{{priv.privilege_description}} | -|||
- - - No roles defined for this resource. - - |
-