root/trunk/grails-app/views/assay/view.gsp @ 163

Revision 163, 1.1 KB (checked in by m.s.vanvliet@…, 3 years ago)

Formatted Assay Page layout

Line 
1<html>
2<head>
3        <meta name="layout" content="main"/>
4</head>
5
6<body>
7<h1>${assay.name} <small>(${assay.study.token()})</small></h1>
8
9<mm:assayPlatformChooser assay="${assay}" />
10
11<div id="uploadedAssayFiles">
12        <mm:uploadedFileList files="${assayFiles}" dialogProperties="${[title: 'Please choose the uploaded file data type', buttons: ['save', 'close'], assayId: id, controllerName: 'parseConfiguration', actionName: 'data']}"/>
13</div>
14
15%{--${assayFeatures}--}%
16
17<div id=dataVersusFeatures>
18<h2>Data vs. Features</h2>
19<g:each in="${assayFiles}" var="assayFile">
20
21    <table>
22        <thead>
23        <tr>
24            <th>Feature</th>
25            <th>Properties</th>
26        </tr>
27
28        </thead>
29        <tbody>
30
31        <g:each in="${assayFile.dataColumnHeaders}" var="dataColumnHeader">
32            <tr>
33                <td>
34                    ${dataColumnHeader}
35                </td>
36                <td>
37                    ${(dataColumnHeader in assayFeatures.keySet()) ? assayFeatures[dataColumnHeader] : ''}
38                </td>
39            </tr>
40        </g:each>
41
42        </tbody>
43   
44    </table>
45
46</g:each>
47</div>
48</body>
49</html> 
Note: See TracBrowser for help on using the browser.