add divider on upgrade page

This commit is contained in:
Peter Clement 2023-01-27 15:23:24 +00:00
parent 6e3f87c798
commit 92a2f23cde
1 changed files with 9 additions and 7 deletions

View File

@ -56,7 +56,7 @@
<Heading size="M">Environment Variables</Heading> <Heading size="M">Environment Variables</Heading>
{#if !$licensing.environmentVariablesEnabled} {#if !$licensing.environmentVariablesEnabled}
<Tags> <Tags>
<Tag icon="LockClosed">Pro plan</Tag> <Tag icon="LockClosed">Business plan</Tag>
</Tags> </Tags>
{/if} {/if}
</div> </div>
@ -64,6 +64,8 @@
>Add and manage environment variables for development and production</Body >Add and manage environment variables for development and production</Body
> >
</Layout> </Layout>
<Divider size="S" />
{#if $licensing.environmentVariablesEnabled} {#if $licensing.environmentVariablesEnabled}
{#if noEncryptionKey} {#if noEncryptionKey}
<InlineAlert <InlineAlert
@ -72,7 +74,12 @@
type="error" type="error"
/> />
{/if} {/if}
<Divider size="S" /> <div>
<Button on:click={modal.show} cta disabled={noEncryptionKey}
>Add Variable</Button
>
</div>
<Layout noPadding> <Layout noPadding>
<Table <Table
{schema} {schema}
@ -83,11 +90,6 @@
{customRenderers} {customRenderers}
/> />
</Layout> </Layout>
<div>
<Button on:click={modal.show} cta disabled={noEncryptionKey}
>Add Variable</Button
>
</div>
{:else} {:else}
<div class="buttons"> <div class="buttons">
<Button <Button