]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/config/standing_penalty.tt2
can't reference a JS object that isn't there
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / config / standing_penalty.tt2
1 [% WRAPPER default/base.tt2 %]
2 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/standing_penalty.js'> </script>
3 <style>
4     @import "[% ctx.media_prefix %]/js/dojo/dojox/form/resources/CheckedMultiSelect.css";
5 </style>
6 <h1>Standing Penalty Types</h1><br/>
7
8 <div dojoType="dijit.form.DropDownButton">
9     <span>New Standing Penalty</span>
10     <div dojoType="dijit.TooltipDialog" execute="spCreate(arguments[0]);">
11         <table class='dijitTooltipTable'>
12             <tr>
13                 <td><label for="name">Code: </label></td>
14                 <td><input dojoType="dijit.form.TextBox" name="name"/></td>
15             </tr>
16             <tr>
17                 <td><label for="label">Label: </label></td>
18                 <td><input dojoType="dijit.form.TextBox" name="label"/></td>
19             </tr>
20             <tr>
21                 <td><label for="block_list">Blocked Actions: </label></td>
22                 <td>
23                     <select style='overflow-y:auto;' multiple='true' dojoType="dojox.form.CheckedMultiSelect" name="block_list">
24                         <option value='CIRC'>CIRC</option>
25                         <option value='RENEW'>RENEW</option>
26                         <option value='HOLD'>HOLD</option>
27                     </select>
28                 </td>
29             </tr>
30             <tr>
31                 <td colspan='2' align='center'>
32                     <button dojoType='dijit.form.Button' type="submit">Create</button>
33                 </td>
34             </tr>
35         </table>
36     </div>
37 </div> 
38
39 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
40     <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
41         <table jsId="spGrid" dojoType="dojox.grid.DataGrid" query="{id: '*'}" rowSelector='20px'>
42             <thead>
43                 <tr>
44                     <th field="id">ID</th>
45                     <th field="name" width='auto'>Name</th>
46                     <th field="label" width='auto'>Label</th>
47                     <th field="block_list" width='auto'>Block List</th>
48                 </tr>
49             </thead>
50         </table>    
51     </div>
52 </div>
53
54 [% END %]
55
56