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

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

fixed bug where preview of small export would fail; changed assay excel export to CSV because of excel limitations; ajaxGetAssays correctly handles case of no available studies; RelTime? is output as human readable string in export; units are displayed in header of export; submit button is disabled when no assays are available; added instructions to assay export

  • Property svn:keywords set to Rev Author Date
File size: 1.8 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 Excel 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      <g:submitButton name="submit" value="Submit"/>
61
62    </g:form>
63
64  </div>
65  </body>
66</html>
Note: See TracBrowser for help on using the repository browser.