Touch up admin user creation to match designs

This commit is contained in:
Andrew Kingston 2021-05-06 14:11:06 +01:00
parent d1a355341f
commit 700df23e78
1 changed files with 25 additions and 21 deletions

View File

@ -31,22 +31,21 @@
<section>
<div class="container">
<header>
<Layout gap="XS">
<img src="https://i.imgur.com/ZKyklgF.png" />
</Layout>
<Layout gap="XS">
<Heading size="M">Create an admin user</Heading>
<Body size="S">The admin user has access to everything in budibase.</Body>
</header>
<div class="config-form">
<Body size="M">The admin user has access to everything in budibase.</Body>
</Layout>
<Layout gap="XS">
<Input label="Email" bind:value={adminUser.email} />
<Input label="Password" type="password" bind:value={adminUser.password} />
</Layout>
<Layout gap="S">
<Input label="email" bind:value={adminUser.email} />
<Input
label="password"
type="password"
bind:value={adminUser.password}
/>
<Button cta on:click={save}>Create super admin user</Button>
</Layout>
</div>
</div>
</section>
<style>
@ -56,14 +55,19 @@
justify-content: center;
height: 100%;
}
header {
.container {
margin: 0 auto;
width: 260px;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
}
.container :global(p, h1) {
text-align: center;
width: 80%;
}
img {
width: 40px;
margin: 0 auto;
}
.config-form {
margin-bottom: 42px;
}
</style>