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

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

removed obsolete UI references to Excel. Fixed study data numbers not being able to print as european numbers.

  • Property svn:keywords set to Rev Author Date
File size: 2.1 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    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).
43
44    <g:form name="fieldSelectForm" action="assayExport">
45
46      <g:set var="catNum" value="${0}"/>
47      <g:each in="${fieldMap}" var="entry">
48
49          <assayExporter:categorySelector category="${entry.key}" ref="cat_${catNum}"/>
50
51          <assayExporter:fieldSelectors ref="cat_${catNum}" fields="${entry.value}"/>
52
53          <g:set var="catNum" value="${catNum + 1}"/>
54
55      </g:each>
56
57      <assayExporter:categorySelector category="Measurements" ref="cat_${catNum}"/>
58      <g:select name="measurementToken" id="measurementToken" from="${measurementTokens}" value="${measurementTokens}" class="field" multiple="true" />
59      <br /><br />
60
61      <h1>Select type of resulting file</h1>
62      <g:radioGroup name="exportFileType" labels="['Tab delimited (.txt)', 'Comma Separated: USA/UK (.csv)', 'Semicolon Separated: European (.csv)']" values="[1,2,3]" value="1" >
63        <p>${it.radio} ${it.label}</p>
64      </g:radioGroup>
65      <g:submitButton name="submit" value="Submit"/>
66
67    </g:form>
68
69  </div>
70  </body>
71</html>
Note: See TracBrowser for help on using the repository browser.