Skip to content

Commit

Permalink
[views/abstractlist] Add Filter Functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
fschrader1992 committed Apr 7, 2020
1 parent 67a9b1e commit 3013a22
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/views/abstractlist.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,14 @@ <h1><a data-bind="attr: {href: $root.localConferenceLink}">@conference.name</a><
</ul>
</div>

<div class="jumbo-small" data-bind="visible: !$root.selectedAbstract()">
<input id="search" type="text" placeholder="Search abstracts..." data-bind="value:filter, valueUpdate: 'keyup'" >
</div>

<!-- The abstract list -->
<div id="abstract-list" class="list-group" data-bind="foreach: abstracts">
<div class="list-group-item" id="abstract-list-item" data-bind="click: $root.selectAbstract">
<div class="list-group-item" id="abstract-list-item"
data-bind="click: $root.selectAbstract, visible: $parent.isInFiltered($data)">
<div class="abstract">
<div class="sortId" data-bind="html: $parent.makeAbstractID($data)"></div>
<div class="box">
Expand Down

0 comments on commit 3013a22

Please sign in to comment.