mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-28 13:57:51 +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>
|
||||
</DialogContent>
|
||||
|
||||
<DialogActions>
|
||||
{mode === 'list' && (
|
||||
<Button variant="contained" onClick={addCustomNode}>
|
||||
{t('core:add', { postProcess: 'capitalize' })}
|
||||
</Button>
|
||||
)}
|
||||
|
||||
{mode === 'list' && (
|
||||
<>
|
||||
<Button
|
||||
@ -950,11 +957,6 @@ export const NotAuthenticated = ({
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
{mode === 'list' && (
|
||||
<Button variant="contained" onClick={addCustomNode}>
|
||||
{t('core:add', { postProcess: 'capitalize' })}
|
||||
</Button>
|
||||
)}
|
||||
|
||||
{mode === 'add-node' && (
|
||||
<>
|
||||
@ -989,7 +991,7 @@ export const NotAuthenticated = ({
|
||||
aria-describedby="alert-dialog-description"
|
||||
>
|
||||
<DialogTitle id="alert-dialog-title">
|
||||
{t('auth:enter_apikey', { postProcess: 'capitalize' })}
|
||||
{t('auth:apikey.enter', { postProcess: 'capitalize' })}
|
||||
</DialogTitle>
|
||||
<DialogContent>
|
||||
<Box
|
||||
@ -1008,7 +1010,7 @@ export const NotAuthenticated = ({
|
||||
variant="contained"
|
||||
component="label"
|
||||
>
|
||||
{t('auth:apikey_alternative', { postProcess: 'capitalize' })}
|
||||
{t('auth:apikey.alternative', { postProcess: 'capitalize' })}
|
||||
<input
|
||||
type="file"
|
||||
accept=".txt"
|
||||
@ -1018,17 +1020,8 @@ export const NotAuthenticated = ({
|
||||
</Button>
|
||||
</Box>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
<Button
|
||||
variant="contained"
|
||||
onClick={() => {
|
||||
setEnteredApiKey('');
|
||||
setShowSelectApiKey(false);
|
||||
}}
|
||||
>
|
||||
{t('core:close', { postProcess: 'capitalize' })}
|
||||
</Button>
|
||||
|
||||
<DialogActions>
|
||||
<Button
|
||||
variant="contained"
|
||||
disabled={!enteredApiKey}
|
||||
@ -1074,6 +1067,16 @@ export const NotAuthenticated = ({
|
||||
>
|
||||
{t('core:save', { postProcess: 'capitalize' })}
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
variant="contained"
|
||||
onClick={() => {
|
||||
setEnteredApiKey('');
|
||||
setShowSelectApiKey(false);
|
||||
}}
|
||||
>
|
||||
{t('core:close', { postProcess: 'capitalize' })}
|
||||
</Button>
|
||||
</DialogActions>
|
||||
</Dialog>
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user