]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/permission/grp_penalty_threshold.tt2
adding initial grp penalty threshold UI
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / permission / grp_penalty_threshold.tt2
1 [% WRAPPER default/base.tt2 %]
2 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/permission/grp_penalty_threshold.js'> </script>
3 <h1>Group Penalty Thresholds</h1><br/>
4
5 <!-- grp, penalty, org_unit, threshold -->
6
7 <div dojoType="dijit.form.DropDownButton">
8     <span>New Group Penalty Threshold</span>
9     <div dojoType="dijit.TooltipDialog" execute="gptCreate(arguments[0]);">
10         <table class='dijitTooltipTable'>
11             <tr>
12                 <td><label for="name">Group: </label></td>
13                 <td>
14                     <input dojoType="" name="name"/>
15                 </td>
16             </tr>
17             <tr>
18                 <td><label for="org_unit">Context Org Unit: </label></td>
19                 <td>
20                     <input dojoType="" name="org_unit"/>
21                 </td>
22             </tr>
23             <tr>
24                 <td><label for="penalty">Penalty: </label></td>
25                 <td>
26                     <select dojoType="" name="penalty"/>
27                 </td>
28             </tr>
29             <tr>
30                 <td><label for="threshold">Threshold: </label></td>
31                 <td><input dojoType="dijit.form.NumberTextBox" name="threshold"/></td>
32             </tr>
33             <tr>
34                 <td colspan='2' align='center'>
35                     <button dojoType='dijit.form.Button' type="submit">Create</button>
36                 </td>
37             </tr>
38         </table>
39     </div>
40 </div> 
41
42 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
43     <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
44         <table jsId="gptGrid" dojoType="dojox.grid.DataGrid" query="{id: '*'}" rowSelector='20px'>
45             <thead>
46                 <tr>
47                     <th field="id">ID</th>
48                     <th field="grp" width='auto'>Group</th>
49                     <th field="org_unit" width='auto'>Context Org Unit</th>
50                     <th field="penalty" width='auto'>Penalty</th>
51                     <th field="threshold" width='auto'>threshold</th>
52                 </tr>
53             </thead>
54         </table>    
55     </div>
56 </div>
57
58 [% END %]
59
60