2016-01-22 10:12:23 +00:00
|
|
|
const React = require("react");
|
2015-10-30 10:57:23 +00:00
|
|
|
|
2016-01-22 10:12:23 +00:00
|
|
|
const SettingsPanel = React.createClass({
|
2015-10-30 10:57:23 +00:00
|
|
|
render() {
|
|
|
|
return (
|
2016-01-02 21:32:26 +00:00
|
|
|
<div className="modal fade" id="settingsmodal">
|
|
|
|
<div className="modal-dialog">
|
|
|
|
<div className="modal-content">
|
|
|
|
<div className="modal-header">
|
|
|
|
<button type="button" className="close" data-dismiss="modal"
|
|
|
|
aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
<h4 className="modal-title">Settings</h4>
|
|
|
|
</div>
|
|
|
|
<div className="modal-body">
|
|
|
|
<div className="checkbox">
|
|
|
|
<label className="checkbox-inline">
|
|
|
|
<input type="checkbox"
|
|
|
|
onChange={this.props.toggleUpdateTitle}
|
|
|
|
checked={this.props.updateTitle}/> Update Gather Status in Title (Cabooble Mode) - May require refresh
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className="modal-body">
|
|
|
|
<div className="checkbox">
|
|
|
|
<label className="checkbox-inline">
|
|
|
|
<input type="checkbox"
|
|
|
|
onChange={this.props.toggleEventsPanel}
|
|
|
|
checked={this.props.showEventsPanel}/> Show events panel
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className="modal-footer">
|
|
|
|
<button type="button" className="btn btn-default"
|
|
|
|
data-dismiss="modal">Close</button>
|
2015-10-30 10:57:23 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-01-02 21:32:26 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|