initial merge/overlay profile editor ui
[working/Evergreen.git] / Open-ILS / web / templates / default / vandelay / inc / matches.tt2
1 <script>
2     var vlMatchGridLayout;
3     function resetVlMatchGridLayout() {
4         vlMatchGridLayout = [{
5             defaultCell: {styles: 'text-align: center;'},
6             cells : [[
7                 {
8                     name: '&vandelay.overlay.target;', 
9                     get: vlGetOverlayTargetSelector,
10                     formatter : vlFormatOverlayTargetSelector,
11                     /*
12                     value: '&lt;input type="checkbox" name="vl-overlay-target-RECID" '+
13                         'onclick="vlHandleOverlayTargetSelected(ID, GRIDID);" gridid="GRIDID" match="ID"/>'
14                         */
15                 },
16                 {name:'&vandelay.source.match.point;', field:'src_matchpoint'},
17                 {name:'&vandelay.dest.match.point;', field:'dest_matchpoint'},
18                 {name: '&vandelay.id;', field:'id'},
19                 {   name: '&vandelay.view.marc;', 
20                     get: vlGetViewMARC, 
21                     formatter : vlFormatViewMatchMARC
22                 },
23                 {name: '&vandelay.creator;', get: vlGetCreator},
24                 {name: '&vandelay.create.date;', field:'create_date', get: vlGetDateTimeField},
25                 {name: '&vandelay.last.edit.date;', field:'edit_date', get: vlGetDateTimeField},
26                 {name: '&vandelay.source;', field:'source'},
27                 {name: '&vandelay.tcn.source;', field:'tcn_source'},
28                 {name: '&vandelay.tcn.value;', field:'tcn_value'}
29             ]]
30         }];
31     }
32 </script>
33 <h1>&vandelay.import.matches;</h1><br/>
34
35 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
36     <button dojoType='dijit.form.Button' 
37         onclick="displayGlobalDiv('vl-queue-div');">&#x2196; &vandelay.back.to.import.queue;</button>
38 </div>
39
40 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
41     <table dojoType='dojox.grid.DataGrid' jsId='vlMatchGrid' query='{id:"*"}' autoHeight='true'> 
42     </table>
43 </div>
44