Added Measurements input
This commit is contained in:
parent
ba17d57987
commit
98a86ca6a8
12 changed files with 337 additions and 10 deletions
23
client/General/Measurements/measLogEntry.html
Normal file
23
client/General/Measurements/measLogEntry.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<template name="measLogEntry">
|
||||
<h1>Measurement Log Entry</h1>
|
||||
<label for="selectPart">Select Measurement</label>
|
||||
<select name="selectPart" id="selectPart">
|
||||
<option value="" disabled selected>...</option>
|
||||
{{#each bodyPart}}
|
||||
<option value="{{_id}}">{{measurementName}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
|
||||
{{#if $eq measIdSelected true}}
|
||||
<div class="group">
|
||||
<div>
|
||||
<label>{{measureToLog.measurementName}} ({{measureToLog.measurementUnits}})</label>
|
||||
<input type="number" id="{{measureToLog.measurementName}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<button class="primary savePartMeasure" id="savePartMeasure">Save</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{> snackbar}}
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue