mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
formatting
This commit is contained in:
parent
0fb855d958
commit
f11cd291c2
@ -1,5 +1,5 @@
|
|||||||
var React = require('react'),
|
var React = require('react'),
|
||||||
LogEntry = require('./LogEntry');
|
LogEntry = require('./LogEntry');
|
||||||
|
|
||||||
var LogEntryList = React.createClass({
|
var LogEntryList = React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
@ -9,7 +9,7 @@ var LogEntryList = React.createClass({
|
|||||||
getInitialState: function() {
|
getInitialState: function() {
|
||||||
return {
|
return {
|
||||||
showFullEvents: false
|
showFullEvents: false
|
||||||
}
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
@ -19,9 +19,14 @@ var LogEntryList = React.createClass({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<label className="prs fright-ht768 smalltext">
|
<label className="prs fright-ht768 smalltext">
|
||||||
Show full events
|
Show full events
|
||||||
<input type="checkbox" className="mlm" value={this.state.fullEvents} onChange={this.toggleFullEvents}></input>
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
className="mlm"
|
||||||
|
value={this.state.fullEvents}
|
||||||
|
onChange={this.toggleFullEvents}>
|
||||||
|
</input>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<table className='outerborder zebra-striped'>
|
<table className='outerborder zebra-striped'>
|
||||||
@ -30,7 +35,7 @@ var LogEntryList = React.createClass({
|
|||||||
<th>When</th>
|
<th>When</th>
|
||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
<th>
|
<th>
|
||||||
Data
|
Data
|
||||||
</th>
|
</th>
|
||||||
<th>Author</th>
|
<th>Author</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -40,13 +45,13 @@ var LogEntryList = React.createClass({
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
toggleFullEvents: function(e) {
|
toggleFullEvents: function() {
|
||||||
this.setState({showFullEvents: !this.state.showFullEvents});
|
this.setState({showFullEvents: !this.state.showFullEvents});
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = LogEntryList;
|
module.exports = LogEntryList;
|
||||||
|
Loading…
Reference in New Issue
Block a user