Roughing in measurements
This commit is contained in:
parent
ced3f7d2d2
commit
4f96f4dc07
13 changed files with 109 additions and 2 deletions
1
app/templates/measurements.hbs
Normal file
1
app/templates/measurements.hbs
Normal file
|
@ -0,0 +1 @@
|
|||
{{outlet}}
|
28
app/templates/measurements/index.hbs
Normal file
28
app/templates/measurements/index.hbs
Normal file
|
@ -0,0 +1,28 @@
|
|||
<table class="flakes-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Characteristic</th>
|
||||
<th>Text Meas. Type</th>
|
||||
<th>Text Value</th>
|
||||
<th>Num. Value</th>
|
||||
<th>Confidence Int.</th>
|
||||
<th>Unit</th>
|
||||
<th>Notes</th>
|
||||
<th>Test Method</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each measurement in model}}
|
||||
<tr>
|
||||
<td>{{measurement.characteristic}}</td>
|
||||
<td>{{measurement.textMeasurementType}}</td>
|
||||
<td>{{measurement.txtValue}}</td>
|
||||
<td>{{measurement.numValue}}</td>
|
||||
<td>{{measurement.confidenceInterval}}</td>
|
||||
<td>{{measurement.unitType}}</td>
|
||||
<td>{{measurement.notes}}</td>
|
||||
<td>{{measurement.testMethod}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
|
@ -11,7 +11,7 @@
|
|||
<tbody>
|
||||
{{#each strain in model}}
|
||||
<tr>
|
||||
<td>{{link-to strain.strainName 'strains.show' strain}}</td>
|
||||
<td>{{link-to strain.strainName 'measurements' strain}}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
|
|
|
@ -38,3 +38,6 @@
|
|||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div class="measurements-container">
|
||||
{{outlet}}
|
||||
</div>
|
||||
|
|
Reference in a new issue