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

register piece transitions

This commit is contained in:
diminator 2015-07-01 11:21:43 +02:00
parent 2436e198db
commit 3e71926b7d
2 changed files with 7 additions and 4 deletions

View File

@ -50,10 +50,10 @@ let RegisterPiece = React.createClass( {
this.setState(state); this.setState(state);
}, },
handleSuccess(){ handleSuccess(response){
let notification = new GlobalNotificationModel('Piece successfully registered', 'success', 10000); let notification = new GlobalNotificationModel(response.notification, 'success', 10000);
GlobalNotificationActions.appendGlobalNotification(notification); GlobalNotificationActions.appendGlobalNotification(notification);
this.transitionTo('pieces'); this.transitionTo('edition', {editionId: response.edition.bitcoin_id});
}, },
getFormData(){ getFormData(){

View File

@ -97,7 +97,10 @@ body {
margin-right: 0; margin-right: 0;
margin-left: 0; margin-left: 0;
} }
.btn-delete{
background-color: rgba(0,0,0,0);
color: #888;
}
.btn-ascribe, .btn-ascribe-inv { .btn-ascribe, .btn-ascribe-inv {
border: 1px solid #444; border: 1px solid #444;
line-height: 2em; line-height: 2em;