Just changes.
This commit is contained in:
parent
5ba618f471
commit
8bd3fb1853
8 changed files with 214 additions and 13 deletions
|
|
@ -1,4 +1,55 @@
|
|||
<template name="locations">
|
||||
<h1>Locations</h1>
|
||||
|
||||
<p>You can build out your storage structure heere. Setting a location as a 'child' will prompt you to select the 'parent' location.</p>
|
||||
<hr>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<label for="lcationName">Location Name *</label>
|
||||
<input type="text" class="locationName" id="locationName" required />
|
||||
</div>
|
||||
<div>
|
||||
<label for="locationDesc">Description</label>
|
||||
<input type="text" class="locationDesc" id="locationDesc" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<label for="locationType">Location Type *</label>
|
||||
<select name="locationType" id="locationType" class="locationType">
|
||||
<option value="" disabled selected>Choose...</option>
|
||||
{{#each locTypes}}
|
||||
<option value="{{locationTypeName}} | {{_id}}">{{locationTypeName}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<label for="locationIsChild">
|
||||
<input type="checkbox" class="locationIsChild" id="locationIsChild">
|
||||
Child Location
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid">
|
||||
{{#if $eq isChild true}}
|
||||
<div>
|
||||
<label for="parentLocation">Parent Location *</label>
|
||||
<select name="parentLocation" id="parentLocation" required>
|
||||
<option value="" disabled selected>Choose...</option>
|
||||
{{#each locations}}
|
||||
<option value="{{locationNmae}} | {{_id}}">{{locationName}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<button class="primary saveLocation right" id="saveLocation">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
{{> locationInfo}}
|
||||
{{> snackbar}}
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue