aboutsummaryrefslogtreecommitdiff
path: root/src/web/js/components
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2016-02-02 21:20:19 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-02-02 21:20:19 +0100
commiteb0b485e6bfbf7bba832c83ea96e43c004182aa9 (patch)
tree74962beb8018d0cf0b589f46907cd1afa1ee0ab1 /src/web/js/components
parentenhancement: ordering categories and hidding empty 'no category' category (diff)
downloadnewspipe-eb0b485e6bfbf7bba832c83ea96e43c004182aa9.tar.gz
newspipe-eb0b485e6bfbf7bba832c83ea96e43c004182aa9.tar.bz2
newspipe-eb0b485e6bfbf7bba832c83ea96e43c004182aa9.zip
readding feeds menu
Diffstat (limited to 'src/web/js/components')
-rw-r--r--src/web/js/components/Navbar.react.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/web/js/components/Navbar.react.js b/src/web/js/components/Navbar.react.js
index 295b4bb6..4e246977 100644
--- a/src/web/js/components/Navbar.react.js
+++ b/src/web/js/components/Navbar.react.js
@@ -73,9 +73,6 @@ JarrNavBar = React.createClass({
this.setState({showModal: true, modalType: 'addCategory'});
},
render: function() {
- var gl_title = (<span>
- <Glyphicon glyph="plus-sign" />Add a new feed
- </span>);
return (<Navbar fixedTop inverse id="jarrnav">
{this.getModel()}
<Navbar.Header>
@@ -94,6 +91,17 @@ JarrNavBar = React.createClass({
onClick={this.openAddCategory} href="#">
<Glyphicon glyph="plus-sign" />Add a new category
</NavItem>
+ <NavDropdown title="Feed" id="feed-dropdown">
+ <MenuItem href="/feeds/inactives">
+ Inactives
+ </MenuItem>
+ <MenuItem href="/articles/history">
+ History
+ </MenuItem>
+ <MenuItem href="/feeds/">
+ All
+ </MenuItem>
+ </NavDropdown>
{this.buttonAdmin()}
<NavDropdown title={<Glyphicon glyph='user' />}
id="user-dropdown">
bgstack15