grid height/width fixes
[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">
18     <table  jsId="cmGrid" 
19             autoHeight='true'
20             dojoType="openils.widget.AutoGrid" 
21             fieldOrder="['id', 'active', 'org_unit', 'grp', 'circ_modifier', 'marc_type', 'marc_form', 'marc_vr_format']"
22             suppressFields="['circulate', 'duration_rule', 'max_fine_rule', 'recurring_fine_rule', 'script_test']"
23             defaultCellWidth='"auto"'
24             query="{id: '*'}" 
25             fmClass='ccmm' 
26             editStyle='pane'
27             editOnEnter='true'>
28     </table>
29     <div/>
30 </div>
31 [% END %]