aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-03-02 07:30:51 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-03-02 07:30:51 +0100
commita881023f128f0a0903cb46e298115083b4c427f9 (patch)
treeeddd6e4ff4b7b179ac7dd0b99a4f5a8400001ca0 /src
parentreplace g.user by current_user (diff)
downloadnewspipe-a881023f128f0a0903cb46e298115083b4c427f9.tar.gz
newspipe-a881023f128f0a0903cb46e298115083b4c427f9.tar.bz2
newspipe-a881023f128f0a0903cb46e298115083b4c427f9.zip
minor update to the navbar
Diffstat (limited to 'src')
-rw-r--r--src/web/js/components/Navbar.react.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/web/js/components/Navbar.react.js b/src/web/js/components/Navbar.react.js
index 08716977..a5dedcf9 100644
--- a/src/web/js/components/Navbar.react.js
+++ b/src/web/js/components/Navbar.react.js
@@ -70,7 +70,7 @@ JarrNavBar = React.createClass({
this.setState({showModal: true, modalType: 'addCategory'});
},
render: function() {
- return (<Navbar fixedTop inverse id="jarrnav">
+ return (<Navbar fixedTop inverse id="jarrnav" fluid staticTop={true}>
{this.getModal()}
<Navbar.Header>
<Navbar.Brand>
@@ -78,6 +78,7 @@ JarrNavBar = React.createClass({
</Navbar.Brand>
<Navbar.Toggle />
</Navbar.Header>
+ <Navbar.Collapse>
<Nav pullRight>
{this.buttonFetch()}
<NavItem className="jarrnavitem"
@@ -104,9 +105,6 @@ JarrNavBar = React.createClass({
<MenuItem href="/user/profile">
<Glyphicon glyph="user" />Profile
</MenuItem>
- <MenuItem href="/user/management">
- <Glyphicon glyph="cog" />Your data
- </MenuItem>
<MenuItem href="/about">
<Glyphicon glyph="question-sign" />About
</MenuItem>
@@ -116,6 +114,7 @@ JarrNavBar = React.createClass({
</MenuItem>
</NavDropdown>
</Nav>
+ </Navbar.Collapse>
</Navbar>
);
},
bgstack15