blob: eee910075175d3c125e6e2e36af3af3d3c63f82c [file] [log] [blame]
Valentin Valcheveddfbc42012-08-21 20:06:24 +00001<script type="text/javascript" src="${pluginRoot}/res/jsTree.v.0.9.9a/jquery.tree.min.js"></script>
Valentin Valcheveddfbc42012-08-21 20:06:24 +00002<script type="text/javascript" src="${pluginRoot}/res/plugin.js"></script>
3<script type="text/javascript">
4// <![CDATA[
5var i18n = {
6 abort : '${abort}',
7 close : '${abort}',
8 add : '${save}',
9 root : '${role.tree.root}',
Valentin Valchev516c8e52014-11-18 08:37:37 +000010 status: '${role.statline}',
11 paswd : '${type.password}'
Valentin Valcheveddfbc42012-08-21 20:06:24 +000012}
13// ]]>
14</script>
15
16<!-- status line -->
17<p class="statline">&nbsp;</p>
18
19<!-- table caption -->
20<form method="post" action="${pluginRoot}">
21 <div class="ui-widget-header ui-corner-top buttonGroup">
22 <button id="newRole">${role.new}</button>
23 <button id="reload">${reload}</button>
24 </div>
25</form>
26
27<table class="nicetable">
28 <tr>
29 <td id="userTree">-</td>
30 <td id="roleDetails">
31 <table class="nicetable ui-helper-hidden">
32 <thead class="ui-widget-header ">
33 <tr>
34 <td class="property-name">${role.key}</td>
35 <td class="property-value">${role.value}</td>
36 <td class="property-type">${type}</td>
37 <td class="actions">${bundles.actions}</td>
38 </tr>
39 </thead>
40 <tfoot class="ui-widget-header">
41 <tr>
42 <td colspan="4">
43 <button id="delRole">${delete}</button>
44 <button id="savRole">${save}</button>
45 </td>
46 </tr>
47 </tfoot>
48 <tbody>
49 <tr class="ui-priority-primary header header-props">
50 <td colspan="4" class="">
51 ${role.properties}
52 <ul class="icons">
53 <li class="dynhover">
54 <span class="ui-icon ui-icon-plus">&nbsp;</span>
55 </li>
56 </ul>
57 </td>
58 </tr>
59 <tr class="ui-priority-primary header header-cred">
60 <td colspan="4">
61 ${role.credentials}
62 <ul class="icons">
63 <li class="dynhover">
64 <span class="ui-icon ui-icon-plus">&nbsp;</span>
65 </li>
66 </ul>
67 </td>
68 </tr>
69 <tr>
70 <td><input class="k" /></td>
71 <td><input class="v" /></td>
72 <td>
Valentin Valchev516c8e52014-11-18 08:37:37 +000073 <select class="dynhover propertyType">
Valentin Valcheveddfbc42012-08-21 20:06:24 +000074 <option value="string">${type.string}</option>
75 <option value="byte[]">${type.bytes}</option>
Valentin Valchev516c8e52014-11-18 08:37:37 +000076 <!--
Valentin Valcheveddfbc42012-08-21 20:06:24 +000077 <option value="password-MD5">${type.password-MD5}</option>
78 <option value="password-SHA1">${type.password-SHA1}</option>
79 <option value="password-SHA256">${type.password-SHA256}</option>
80 <option value="password-SHA512">${type.password-SHA512}</option>
Valentin Valchev516c8e52014-11-18 08:37:37 +000081 -->
Valentin Valcheveddfbc42012-08-21 20:06:24 +000082 </select>
83 </td>
84 <td class="actions">
85 <ul class="icons">
86 <li class="dynhover">
87 <span class="ui-icon ui-icon-trash">&nbsp;</span>
88 </li>
89 </ul>
90 </td>
91 </tr>
92 </tbody>
93 </table>
94 <div id="roleDetailsHelp">${role.help.initial}</div>
95 </td>
96 </tr>
97</table>
98
99<div class="ui-helper-hidden1" title="${role.new.title}" id="newDialogRole">
100 <table class="nicetable">
101 <tr>
102 <td class="label">
103 ${role.name}
104 </td>
105 <td>
106 <input/>
107 </td>
108 </tr>
109 <tr>
110 <td class="label">
111 ${type}
112 </td>
113 <td>
114 <select class="dynhover">
115 <option value="1">${role.type.1}</option>
116 <option value="2">${role.type.2}</option>
117 </select>
118 </td>
119 </tr>
120 </table>
121</div>