blob: 9ed83f1b16f5b0ada11d61fc1f671527e9eb9ec5 [file] [log] [blame]
Valentin Valchev85030562015-01-13 08:23:56 +00001<!--
2<script type="text/javascript" src="${pluginRoot}/res/jsTree.v.0.9.9a/jquery.tree.min.js"></script>
3-->
4<script type="text/javascript" src="${pluginRoot}/res/jstree-3.0.9/jstree.min.js"></script>
Valentin Valcheveddfbc42012-08-21 20:06:24 +00005<script type="text/javascript" src="${pluginRoot}/res/plugin.js"></script>
6<script type="text/javascript">
7// <![CDATA[
8var i18n = {
9 abort : '${abort}',
10 close : '${abort}',
11 add : '${save}',
12 root : '${role.tree.root}',
Valentin Valchev516c8e52014-11-18 08:37:37 +000013 status: '${role.statline}',
14 paswd : '${type.password}'
Valentin Valcheveddfbc42012-08-21 20:06:24 +000015}
16// ]]>
17</script>
18
19<!-- status line -->
20<p class="statline">&nbsp;</p>
21
22<!-- table caption -->
23<form method="post" action="${pluginRoot}">
24 <div class="ui-widget-header ui-corner-top buttonGroup">
25 <button id="newRole">${role.new}</button>
26 <button id="reload">${reload}</button>
27 </div>
28</form>
29
30<table class="nicetable">
31 <tr>
32 <td id="userTree">-</td>
33 <td id="roleDetails">
34 <table class="nicetable ui-helper-hidden">
35 <thead class="ui-widget-header ">
36 <tr>
37 <td class="property-name">${role.key}</td>
38 <td class="property-value">${role.value}</td>
39 <td class="property-type">${type}</td>
40 <td class="actions">${bundles.actions}</td>
41 </tr>
42 </thead>
43 <tfoot class="ui-widget-header">
44 <tr>
45 <td colspan="4">
46 <button id="delRole">${delete}</button>
47 <button id="savRole">${save}</button>
Valentin Valchev85030562015-01-13 08:23:56 +000048 <button id="toggleRequiredRole">${toggleRequired}</button>
Valentin Valcheveddfbc42012-08-21 20:06:24 +000049 </td>
50 </tr>
51 </tfoot>
52 <tbody>
53 <tr class="ui-priority-primary header header-props">
54 <td colspan="4" class="">
55 ${role.properties}
56 <ul class="icons">
57 <li class="dynhover">
58 <span class="ui-icon ui-icon-plus">&nbsp;</span>
59 </li>
60 </ul>
61 </td>
62 </tr>
63 <tr class="ui-priority-primary header header-cred">
64 <td colspan="4">
65 ${role.credentials}
66 <ul class="icons">
67 <li class="dynhover">
68 <span class="ui-icon ui-icon-plus">&nbsp;</span>
69 </li>
70 </ul>
71 </td>
72 </tr>
73 <tr>
74 <td><input class="k" /></td>
75 <td><input class="v" /></td>
76 <td>
Valentin Valchev516c8e52014-11-18 08:37:37 +000077 <select class="dynhover propertyType">
Valentin Valcheveddfbc42012-08-21 20:06:24 +000078 <option value="string">${type.string}</option>
79 <option value="byte[]">${type.bytes}</option>
Valentin Valchev516c8e52014-11-18 08:37:37 +000080 <!--
Valentin Valcheveddfbc42012-08-21 20:06:24 +000081 <option value="password-MD5">${type.password-MD5}</option>
82 <option value="password-SHA1">${type.password-SHA1}</option>
83 <option value="password-SHA256">${type.password-SHA256}</option>
84 <option value="password-SHA512">${type.password-SHA512}</option>
Valentin Valchev516c8e52014-11-18 08:37:37 +000085 -->
Valentin Valcheveddfbc42012-08-21 20:06:24 +000086 </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>