improve view of filters
This commit is contained in:
parent
22da76e932
commit
6a50a4d965
2 changed files with 10 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-10">
|
||||
|
||||
Search: <input ng-model="query2">
|
||||
Search: <input ng-model="query">
|
||||
Sort by:
|
||||
<select ng-model="orderProp">
|
||||
<option value="title">Alphabetical</option>
|
||||
|
@ -10,10 +10,13 @@
|
|||
</select>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
|
||||
<ul class="events">
|
||||
<li ng-repeat="event in events | filter:query2 | orderBy:orderProp">
|
||||
<li ng-repeat="event in events | filter:query | orderBy:orderProp">
|
||||
<span>{{event.title}}</span>
|
||||
<p>{{event['begin-datetime']}}</p>
|
||||
</li>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-10">
|
||||
|
||||
Search: <input ng-model="query">
|
||||
Sort by:
|
||||
|
@ -10,6 +10,9 @@
|
|||
</select>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
|
||||
<ul class="persons">
|
||||
|
|
Loading…
Reference in a new issue