source: trunk/grails-app/views/assay/assayExport/selectFields.gsp @ 1864

Last change on this file since 1864 was 1864, checked in by s.h.sikkema@…, 9 years ago

in exporter: module error display improvements (ie. display on screen but still able to export); removed changes to simplewizard; removed unnecessary imports; should handle 'null' parent subject from samples correctly; should handle non number values from modules correctly; deselects module measurements in case of module error/no measurements; removed obsolete entry in topnav

  • Property svn:keywords set to Rev Author Date
File size: 2.3 KB
Line 
1<%--
2  Created by IntelliJ IDEA.
3  User: siemensikkema
4  Date: 2/3/11
5  Time: 1:29 PM
6--%>
7
8<%@ page contentType="text/html;charset=UTF-8" %>
9<html>
10<head>
11  <meta name="layout" content="main" />
12  <title>Select assay fields</title>
13  <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.js', plugin: 'gdt')}"></script>
14  <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.min.js', plugin: 'gdt')}"></script>
15  <link rel="stylesheet" href="${resource(dir: 'css', file: 'templates.css')}"/>
16
17  <style type="text/css">
18    .category{
19      margin-left: 5px;
20    }
21
22    .field{
23      margin-left: 20px;
24    }
25
26    .element .helpIcon{
27      margin-top: 0;
28    }
29  </style>
30
31  <script type="text/javascript">
32    $(document).ready(function() {
33      attachHelpTooltips();
34    })
35  </script>
36</head>
37  <body>
38  <div>
39
40    <h1>Select the columns that you want to be included in the resulting file</h1>
41
42    <g:if test="${errorMessage}">
43    <div class="errormessage">${errorMessage}</div>
44    </g:if>
45
46    In this step you can make a selection from the available fields stored in the database related to the samples, including measurement data from a module (if available).
47
48    <g:form name="fieldSelectForm" action="assayExport">
49
50      <g:set var="catNum" value="${0}"/>
51      <g:each in="${fieldMap}" var="entry">
52
53          <assayExporter:categorySelector category="${entry.key}" name="cat_${catNum}" value="${true}" />
54
55          <assayExporter:fieldSelectors ref="cat_${catNum}" fields="${entry.value}"/>
56
57          <g:set var="catNum" value="${catNum + 1}"/>
58
59      </g:each>
60
61      <assayExporter:categorySelector category="Measurements" name="cat_${catNum}" value="${measurementTokens as Boolean}" />
62      <g:select name="measurementToken" id="measurementToken" from="${measurementTokens}" value="${measurementTokens}" class="field" multiple="true" />
63      <br /><br />
64
65      <h1>Select type of resulting file</h1>
66      <g:radioGroup name="exportFileType" labels="['Tab delimited (.txt)', 'Comma Separated: USA/UK (.csv)', 'Semicolon Separated: European (.csv)']" values="[1,2,3]" value="1" >
67        <p>${it.radio} ${it.label}</p>
68      </g:radioGroup>
69      <g:submitButton name="submit" value="Submit"/>
70
71    </g:form>
72
73  </div>
74  </body>
75</html>
Note: See TracBrowser for help on using the repository browser.