summaryrefslogtreecommitdiffstats
path: root/base/tps/shared/webapps/tps/ui/config.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-04-10 22:51:22 -0400
committerEndi S. Dewata <edewata@redhat.com>2015-04-17 13:31:57 -0400
commitf79bb45a68c542fd0647f9b84a090e05f30bb565 (patch)
treedb87ad0724c58671e7e09f6a378220874098eaed /base/tps/shared/webapps/tps/ui/config.html
parent7e58da6db8570e8472f5d76d0f50563f3c0e1970 (diff)
downloadpki-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.html14
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">