From 530822468be436f1da0024a4b0dd85e0a2f69b7f Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 6 Mar 2023 10:15:57 +0300 Subject: oauth2: group roles: commit missing template. --- .../wqflask/templates/oauth2/view-group-role.html | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 wqflask/wqflask/templates/oauth2/view-group-role.html (limited to 'wqflask') diff --git a/wqflask/wqflask/templates/oauth2/view-group-role.html b/wqflask/wqflask/templates/oauth2/view-group-role.html new file mode 100644 index 00000000..ca45fc4c --- /dev/null +++ b/wqflask/wqflask/templates/oauth2/view-group-role.html @@ -0,0 +1,40 @@ +{%extends "base.html"%} +{%from "oauth2/profile_nav.html" import profile_nav%} +{%from "oauth2/display_error.html" import display_error%} +{%block title%}View User{%endblock%} +{%block content%} +
+ {{profile_nav("roles")}} +

View Group Role

+ + {{flash_me()}} + +
+
+ {%if group_role_error is defined%} + {{display_error("Group Role", group_role_error)}} + {%else%} + + + + + + + + + + {%for privilege in group_role.role.privileges%} + + + + + {%endfor%} + +
Details for '{{group_role.role.role_name}}' Role
PrivilegeDescription
{{privilege.privilege_id}}{{privilege.privilege_description}}
+ {%endif%} +
+ +
+ +
+{%endblock%} -- cgit v1.2.3