mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-26 00:01:37 +00:00
nit UX
This commit is contained in:
@@ -62,10 +62,10 @@
|
||||
<CenteredModal title="Invitation to join {workspace_id}">
|
||||
<label class="block pb-2">
|
||||
<span class="text-secondary text-sm">Your username in workspace {workspace_id}:</span>
|
||||
<input on:keyup={handleKey} bind:value={username} class:input-error={errorUsername != ''} />
|
||||
{#if errorUsername}
|
||||
<span class="text-red-500 text-xs">{errorUsername}</span>
|
||||
{/if}
|
||||
<input on:keyup={handleKey} bind:value={username} class:input-error={errorUsername != ''} />
|
||||
</label>
|
||||
<div class="flex flex-row justify-between pt-4 gap-x-1">
|
||||
<Button variant="border" size="sm" href="/user/workspaces"
|
||||
|
||||
@@ -122,10 +122,10 @@
|
||||
</label>
|
||||
<label class="block pb-2">
|
||||
<span class="text-secondary text-sm">Your username in that workspace</span>
|
||||
<input type="text" bind:value={username} on:keyup={handleKeyUp} />
|
||||
{#if errorUser}
|
||||
<span class="text-red-500 text-xs">{errorUser}</span>
|
||||
{/if}
|
||||
<input type="text" bind:value={username} on:keyup={handleKeyUp} />
|
||||
</label>
|
||||
<Toggle
|
||||
disabled={!isDomainAllowed}
|
||||
|
||||
Reference in New Issue
Block a user