fix: more fixes from review

This commit is contained in:
Arman
2022-07-11 10:33:45 +02:00
parent 467740122f
commit 3af97e8aae
5 changed files with 12 additions and 8 deletions
@@ -55,7 +55,7 @@
bind:value={name} />
<InputEmail
id="email"
label="E-Mail"
label="Email"
placeholder="Enter email"
required={true}
bind:value={mail} />
@@ -84,7 +84,7 @@
<span class="text">{user.name ? user.name : 'n/a'}</span>
</div>
</TableCellText>
<TableCellText title="E-Mail">{user.email}</TableCellText>
<TableCellText title="Email">{user.email}</TableCellText>
<TableCellText title="Status">
{#if user.status}
<Pill success={user.emailVerification}>
@@ -42,17 +42,21 @@
</script>
<Form on:submit={create}>
<Modal warning={true} bind:show={showCreate}>
<Modal bind:show={showCreate}>
<svelte:fragment slot="header">Create User</svelte:fragment>
<FormList>
<InputEmail
id="email"
label="E-Mail"
placeholder="test@example.com"
label="Email"
placeholder="Enter email"
required={true}
autofocus={true}
bind:value={email} />
<InputText id="name" label="Name(optional)" placeholder="John Doe" bind:value={name} />
<InputText
id="name"
label="Name (optional)"
placeholder="Enter name"
bind:value={name} />
<Alert type="info">
<p>
Roles are used to manage access permissions. You can create any role you want.
+1 -1
View File
@@ -35,7 +35,7 @@
<Form on:submit={login}>
<InputEmail
id="email"
label="E-Mail"
label="Email"
placeholder="test@example.com"
autofocus={true}
required={true}
+1 -1
View File
@@ -38,7 +38,7 @@
<InputText id="name" label="Name" placeholder="John Doe" autofocus={true} bind:value={name} />
<InputEmail
id="email"
label="E-Mail"
label="Email"
placeholder="test@example.com"
required={true}
bind:value={mail} />