Last change
on this file since 12 was
12,
checked in by robert@…, 9 years ago
|
Implemented basic exporting functionality
|
File size:
1.3 KB
|
Line | |
---|
1 | <html> |
---|
2 | <head> |
---|
3 | <meta name="layout" content="main" /> |
---|
4 | <title>List assays | Metagenomics | dbNP</title> |
---|
5 | </head> |
---|
6 | <body> |
---|
7 | <h1>List of metagenomics assays</h1> |
---|
8 | <g:if test="${studies.size() == 0}"> |
---|
9 | <p> |
---|
10 | Currently there are no studies available in the database. Please use <a href="${gscfAddUrl}">GSCF</a> to add new studies. |
---|
11 | </p> |
---|
12 | </g:if> |
---|
13 | <g:else> |
---|
14 | <table class="paginate"> |
---|
15 | <thead> |
---|
16 | <tr> |
---|
17 | <th>Assay</th> |
---|
18 | <th>Study</th> |
---|
19 | <th># samples</th> |
---|
20 | <th>avg sequences / sample</th> |
---|
21 | </tr> |
---|
22 | </thead> |
---|
23 | <tbody> |
---|
24 | <g:each in="${studies}" var="study"> |
---|
25 | <g:if test="${study.assays != null && study.assays.size() > 0}"> |
---|
26 | <g:each in="${study.assays}" var="assay"> |
---|
27 | <tr> |
---|
28 | <td><g:link controller="assay" action="show" id="${assay.id}">${assay.name}</g:link></td> |
---|
29 | <td><a href="${study.viewUrl()}">${study.name}</a></td> |
---|
30 | <td>${assay.assaySamples?.size()}</td> |
---|
31 | <td> |
---|
32 | <g:if test="${assay.assaySamples?.size()}"> |
---|
33 | <g:formatNumber number="${assay.numSequences() / assay.assaySamples?.size()}" format="0"/> |
---|
34 | </g:if> |
---|
35 | <g:else> |
---|
36 | - |
---|
37 | </g:else> |
---|
38 | </td> |
---|
39 | </tr> |
---|
40 | </g:each> |
---|
41 | </g:if> |
---|
42 | </g:each> |
---|
43 | </tbody> |
---|
44 | </table> |
---|
45 | </g:else> |
---|
46 | </body> |
---|
47 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.