mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: requested ui changes
This commit is contained in:
1 parent
7a992589ca
commit
7b39440b73
2 files changed
+58
-27
No files matched your search
+5
-6
@@ -17,7 +17,7 @@
|
||||
Tag,
|
||||
Selector
|
||||
} from '@appwrite.io/pink-svelte';
|
||||
import { IconGithub, IconExternalLink, IconPencil } from '@appwrite.io/pink-icons-svelte';
|
||||
import { IconGithub, IconPencil } from '@appwrite.io/pink-icons-svelte';
|
||||
import { onMount } from 'svelte';
|
||||
import Domain from '../domain.svelte';
|
||||
import { Adapter, BuildRuntime, Framework, ID } from '@appwrite.io/console';
|
||||
@@ -28,6 +28,7 @@
|
||||
import type { PageData } from './$types';
|
||||
import { writable } from 'svelte/store';
|
||||
import { getLatestTag } from '$lib/helpers/github';
|
||||
import Link from '$lib/elements/link.svelte';
|
||||
|
||||
let {
|
||||
data
|
||||
@@ -211,6 +212,7 @@
|
||||
<Wizard
|
||||
title="Deploy site"
|
||||
bind:showExitModal
|
||||
column={true}
|
||||
href={`${base}/project-${page.params.region}-${page.params.project}/sites/`}
|
||||
confirmExit>
|
||||
<Form bind:this={formComponent} onSubmit={create} {isSubmitting}>
|
||||
@@ -222,12 +224,9 @@
|
||||
</Typography.Text>
|
||||
<Layout.Stack direction="row" alignItems="center" gap="s">
|
||||
<Icon icon={IconGithub} size="m" />
|
||||
<Typography.Text variant="m-400">
|
||||
<Link variant="quiet" href={data.repository.url} size="m" external icon>
|
||||
{data.repository.owner}/{data.repository.name}
|
||||
</Typography.Text>
|
||||
<Button secondary size="s" external href={data.repository.url}>
|
||||
<Icon icon={IconExternalLink} slot="end" size="s" />
|
||||
</Button>
|
||||
</Link>
|
||||
</Layout.Stack>
|
||||
</Layout.Stack>
|
||||
</Card>
|
||||
|
||||
@@ -170,23 +170,9 @@
|
||||
<title>Deploy {data.deploymentData.name} - Appwrite</title>
|
||||
</svelte:head>
|
||||
|
||||
<div
|
||||
style="display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 2rem;">
|
||||
<div style:max-width="592px" style:width="100%">
|
||||
<Layout.Stack gap="xl" alignItems="center">
|
||||
{#if $app.themeInUse === 'dark'}
|
||||
<img
|
||||
src="{base}/images/appwrite-logo-dark.svg"
|
||||
width="150"
|
||||
height="28"
|
||||
alt="Appwrite Logo" />
|
||||
{:else}
|
||||
<img
|
||||
src="{base}/images/appwrite-logo-light.svg"
|
||||
width="150"
|
||||
height="28"
|
||||
alt="Appwrite Logo" />
|
||||
{/if}
|
||||
<div class="auth-bg">
|
||||
<section class="console-container">
|
||||
<div style:max-width="592px" style:width="100%">
|
||||
<Card.Base padding="s" radius="l" style="width: 100%;">
|
||||
<Layout.Stack gap="xl">
|
||||
<Layout.Stack gap="l">
|
||||
@@ -269,7 +255,7 @@
|
||||
<Typography.Text
|
||||
variant="m-500"
|
||||
color="--fgcolor-neutral-primary">
|
||||
Environment Variables Required
|
||||
Environment variables required
|
||||
</Typography.Text>
|
||||
<Layout.Stack direction="row" gap="xs" wrap="wrap">
|
||||
{#each data.envKeys as envKey}
|
||||
@@ -300,7 +286,7 @@
|
||||
<Typography.Text
|
||||
variant="m-500"
|
||||
color="--fgcolor-neutral-primary">
|
||||
Environment Variables Required
|
||||
Environment variables required
|
||||
</Typography.Text>
|
||||
<Layout.Stack direction="row" gap="xs" wrap="wrap">
|
||||
{#each data.envKeys as envKey}
|
||||
@@ -405,6 +391,52 @@
|
||||
</Layout.Stack>
|
||||
</Layout.Stack>
|
||||
</Card.Base>
|
||||
</Layout.Stack>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<footer>
|
||||
{#if $app.themeInUse === 'dark'}
|
||||
<img
|
||||
src="{base}/images/appwrite-logo-dark.svg"
|
||||
width="120"
|
||||
height="22"
|
||||
alt="Appwrite Logo" />
|
||||
{:else}
|
||||
<img
|
||||
src="{base}/images/appwrite-logo-light.svg"
|
||||
width="120"
|
||||
height="22"
|
||||
alt="Appwrite Logo" />
|
||||
{/if}
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<style lang="scss">
|
||||
.auth-bg {
|
||||
position: fixed;
|
||||
background: var(--bgcolor-neutral-default, #fff);
|
||||
background-size: cover;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
section {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
footer {
|
||||
padding: 2rem 1rem;
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user