basic circ/hold matrix config ui
[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>
4     dojo.require('dijit.layout.ContentPane');
5     dojo.require('dijit.form.Button');
6     dojo.require('openils.widget.AutoGrid');
7     openils.Util.addOnLoad(
8         function(){
9             cmGrid.loadAll({order_by:{ccmm:'circ_modifier'}});
10         }
11     );
12 </script>
13 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
14     <div>Circulation Policy Configuration</div>
15     <div><button dojoType='dijit.form.Button' onClick='cmGrid.showCreatePane()'>New</button></div>
16 </div>
17 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
18     <table  jsId="cmGrid" 
19             dojoType="openils.widget.AutoGrid" 
20             fieldOrder="['id', 'active', 'org_unit', 'grp', 'circ_modifier', 'marc_type', 'marc_form', 'marc_vr_format']"
21             defaultCellWidth='12'
22             query="{id: '*'}" 
23             fmClass='ccmm' 
24             editStyle='pane'
25             editOnEnter='true'>
26     </table>
27 </div>
28 [% END %]