source: main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterimport3page.pt @ 11008

Last change on this file since 11008 was 11008, checked in by Henrik Bettermann, 11 years ago

Set flash types.

Finalize datacenter adjustments.

File size: 2.5 KB
Line 
1<div i18n:domain="waeup.kofa" i18n:translate=""
2  class="alert alert-success" tal:condition="not: view/getWarnings">
3  Header fields OK
4</div>
5
6<h3 i18n:domain="waeup.kofa" i18n:translate="">Step 3</h3>
7<form i18n:domain="waeup.kofa">
8  <p i18n:translate="">
9    Eventually modify headerfields of import file below.
10  </p>
11  <p>
12    <b i18n:translate="">File:</b>
13    <span tal:content="view/filename">Filename.csv</span>
14    <input type="hidden" name="filename"
15     tal:attributes="value view/filename" />
16  </p>
17  <p>
18    <b i18n:translate="">Processor:</b>
19    <span tal:content="view/importer/name">Importer Name</span>
20    <input type="hidden" name="importer"
21     tal:attributes="value view/importer/util_name" />
22  </p>
23  <p>
24    <b i18n:translate="">Processing mode: </b>
25    <span tal:content="view/mode">mode</span>
26    <input type="hidden" name="mode"
27     tal:attributes="value view/mode" />
28  </p>
29
30  <div>
31    <table tal:define="prev_table view/getPreviewTable;
32                       headers view/headerfields;"
33            class="table">
34      <thead>
35        <tr>
36          <th i18n:translate="">Header</th>
37          <th i18n:translate="">change to</th>
38          <th i18n:translate="">Sample Record</th>
39        </tr>
40      </thead>
41      <tbody>
42        <tr tal:repeat="row prev_table">
43          <td tal:content="python:headers[row[0]]"> value
44          </td>
45          <td>
46            <select name="headerfield">
47              <option tal:repeat="opt view/getPossibleHeaders"
48                tal:attributes="value opt/value;
49                  selected python: opt['value']==headers[row[0]] and 'selected' or '';"
50                tal:content="opt/title">
51                new_header_name
52              </option>
53            </select>
54          </td>
55          <td tal:repeat="value python:row[1:]"
56              tal:content="value"> value
57          </td>
58        </tr>
59      </tbody>
60    </table>
61  </div>
62
63  <input class="btn btn-default" type="submit" name="cancel"
64    tal:attributes="value view/cancel_button" />
65  <input class="btn btn-default" type="reset" name="reset"
66    tal:attributes="value view/reset_button" />
67  <input class="btn btn-default" type="submit" name="update"
68    tal:attributes="value view/update_button" />
69  <br /><br />
70  <input class="btn btn-danger" type="submit" name="back2"
71    tal:attributes="value view/back_button" />
72  <input class="btn btn-primary"
73    tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''; value view/proceed_button"
74    type="submit" name="proceed"/>
75</form>
Note: See TracBrowser for help on using the repository browser.