mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 18:59:27 +00:00
Change the order of the image build indicator.
As suggested my @aparcar, the order for the text, button and indicator is changed. Fixes #6 Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
This commit is contained in:
parent
a66fa21ca3
commit
5e3b827489
1 changed files with 7 additions and 7 deletions
|
|
@ -575,8 +575,13 @@ class Home extends React.Component {
|
|||
{
|
||||
this.state.isBuilding && (
|
||||
<>
|
||||
<CircularProgress size={20} style={{verticalAlign: 'middle'}}/>
|
||||
<Button variant="outlined" size="small"
|
||||
onClick={this.cancelBuild}>
|
||||
|
||||
{this.props.t('Cancel')}
|
||||
</Button>
|
||||
|
||||
<CircularProgress size={20} style={{verticalAlign: 'middle'}}/>
|
||||
Building image
|
||||
{
|
||||
this.state.queuePosition !== -1 && (
|
||||
|
|
@ -584,12 +589,7 @@ class Home extends React.Component {
|
|||
)
|
||||
}
|
||||
...
|
||||
|
||||
<Button variant="outlined" size="small"
|
||||
onClick={this.cancelBuild}>
|
||||
|
||||
{this.props.t('Cancel')}
|
||||
</Button>
|
||||
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue