From 09a859501fc1fb1f4f781cfdd448f359b7ef4983 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Mon, 30 Jan 2017 18:43:29 -0800 Subject: add back in starred functionality, fix login page --- static/login.html | 6 ------ static/ui.js | 8 +++----- 2 files changed, 3 insertions(+), 11 deletions(-) (limited to 'static') diff --git a/static/login.html b/static/login.html index d97c831..ab3e781 100644 --- a/static/login.html +++ b/static/login.html @@ -3,11 +3,6 @@ neko rss mode - - - - - @@ -19,7 +14,6 @@

password

- diff --git a/static/ui.js b/static/ui.js index 96e285d..6f44db0 100644 --- a/static/ui.js +++ b/static/ui.js @@ -224,9 +224,6 @@ var ItemCollection = Backbone.Collection.extend({ App.loading = true; url = '/stream/'; - if(App.get('starredFilter')) { - url = url + 'starred/'; - } if(App.tag != undefined) { url = url + 'tag/' + App.tag + '/'; } @@ -234,11 +231,12 @@ var ItemCollection = Backbone.Collection.extend({ if(App.get('searchFilter')) { url = url + '&q=' + App.get('searchFilter'); } - if(App.get('feedFilter')) { url = url + '&feed_url=' + App.get('feedFilter').get('url'); } - + if(App.get('starredFilter')) { + url = url + '&starred=1'; + } if(App.items.last()) { url = url + '&max_id=' + App.items.last().get('_id'); } -- cgit v1.2.3