Skip to content

Commit c50bd49

Browse files
committed
Update serviceReport.gsp
1 parent 0cd4da9 commit c50bd49

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

pegr/grails-app/views/admin/serviceReport.gsp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@
99
<g:form action="serviceReport">
1010
<label>Sequence Runs: </label>
1111
From
12-
<input name="fromId" value="${fromId}">
12+
<input name="fromId" value="${fromId}" placeholder="Starting Run ID">
1313
To
14-
<input name="toId" value="${toId}">
15-
<label>Source (optional)</label>
16-
<input name="source" value="${source}">
14+
<input name="toId" value="${toId}" placeholder="Ending Run ID">
1715
<input type="submit" name="submit" value="Query" class="btn btn-primary">
1816
</g:form>
1917
<div>
2018
<g:if test="${samples_per_run && samples_per_run.size()}">
21-
<h4>Total samples: ${sample_count[0].total_sample_count}</h4>
22-
<h4>Average samples per sequence run: ${avg_samples_per_run[0].average_sample_per_run}</h4>
19+
<h4>Total samples: ${sample_count[0].total_sample_count}</h4>
20+
21+
<h4>Average samples per sequence run: <g:formatNumber number="${avg_samples_per_run[0].average_sample_per_run}" type="number" maxFractionDigits="1" /></h4>
2322
<h4>Samples per sequence run:</h4>
2423
<table class="table table-bordered">
2524
<thead>

0 commit comments

Comments
 (0)