aboutsummaryrefslogtreecommitdiff
path: root/src/web/js/components/MiddlePanel.react.js
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2016-01-28 16:03:11 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-28 16:03:11 +0100
commitbf2d4e57c2883ff241e73b156bc16dea10893387 (patch)
tree8b64b79a09ee930e9aec30e1ad23ea074d6eb123 /src/web/js/components/MiddlePanel.react.js
parentimplementing search through articles (diff)
downloadnewspipe-bf2d4e57c2883ff241e73b156bc16dea10893387.tar.gz
newspipe-bf2d4e57c2883ff241e73b156bc16dea10893387.tar.bz2
newspipe-bf2d4e57c2883ff241e73b156bc16dea10893387.zip
pretty icons
Diffstat (limited to 'src/web/js/components/MiddlePanel.react.js')
-rw-r--r--src/web/js/components/MiddlePanel.react.js22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/web/js/components/MiddlePanel.react.js b/src/web/js/components/MiddlePanel.react.js
index b2107383..d2c4df5b 100644
--- a/src/web/js/components/MiddlePanel.react.js
+++ b/src/web/js/components/MiddlePanel.react.js
@@ -119,29 +119,41 @@ var MiddlePanelFilter = React.createClass({
if(this.state.display_search) {
search_row = <MiddlePanelSearchRow />
}
+ var delay = 750;
return (<div>
<Row className="show-grid">
<ButtonGroup>
<Button active={this.state.filter == "all"}
- onMouseDown={this.setAllFilter}
- bsSize="small">All</Button>
+ title="Display all articles"
+ onMouseDown={this.setAllFilter} bsSize="small">
+ <Glyphicon glyph="menu-hamburger" />
+ </Button>
<Button active={this.state.filter == "unread"}
+ title="Display only unread article"
onMouseDown={this.setUnreadFilter}
- bsSize="small">Unread</Button>
+ bsSize="small">
+ <Glyphicon glyph="unchecked" />
+ </Button>
<Button active={this.state.filter == "liked"}
+ title="Filter only liked articles"
onMouseDown={this.setLikedFilter}
bsSize="small">
<Glyphicon glyph="star" />
</Button>
</ButtonGroup>
<ButtonGroup>
- <Button onMouseDown={this.toogleSearch} bsSize="small">
+ <Button onMouseDown={this.toogleSearch}
+ title="Search through displayed articles"
+ bsSize="small">
<Glyphicon glyph="search" />
</Button>
</ButtonGroup>
<ButtonGroup>
<Button onMouseDown={MiddlePanelActions.markAllAsRead}
- bsSize="small">Mark all as read</Button>
+ title="Mark all displayed article as read"
+ bsSize="small">
+ <Glyphicon glyph="trash" />
+ </Button>
</ButtonGroup>
</Row>
{search_row}
bgstack15