57 lines
1.6 KiB
Handlebars
57 lines
1.6 KiB
Handlebars
<h2>{{genus-name}} - Compare Strains</h2>
|
|
|
|
<div class="span-1">
|
|
<fieldset>
|
|
<form {{action 'search' on='submit'}}>
|
|
<ul>
|
|
<li>
|
|
<label>Strains</label>
|
|
{{
|
|
select-2
|
|
multiple=true
|
|
content=strains
|
|
value=selectedStrains
|
|
optionValuePath="id"
|
|
optionLabelPath="fullNameMU"
|
|
placeholder="Select one or more strains"
|
|
}}
|
|
</li>
|
|
<li>
|
|
<button class="action button-green smaller right" {{action 'selectAllStrains'}}>
|
|
Select All
|
|
</button>
|
|
<button class="action button-red smaller right" {{action 'deselectAllStrains'}}>
|
|
Deselect All
|
|
</button>
|
|
</li>
|
|
<li>
|
|
<label>Characteristics</label>
|
|
{{
|
|
select-2
|
|
multiple=true
|
|
content=characteristics
|
|
value=selectedCharacteristics
|
|
optionValuePath="id"
|
|
optionLabelPath="characteristicName"
|
|
placeholder="Select one or more characteristics"
|
|
}}
|
|
</li>
|
|
<li>
|
|
<button class="action button-green smaller right" {{action 'selectAllCharacteristics'}}>
|
|
Select All
|
|
</button>
|
|
<button class="action button-red smaller right" {{action 'deselectAllCharacteristics'}}>
|
|
Deselect All
|
|
</button>
|
|
</li>
|
|
<li>
|
|
<button type="submit" class="action button-gray smaller right">
|
|
Search
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</form>
|
|
</fieldset>
|
|
</div>
|
|
|
|
{{outlet}}
|