Refine headers and notifications config
This commit is contained in:
@@ -127,11 +127,6 @@ var SettingsPage = React.createClass({
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
render: function() {
|
render: function() {
|
||||||
|
|
||||||
var buttonStyle = {
|
|
||||||
marginTop: 20
|
|
||||||
};
|
|
||||||
|
|
||||||
var teams_row = (
|
var teams_row = (
|
||||||
<Row>
|
<Row>
|
||||||
<Col md={ 12 }>
|
<Col md={ 12 }>
|
||||||
@@ -170,6 +165,8 @@ var SettingsPage = React.createClass({
|
|||||||
</Row>
|
</Row>
|
||||||
) : null;
|
) : null;
|
||||||
|
|
||||||
|
var notifications_row = null;
|
||||||
|
if (process.platform === 'win32') {
|
||||||
var notificationSettings = [
|
var notificationSettings = [
|
||||||
{
|
{
|
||||||
label: 'Never',
|
label: 'Never',
|
||||||
@@ -195,30 +192,31 @@ var SettingsPage = React.createClass({
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
var notifications = (
|
notifications_row = (
|
||||||
<Row>
|
<Row>
|
||||||
<Col md={ 12 }>
|
<Col md={ 12 }>
|
||||||
<h2>Notifications</h2> Configure, that the taskicon in the taskbar blinks when you were mentioned.
|
<h3>Notifications</h3> Configure, that the taskicon in the taskbar blinks when new message arrives.
|
||||||
{ notificationElements }
|
{ notificationElements }
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
)
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Grid className="settingsPage">
|
<Grid className="settingsPage">
|
||||||
<Row>
|
<Row>
|
||||||
<Col xs={ 4 } sm={ 1 } md={ 2 } lg={ 2 }>
|
<Col xs={ 4 } sm={ 2 } md={ 2 } lg={ 1 }>
|
||||||
<h2>Teams</h2>
|
<h2>Teams</h2>
|
||||||
</Col>
|
</Col>
|
||||||
<Col xs={ 4 } sm={ 2 } md={ 1 } lg={ 1 } mdPull={ 1 }>
|
<Col xs={ 8 } sm={ 10 } md={ 10 } lg={ 11 }>
|
||||||
<Button className="pull-right" style={ buttonStyle } bsSize="small" onClick={ this.toggleShowTeamForm }>
|
<Button bsSize="small" style={ { marginTop: 20 } } onClick={ this.toggleShowTeamForm }>
|
||||||
<Glyphicon glyph="plus" />
|
<Glyphicon glyph="plus" />
|
||||||
</Button>
|
</Button>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
{ teams_row }
|
{ teams_row }
|
||||||
{ options_row }
|
{ options_row }
|
||||||
{ notifications }
|
{ notifications_row }
|
||||||
<div>
|
<div>
|
||||||
<hr />
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user