summaryrefslogtreecommitdiffstats
path: root/base/tps/shared/webapps/tps/ui/config.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-04-15 23:15:55 -0400
committerEndi S. Dewata <edewata@redhat.com>2015-04-17 13:32:06 -0400
commit6b6416888a90a75ca0a2c9b78bb88a4e217cc14b (patch)
tree5e94e8dd77f525c2f0cbcc0ba014de5812bb763c /base/tps/shared/webapps/tps/ui/config.html
parentf79bb45a68c542fd0647f9b84a090e05f30bb565 (diff)
downloadpki-6b6416888a90a75ca0a2c9b78bb88a4e217cc14b.tar.gz
pki-6b6416888a90a75ca0a2c9b78bb88a4e217cc14b.tar.xz
pki-6b6416888a90a75ca0a2c9b78bb88a4e217cc14b.zip
Added bulk property editor in TPS UI.
The TPS UI has been modified to provide an interface to edit raw properties as in the configuration file. This also allows editing multiple properties at once and also copy & pasting the properties. https://fedorahosted.org/pki/ticket/936
Diffstat (limited to 'base/tps/shared/webapps/tps/ui/config.html')
-rw-r--r--base/tps/shared/webapps/tps/ui/config.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/base/tps/shared/webapps/tps/ui/config.html b/base/tps/shared/webapps/tps/ui/config.html
index 224697551..567ee9818 100644
--- a/base/tps/shared/webapps/tps/ui/config.html
+++ b/base/tps/shared/webapps/tps/ui/config.html
@@ -50,6 +50,7 @@
<span class="pki-table-buttons">
<button name="add">Add</button>
<button name="remove">Remove</button>
+ <button name="showEditor">Switch View</button>
</span>
</th>
</tr>
@@ -90,6 +91,26 @@
</tfoot>
</table>
+<table name="editor" style="display: none;">
+<thead>
+ <tr>
+ <th class="pki-table-actions">
+ <span class="pki-table-buttons">
+ <button name="showList">Switch View</button>
+ </span>
+ </th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td style="padding: 0;">
+ <textarea style="width: 100%;" rows="20">
+ </textarea>
+ </td>
+ </tr>
+</tbody>
+</table>
+
</div>
<div id="property-dialog" class="modal">