Last change
on this file since 1093 was
1093,
checked in by t.w.abma@…, 12 years ago
|
- failed cells correction now implemented in an extra step which allows the user to specify a corrected ontology value
|
File size:
1.6 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="record" in="${failedcells}"> |
---|
34 | <g:each var="list" in="${record}"> |
---|
35 | <g:each var="cell" in="${list}"> |
---|
36 | <tr> |
---|
37 | <td>${cell.value.name}</td> |
---|
38 | <td>-</td> |
---|
39 | <td>${cell.value.value}</td> |
---|
40 | <td> |
---|
41 | <input type="text" name="cell.index.${cell.hashCode()}" rel="ontology-all-name"/> |
---|
42 | <!-- <input type="hidden" name="cell.index.${cell.value}-concept_id"/> |
---|
43 | <input type="hidden" name="cell.index.${cell.value}-ontology_id"/> |
---|
44 | <input type="hidden" name="cell.index.${cell.value}-full_id"/> --> |
---|
45 | </td> |
---|
46 | </tr> |
---|
47 | </g:each> |
---|
48 | </g:each> |
---|
49 | </g:each> |
---|
50 | <tr> |
---|
51 | <td colspan="4"> |
---|
52 | <input type="submit" value="Accept changes"> |
---|
53 | </td> |
---|
54 | </tr> |
---|
55 | |
---|
56 | </g:form> |
---|
57 | |
---|
58 | </table> |
---|
59 | |
---|
Note: See
TracBrowser
for help on using the repository browser.