mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-05-03 00:07:53 +00:00
Change close button position (now right)
This commit is contained in:
parent
3bc139041d
commit
af48dd7c06
@ -936,7 +936,14 @@ export const NotAuthenticated = ({
|
|||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
|
{mode === 'list' && (
|
||||||
|
<Button variant="contained" onClick={addCustomNode}>
|
||||||
|
{t('core:add', { postProcess: 'capitalize' })}
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
|
|
||||||
{mode === 'list' && (
|
{mode === 'list' && (
|
||||||
<>
|
<>
|
||||||
<Button
|
<Button
|
||||||
@ -950,11 +957,6 @@ export const NotAuthenticated = ({
|
|||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{mode === 'list' && (
|
|
||||||
<Button variant="contained" onClick={addCustomNode}>
|
|
||||||
{t('core:add', { postProcess: 'capitalize' })}
|
|
||||||
</Button>
|
|
||||||
)}
|
|
||||||
|
|
||||||
{mode === 'add-node' && (
|
{mode === 'add-node' && (
|
||||||
<>
|
<>
|
||||||
@ -989,7 +991,7 @@ export const NotAuthenticated = ({
|
|||||||
aria-describedby="alert-dialog-description"
|
aria-describedby="alert-dialog-description"
|
||||||
>
|
>
|
||||||
<DialogTitle id="alert-dialog-title">
|
<DialogTitle id="alert-dialog-title">
|
||||||
{t('auth:enter_apikey', { postProcess: 'capitalize' })}
|
{t('auth:apikey.enter', { postProcess: 'capitalize' })}
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<Box
|
<Box
|
||||||
@ -1008,7 +1010,7 @@ export const NotAuthenticated = ({
|
|||||||
variant="contained"
|
variant="contained"
|
||||||
component="label"
|
component="label"
|
||||||
>
|
>
|
||||||
{t('auth:apikey_alternative', { postProcess: 'capitalize' })}
|
{t('auth:apikey.alternative', { postProcess: 'capitalize' })}
|
||||||
<input
|
<input
|
||||||
type="file"
|
type="file"
|
||||||
accept=".txt"
|
accept=".txt"
|
||||||
@ -1018,17 +1020,8 @@ export const NotAuthenticated = ({
|
|||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
|
||||||
<Button
|
|
||||||
variant="contained"
|
|
||||||
onClick={() => {
|
|
||||||
setEnteredApiKey('');
|
|
||||||
setShowSelectApiKey(false);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{t('core:close', { postProcess: 'capitalize' })}
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
<DialogActions>
|
||||||
<Button
|
<Button
|
||||||
variant="contained"
|
variant="contained"
|
||||||
disabled={!enteredApiKey}
|
disabled={!enteredApiKey}
|
||||||
@ -1074,6 +1067,16 @@ export const NotAuthenticated = ({
|
|||||||
>
|
>
|
||||||
{t('core:save', { postProcess: 'capitalize' })}
|
{t('core:save', { postProcess: 'capitalize' })}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
<Button
|
||||||
|
variant="contained"
|
||||||
|
onClick={() => {
|
||||||
|
setEnteredApiKey('');
|
||||||
|
setShowSelectApiKey(false);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{t('core:close', { postProcess: 'capitalize' })}
|
||||||
|
</Button>
|
||||||
</DialogActions>
|
</DialogActions>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user