Implemented "goto subscription".

TODO:
 * Neither navigation with arrows nor selection with ENTER implemented,
   must click a subscription.
This commit is contained in:
Risto Kankkunen
2013-05-27 21:32:19 +03:00
parent 4e7bcd004d
commit 2ba050a167
5 changed files with 83 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
<div class="container-fluid">
<div class="container-fluid" ng-controller="FeedCtrl">
<div class="row-fluid">
<div class="span2 left-menu">
<div class="sidebar-nav-fixed" mousewheel-scrolling>
@@ -13,5 +13,36 @@
</div>
</div>
</div>
<div
modal="feedSearchModal"
close="feedSearchModal=false"
options="{dialogClass: 'modal item-filter-dialog'}"
>
<div class="modal-header">
<button
type="button"
class="close"
ng-click="feedSearchModal=false"
>&times;</button>
<h4><input
ng-model="feedFilter"
style="width: 90%"
placeholder="${feedsearch.hint}"
autofocus=""
></h4>
<small>${feedsearch.help}</small>
</div>
<div class="modal-body">
<strong>${feedsearch.result_prefix}</strong>
<span ng-repeat="feed in CategoryService.feeds | filter:feedFilter | limitTo:40">
<a
style="font-size: large; margin: 10px;"
ng-click="goToFeed(feed.id)"
>
<favicon url="feed.iconUrl" />&nbsp;{{feed.name}}
</a> &bull;
</span>
</div>
</div>
<div ng-include="'templates/_footer.html'"></div>
</div>