1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

adjust action panel usage for applications

This commit is contained in:
Tim Daubenschütz 2015-08-10 11:11:28 +02:00
parent d1edf898fc
commit c8dc4fa12d

View File

@ -349,16 +349,26 @@ let APISettings = React.createClass({
<ActionPanel
name={app.name}
key={i}
title={app.name}
content={'Bearer ' + app.bearer_token.token}
content={
<div>
<div className='ascribe-panel-title'>
{app.name}
</div>
<div className="ascribe-panel-subtitle">
{'Bearer ' + app.bearer_token.token}
</div>
</div>
}
buttons={
<div className="pull-right">
<button
className="pull-right btn btn-default btn-sm"
onClick={this.handleTokenRefresh}
data-id={app.name}>
{getLangText('REFRESH')}
</button>
<div className="pull-right">
<button
className="pull-right btn btn-default btn-sm"
onClick={this.handleTokenRefresh}
data-id={app.name}>
{getLangText('REFRESH')}
</button>
</div>
</div>
}/>
);