mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
loading feedback for piece and edition page
This commit is contained in:
parent
3ae10c5e50
commit
733c95a070
@ -7,6 +7,8 @@ import EditionStore from '../../stores/edition_store';
|
|||||||
|
|
||||||
import Edition from './edition';
|
import Edition from './edition';
|
||||||
|
|
||||||
|
import AppConstants from '../../constants/application_constants';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the component that implements resource/data specific functionality
|
* This is the component that implements resource/data specific functionality
|
||||||
*/
|
*/
|
||||||
@ -53,7 +55,9 @@ let EditionContainer = React.createClass({
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<span className="glyph-ascribe-spool-chunked spin"/>
|
<div className="fullpage-spinner">
|
||||||
|
<img src={AppConstants.baseUrl + 'static/img/ascribe_animated_medium.gif'} />
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,8 @@ import PieceStore from '../../stores/piece_store';
|
|||||||
|
|
||||||
import Piece from './piece';
|
import Piece from './piece';
|
||||||
|
|
||||||
|
import AppConstants from '../../constants/application_constants';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the component that implements resource/data specific functionality
|
* This is the component that implements resource/data specific functionality
|
||||||
*/
|
*/
|
||||||
@ -49,7 +51,7 @@ let PieceContainer = React.createClass({
|
|||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<div className="fullpage-spinner">
|
<div className="fullpage-spinner">
|
||||||
<span className="glyph-ascribe-spool-chunked spin"/>
|
<img src={AppConstants.baseUrl + 'static/img/ascribe_animated_medium.gif'} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -354,9 +354,12 @@ hr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.fullpage-spinner {
|
.fullpage-spinner {
|
||||||
width: 100%;
|
padding-top: 30%;
|
||||||
height: 100vh;
|
padding-bottom: 30%;
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
|
||||||
|
> span {
|
||||||
|
font-size: 2em;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user