mirror of
https://github.com/portainer/portainer.git
synced 2025-08-09 07:45:22 +02:00
feat(ui): ui change for create access token EE-3541 (#7366)
* ui change for create access token
This commit is contained in:
parent
0ba10b44ec
commit
d4d80ed8f7
2 changed files with 12 additions and 12 deletions
|
@ -74,18 +74,16 @@ export function CreateAccessToken({
|
|||
/>
|
||||
</FormControl>
|
||||
<div className="row mt-5">
|
||||
<div className="col-sm-12">
|
||||
<Button
|
||||
disabled={!!errorText || !!accessToken}
|
||||
onClick={() => generateAccessToken()}
|
||||
>
|
||||
{t('Add access token')}
|
||||
</Button>
|
||||
</div>
|
||||
<Button
|
||||
disabled={!!errorText || !!accessToken}
|
||||
onClick={() => generateAccessToken()}
|
||||
>
|
||||
{t('Add access token')}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
{accessToken && (
|
||||
<>
|
||||
<div className="mt-5">
|
||||
<FormSectionTitle>
|
||||
<Trans ns={translationNS}>New access token</Trans>
|
||||
</FormSectionTitle>
|
||||
|
@ -106,7 +104,7 @@ export function CreateAccessToken({
|
|||
>
|
||||
<Trans ns={translationNS}>Done</Trans>
|
||||
</Button>
|
||||
</>
|
||||
</div>
|
||||
)}
|
||||
</WidgetBody>
|
||||
</Widget>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue