ENH: Species and counts (#44)

Fixes #31
This commit is contained in:
Matthew Ryan Dillon 2017-11-19 17:15:47 -07:00 committed by GitHub
parent 93d70d3c95
commit bfae4422f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 78 additions and 17 deletions

View file

@ -5,8 +5,10 @@
)}}
{{else}}
{{ccdb-pagination model=model changePage=(action (optional changePage))}}
{{#light-table table tableClassNames="table table-striped" as |t|}}
{{t.head}}
{{t.body onRowClick=(action (optional onRowClick))}}
{{/light-table}}
<div class="table-responsive">
{{#light-table table tableClassNames="table table-striped" as |t|}}
{{t.head}}
{{t.body onRowClick=(action (optional onRowClick))}}
{{/light-table}}
</div>
{{/if}}

View file

@ -95,7 +95,7 @@
</div>
<div class="row">
<div class="col-md-6">
<div class="col-md-4">
<label>Start Date</label>
{{
pikaday-input
@ -106,7 +106,7 @@
class='form-control'
}}
</div>
<div class="col-md-6">
<div class="col-md-4">
<label>End Date</label>
{{
pikaday-input
@ -117,6 +117,18 @@
class='form-control'
}}
</div>
<div class="col-md-4">
<label>Species</label>
{{#power-select-multiple
options=options.species
selected=filters.species
onchange=(action (mut filters.species))
searchField='commonName'
as |species|
}}
{{species.commonName}}
{{/power-select-multiple}}
</div>
</div>
<div class="row top-buffer">