mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-25 05:29:41 -06:00
Improve vol. conversion overall progress styling
This commit is contained in:
committed by
Matthias Berg
parent
b5b6d5dc5f
commit
82096b2a56
@@ -12,6 +12,7 @@ import Input from '../common/Input/Input/Input';
|
||||
import styles from './PrepareUploadedData.scss';
|
||||
import Button from '../common/Input/Button/Button';
|
||||
import RadioButtons from '../common/Input/RadioButtons/RadioButtons';
|
||||
import Label from '../common/Label/Label';
|
||||
import Window from '../common/Window/Window';
|
||||
import ProgressBar from '../common/ProgressBar/ProgressBar';
|
||||
import Checkbox from '../common/Input/Checkbox/Checkbox';
|
||||
@@ -192,12 +193,16 @@ class PrepareUploadedData extends Component {
|
||||
onChange={this.changeRSquared}/>
|
||||
<Button onClick={() => this.upload()}> Convert </Button>
|
||||
{this.state.uploadButtonIsClicked && (
|
||||
<Row>
|
||||
<ProgressBar label='Volume conversion progress'
|
||||
initializingMsg='Reading'
|
||||
progressPercent={volumeProgressPercent} />
|
||||
<div>{currentVolumesConvertedCount} / {currentVolumesToConvertCount} files complete</div>
|
||||
</Row>
|
||||
<div>
|
||||
<Row>
|
||||
<ProgressBar label='Volume conversion progress'
|
||||
initializingMsg='Reading'
|
||||
progressPercent={volumeProgressPercent} />
|
||||
</Row>
|
||||
<Row className={styles.filesConverted}>
|
||||
<Label size="small">{currentVolumesConvertedCount} / {currentVolumesToConvertCount} files complete</Label>
|
||||
</Row>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</Window>
|
||||
|
||||
@@ -4,4 +4,8 @@
|
||||
& > div {
|
||||
padding: 20px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.filesConverted {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user