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