1 [% WRAPPER 'default/base.tt2' %]
2 <div id='oils-acq-list-header' class='container'>
3 <div id='oils-acq-list-header-label'>Currency Types</div>
6 <!-- load the page-specific JS -->
7 <script src='[% ctx.media_prefix %]/js/ui/default/acq/financial/list_currency_types.js'> </script>
9 <div class='oils-acq-actions-div'>
10 <div dojoType="dijit.form.DropDownButton">
11 <!-- TODO: add perm and disable button if necessary XXX -->
12 <span>New Currency Type</span>
13 <div dojoType="dijit.TooltipDialog" execute="createCT(arguments[0]);">
14 <table class='dijitTooltipTable'>
16 <td><label for="label">Label: </label></td>
17 <td><input dojoType="dijit.form.TextBox" name="label"/></td>
20 <td><label for="code">Code: </label></td>
21 <td><input dojoType="dijit.form.TextBox" name="code"/></td>
24 <td colspan='2' align='center'>
25 <button dojoType=dijit.form.Button type="submit">Create</button>
32 <button dojoType="dijit.form.Button" onclick="deleteSelectedCT()">
37 <!-- The main grid lives here -->
39 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
40 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
41 <table jsId="currencyTypeListGrid" dojoType="dojox.grid.DataGrid" query="{code: '*'}" rowSelector='20px'>
44 <th field="code">Code</th>
45 <th field="label" width='auto'>Label</th>