1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

tabs inserted in jsx

This commit is contained in:
Cevo 2015-09-07 14:30:45 +02:00
parent 501d7ac7c0
commit 1dba9196e7

View File

@ -81,8 +81,8 @@ let ContractSettings = React.createClass({
<ActionPanel title = {contract.name} <ActionPanel title = {contract.name}
content = {contract.name} content = {contract.name}
buttons = {<span> buttons = {<span>
<button className="btn btn-default btn-sm margin-left-2px">UPDATE</button> <button className="btn btn-default btn-sm margin-left-2px">UPDATE</button>
<button className="btn btn-default btn-sm margin-left-2px" <button className="btn btn-default btn-sm margin-left-2px"
onClick={this.removeContract.bind(this, contract)}>REMOVE</button> onClick={this.removeContract.bind(this, contract)}>REMOVE</button>
</span>} </span>}
/>); />);
@ -99,9 +99,9 @@ let ContractSettings = React.createClass({
<ActionPanel title = {contract.name} <ActionPanel title = {contract.name}
content = {contract.name} content = {contract.name}
buttons = {<span> <button className="btn btn-default btn-sm margin-left-2px">UPDATE</button> buttons = {<span> <button className="btn btn-default btn-sm margin-left-2px">UPDATE</button>
<button className="btn btn-default btn-sm margin-left-2px" <button className="btn btn-default btn-sm margin-left-2px"
onClick={this.removeContract.bind(this, contract)}> REMOVE </button> onClick={this.removeContract.bind(this, contract)}> REMOVE </button>
<button className="btn btn-default btn-sm margin-left-2px" <button className="btn btn-default btn-sm margin-left-2px"
onClick={this.makeContractPublic.bind(this, contract)}>MAKE PUBLIC</button> </span>} onClick={this.makeContractPublic.bind(this, contract)}>MAKE PUBLIC</button> </span>}
/>); />);
} }