This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/protected/compare/select-form/template.hbs

53 lines
1.6 KiB
Handlebars

<div class="span-1">
<fieldset>
<form {{action 'search' on='submit'}}>
<ul>
<li>
<label>Strains</label>
{{
x-select
listItems=strains
nameAttr="fullNameMU"
update=(action "updateStrainSelection")
placeholder="Select one ore more strains"
multiple=true
selected=selectedStrains
}}
</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>
{{
x-select
listItems=characteristics
nameAttr="characteristicName"
update=(action "updateCharacteristicSelection")
placeholder="Select one ore more characteristics"
multiple=true
selected=selectedCharacteristics
}}
</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>