diff options
author | Frederick Muriuki Muriithi | 2023-03-06 10:15:57 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-03-06 10:15:57 +0300 |
commit | 530822468be436f1da0024a4b0dd85e0a2f69b7f (patch) | |
tree | 281147b997de0eb6faef7b4c4e3d3da1da359ccf | |
parent | e7c136949d3daf5310b33423f27918aaa9e92c65 (diff) | |
download | genenetwork2-530822468be436f1da0024a4b0dd85e0a2f69b7f.tar.gz |
oauth2: group roles: commit missing template.
-rw-r--r-- | wqflask/wqflask/templates/oauth2/view-group-role.html | 40 |
1 files changed, 40 insertions, 0 deletions
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%} +<div class="container" style="min-width: 1250px;"> + {{profile_nav("roles")}} + <h3>View Group Role</h3> + + {{flash_me()}} + + <div class="container-fluid"> + <div class="row"> + {%if group_role_error is defined%} + {{display_error("Group Role", group_role_error)}} + {%else%} + <table class="table"> + <caption>Details for '{{group_role.role.role_name}}' Role</caption> + <thead> + <tr> + <th>Privilege</th> + <th>Description</th> + </tr> + </thead> + <tbody> + {%for privilege in group_role.role.privileges%} + <tr> + <td>{{privilege.privilege_id}}</td> + <td>{{privilege.privilege_description}}</td> + </tr> + {%endfor%} + </tbody> + </table> + {%endif%} + </div> + + </div> + +</div> +{%endblock%} |