mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 22:03:44 +02:00
Be consistent with form order
This commit is contained in:
@@ -120,7 +120,10 @@ export default () => {
|
||||
<PageContentBlock title={'SSH Keys'}>
|
||||
<FlashMessageRender byKey={'ssh_keys'}/>
|
||||
<div css={tw`md:flex flex-nowrap my-10`}>
|
||||
<ContentBox title={'SSH Keys'} css={tw`flex-1 md:mr-8`}>
|
||||
<ContentBox title={'Add SSH Key'} css={tw`flex-1 md:mr-8`}>
|
||||
<AddSSHKeyForm onKeyAdded={key => setKeys(s => ([ ...s!, key ]))}/>
|
||||
</ContentBox>
|
||||
<ContentBox title={'SSH Keys'} css={tw`flex-none w-full mt-8 md:mt-0 md:w-1/2`}>
|
||||
<SpinnerOverlay visible={loading}/>
|
||||
<ConfirmationModal
|
||||
visible={!!deleteId}
|
||||
@@ -161,10 +164,6 @@ export default () => {
|
||||
))
|
||||
}
|
||||
</ContentBox>
|
||||
|
||||
<ContentBox title={'Add SSH Key'} css={tw`flex-none w-full mt-8 md:mt-0 md:w-1/2`}>
|
||||
<AddSSHKeyForm onKeyAdded={key => setKeys(s => ([ ...s!, key ]))}/>
|
||||
</ContentBox>
|
||||
</div>
|
||||
</PageContentBlock>
|
||||
);
|
||||
|
||||
@@ -107,7 +107,10 @@ export default () => {
|
||||
<PageContentBlock title={'Security Keys'}>
|
||||
<FlashMessageRender byKey={'security_keys'}/>
|
||||
<div css={tw`md:flex flex-nowrap my-10`}>
|
||||
<ContentBox title={'Security Keys'} css={tw`flex-1 md:mr-8`}>
|
||||
<ContentBox title={'Add Security Key'} css={tw`flex-1 md:mr-8`}>
|
||||
<AddSecurityKeyForm onKeyAdded={key => setKeys(s => ([ ...s!, key ]))}/>
|
||||
</ContentBox>
|
||||
<ContentBox title={'Security Keys'} css={tw`flex-none w-full mt-8 md:mt-0 md:w-1/2`}>
|
||||
<SpinnerOverlay visible={loading}/>
|
||||
<ConfirmationModal
|
||||
visible={!!deleteId}
|
||||
@@ -149,10 +152,6 @@ export default () => {
|
||||
))
|
||||
}
|
||||
</ContentBox>
|
||||
|
||||
<ContentBox title={'Add Security Key'} css={tw`flex-none w-full mt-8 md:mt-0 md:w-1/2`}>
|
||||
<AddSecurityKeyForm onKeyAdded={key => setKeys(s => ([ ...s!, key ]))}/>
|
||||
</ContentBox>
|
||||
</div>
|
||||
</PageContentBlock>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user