diff options
author | Endi S. Dewata <edewata@redhat.com> | 2015-04-10 22:51:22 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2015-04-17 13:31:57 -0400 |
commit | f79bb45a68c542fd0647f9b84a090e05f30bb565 (patch) | |
tree | db87ad0724c58671e7e09f6a378220874098eaed /base/tps/shared/webapps/tps/ui/config.html | |
parent | 7e58da6db8570e8472f5d76d0f50563f3c0e1970 (diff) | |
download | pki-f79bb45a68c542fd0647f9b84a090e05f30bb565.tar.gz pki-f79bb45a68c542fd0647f9b84a090e05f30bb565.tar.xz pki-f79bb45a68c542fd0647f9b84a090e05f30bb565.zip |
Fixed action menu in TPS UI.
The TPS UI has been modified to display the appropriate actions
menu based on the roles of the user. TPS agent can only enable
and disable profiles, and also approve or reject pending requests.
TPS admin can only edit disabled profiles, then submit it for
approval, or cancel the request.
https://fedorahosted.org/pki/ticket/1292
Diffstat (limited to 'base/tps/shared/webapps/tps/ui/config.html')
-rw-r--r-- | base/tps/shared/webapps/tps/ui/config.html | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/base/tps/shared/webapps/tps/ui/config.html b/base/tps/shared/webapps/tps/ui/config.html index 2a8e85902..224697551 100644 --- a/base/tps/shared/webapps/tps/ui/config.html +++ b/base/tps/shared/webapps/tps/ui/config.html @@ -25,9 +25,9 @@ <span class="pki-actions"> -<span name="view" class="pki-actions-menu"> -<a name="edit" href="#">Edit</a><br> -</span> +<ul name="view" class="pki-actions-menu"> +<li name="edit"><a href="#">Edit</a></li> +</ul> <span name="edit" class="pki-actions-menu" style="display: none;"> <button name="cancel">Cancel</button> @@ -38,14 +38,16 @@ </div> -<table name="properties"> +<div name="properties"> + +<table name="list"> <thead> <tr> <th class="pki-table-actions" colspan="3"> <span name="search"> <input name="search" type="text" placeholder="Search..."> </span> - <span class="pki-table-buttons" style="display: none;"> + <span class="pki-table-buttons"> <button name="add">Add</button> <button name="remove">Remove</button> </span> @@ -88,6 +90,8 @@ </tfoot> </table> +</div> + <div id="property-dialog" class="modal"> <div class="modal-dialog"> <div class="modal-content"> |