add pcrud controller for ccmcmtm and ccmcmt
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / config / circ_matrix_matchpoint.tt2
1 [% ctc.page_title = 'Circulation Policy Configuration' %]
2 [% WRAPPER default/base.tt2 %]
3 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/circ_matrix_matchpoint.js'> </script>
4 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
5     <div>Circulation Policy Configuration</div>
6     <div><button dojoType='dijit.form.Button' onClick='cmGrid.showCreatePane()'>New</button></div>
7 </div>
8 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
9     <table  jsId="cmGrid"
10             autoHeight='true'
11             dojoType="openils.widget.AutoGrid"
12             fieldOrder="['org_unit', 'active', 'grp', 'circ_modifier', 'marc_type', 'marc_form', 'marc_vr_format']"
13             suppressFields="['circulate', 'duration_rule', 'max_fine_rule', 'recurring_fine_rule', 'script_test']"
14             defaultCellWidth='"auto"'
15             query="{id: '*'}"
16             fmClass='ccmm'
17             editStyle='pane'
18             editOnEnter='true'
19             showColumnPicker='true'
20             columnPickerPrefix='"conify.config.circ_matrix_matchpoint"'>
21     </table>
22 </div>
23
24 <div class='hidden'>
25     <div id='circ-mod-editor' style='border:1px solid #aaa'>
26         <h3>Circ Modifier Count Groups</h3>
27         <table class='oils-generic-table' name='circ-mod-group-table'>
28             <tbody><tr>
29                 <td>Total items out</td>
30                 <td><input type='text' size='3' name='circ-mod-count'></div></td>
31             </tr><tbody>
32             <tbody name='circ-mod-entry-tbody'>
33                 <tr name='circ-mod-entry-row'>
34                     <td name='circ-mod'/>
35                     <td><a name='remove-circ-mod' href='javascript:void(0);'>Remove</a></td>
36                 </tr>
37             </tbody>
38             <tbody>
39                 <tr>
40                     <td><div name='circ-mod-selector'></div></td>
41                     <td><a href='javascript:void(0);' name='add-circ-mod'>Add</a></td>
42                 </tr>
43             </tbody>
44         </table>
45         <span name='add-circ-mod-group-span'>
46         <a href='javascript:void(0);' name='add-circ-mod-group'>Create New Group</a>
47         </span>&nbsp;&nbsp;<span>
48         <a href='javascript:void(0);' onclick='applyCircModChanges()'>Apply Circ Modifier Changes</a>
49         </span>
50     </div>
51 </div>
52
53 <div class='hidden'><div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/></div>
54
55 [% END %]
56