Context menu icons
This commit is contained in:
@ -50,8 +50,7 @@ class Debug extends React.Component{
|
||||
var options = (
|
||||
<span>
|
||||
<button className="no-hover" onClick={e => hashHistory.push(global.baseURL+'settings')}>
|
||||
<Icon name="keyboard_backspace" />
|
||||
Back
|
||||
<Icon name="keyboard_backspace" />Back
|
||||
</button>
|
||||
</span>
|
||||
)
|
||||
|
||||
@ -340,11 +340,11 @@ class Search extends React.Component{
|
||||
var options = (
|
||||
<span>
|
||||
<DropdownField
|
||||
icon="filter_list"
|
||||
icon="sort"
|
||||
name="Sort"
|
||||
value={this.props.sort}
|
||||
options={sort_options}
|
||||
selected_icon={this.props.sort_reverse ? 'caret-up' : 'caret-down'}
|
||||
selected_icon={this.props.sort_reverse ? 'keyboard_arrow_up' : 'keyboard_arrow_down'}
|
||||
handleChange={value => {this.setSort(value); this.props.uiActions.hideContextMenu()}}
|
||||
/>
|
||||
<DropdownField
|
||||
|
||||
@ -132,13 +132,10 @@ class Settings extends React.Component {
|
||||
var options = (
|
||||
<span>
|
||||
<button className="no-hover" onClick={e => hashHistory.push(global.baseURL+'settings/debug')}>
|
||||
<Icon name="code" />
|
||||
Debug
|
||||
{this.props.ui && this.props.ui.test_mode ? <span className="flag warning">Test mode</span> : null}
|
||||
<Icon name="code" />Debug
|
||||
</button>
|
||||
<a className="no-hover button" href="https://github.com/jaedb/Iris/wiki" target="_blank">
|
||||
<Icon name="help" />
|
||||
Help
|
||||
<Icon name="help" />Help
|
||||
</a>
|
||||
</span>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user