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="container-fluid">
|
||||||
<div class="row">
|
<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:
|
Sort by:
|
||||||
<select ng-model="orderProp">
|
<select ng-model="orderProp">
|
||||||
<option value="title">Alphabetical</option>
|
<option value="title">Alphabetical</option>
|
||||||
|
@ -10,10 +10,13 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
|
|
||||||
<ul class="events">
|
<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>
|
<span>{{event.title}}</span>
|
||||||
<p>{{event['begin-datetime']}}</p>
|
<p>{{event['begin-datetime']}}</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-2">
|
<div class="col-md-10">
|
||||||
|
|
||||||
Search: <input ng-model="query">
|
Search: <input ng-model="query">
|
||||||
Sort by:
|
Sort by:
|
||||||
|
@ -10,6 +10,9 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
|
|
||||||
<ul class="persons">
|
<ul class="persons">
|
||||||
|
|
Loading…
Reference in a new issue