Last change
on this file since 1281 was
1281,
checked in by t.w.abma@…, 10 years ago
|
- rewrite of the Importer Wizard into an Ajaxflow, added common pages
|
File size:
1.5 KB
|
Line | |
---|
1 | <% |
---|
2 | /** |
---|
3 | * Failed cells template |
---|
4 | * |
---|
5 | * @author Tjeerd Abma |
---|
6 | * @since 20101103 |
---|
7 | * @package importer |
---|
8 | * |
---|
9 | * Revision information: |
---|
10 | * $Rev$ |
---|
11 | * $Author$ |
---|
12 | * $Date$ |
---|
13 | */ |
---|
14 | %> |
---|
15 | <g:if env="production"> |
---|
16 | <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.min.js')}"></script> |
---|
17 | </g:if><g:else> |
---|
18 | <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.js')}"></script> |
---|
19 | </g:else> |
---|
20 | |
---|
21 | <script type="text/javascript"> |
---|
22 | $(document).ready(function() { |
---|
23 | // initialize the ontology chooser |
---|
24 | new OntologyChooser().init(); |
---|
25 | }); |
---|
26 | </script> |
---|
27 | |
---|
28 | <table> |
---|
29 | <tr> |
---|
30 | <th>Column</th><th>Row</th><th>Unknown ontology found</th><th>Corrected ontology</th> |
---|
31 | </tr> |
---|
32 | <g:form name="failedcellsform" action="saveCorrectedCells"> |
---|
33 | <g:each var="item" in="${failedcells}"> <!-- [recordhash, importrecord] --> |
---|
34 | <g:each var="cell" in="${item.value.importcells}"> |
---|
35 | <tr> |
---|
36 | <td>${cell.mappingcolumn.name}</td> |
---|
37 | <td>-</td> |
---|
38 | <td>${cell}</td> |
---|
39 | <td> |
---|
40 | <input type="text" name="cell.index.${cell.getIdentifier()}" rel="ontology-all-name"/> |
---|
41 | <!-- <input type="hidden" name="cell.index.${cell}-concept_id"/> |
---|
42 | <input type="hidden" name="cell.index.${cell}-ontology_id"/> |
---|
43 | <input type="hidden" name="cell.index.${cell}-full_id"/> --> |
---|
44 | </td> |
---|
45 | </tr> |
---|
46 | </g:each> |
---|
47 | </g:each> |
---|
48 | <tr> |
---|
49 | <td colspan="4"> |
---|
50 | <input type="submit" value="Next"> |
---|
51 | </td> |
---|
52 | </tr> |
---|
53 | |
---|
54 | </g:form> |
---|
55 | |
---|
56 | </table> |
---|
57 | |
---|
Note: See
TracBrowser
for help on using the repository browser.