mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-10 16:05:58 +00:00
Workspace settings clarifications, delete workspace message (#5052)
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
</script>
|
||||
|
||||
<div>
|
||||
<p class="font-semibold text-sm">Workspace Color</p>
|
||||
<p class="font-semibold text-sm">Workspace color</p>
|
||||
<div class="flex flex-row gap-0.5 items-center">
|
||||
{#if savedWorkspaceColor}
|
||||
<div
|
||||
@@ -76,6 +76,9 @@
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<p class="italic text-xs">
|
||||
Color to identify the current workspace in the list of workspaces
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<Modal bind:open title="Change Workspace Color">
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
<p class="italic text-xs">Slug to uniquely identify your workspace</p>
|
||||
</div>
|
||||
|
||||
<Modal bind:open title="Change workspace ID">
|
||||
|
||||
@@ -49,6 +49,10 @@
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<p class="italic text-xs">
|
||||
Displayable name
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<Modal bind:open title="Change workspace name">
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
</label>
|
||||
<label class="block pb-4">
|
||||
<span class="text-secondary text-sm">Workspace color</span>
|
||||
<span class="ml-5 text-tertiary text-xs">Color to identify the current workspace</span>
|
||||
<span class="ml-5 text-tertiary text-xs">Color to identify the current workspace in the list of workspaces</span>
|
||||
<div class="flex items-center gap-2">
|
||||
<Toggle bind:checked={colorEnabled} options={{ right: 'Enable' }} />
|
||||
{#if colorEnabled}<input class="w-10" type="color" bind:value={workspaceColor} disabled={!colorEnabled} />{/if}
|
||||
|
||||
@@ -813,7 +813,12 @@
|
||||
</div>
|
||||
{:else if tab == 'general'}
|
||||
<div class="flex flex-col gap-4 my-8">
|
||||
<div class=" text-primary text-lg font-semibold">General</div>
|
||||
<div class="flex flex-col gap-1">
|
||||
<div class=" text-primary text-lg font-semibold">General</div>
|
||||
<Description link="https://www.windmill.dev/docs/core_concepts/workspace_settings">
|
||||
Configure general workspace settings.
|
||||
</Description>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col gap-10">
|
||||
@@ -835,9 +840,15 @@
|
||||
|
||||
<div class="mt-20" />
|
||||
<PageHeader title="Delete workspace" primary={false} />
|
||||
<p class="italic text-xs">
|
||||
The workspace will be archived for a short period of time and then permanently deleted
|
||||
</p>
|
||||
{#if $superadmin}
|
||||
<p class="italic text-xs">
|
||||
When deleting the workspace, it will be archived for a short period of time and then permanently deleted.
|
||||
</p>
|
||||
{:else}
|
||||
<p class="italic text-xs">
|
||||
Only instance superadmins can delete a workspace.
|
||||
</p>
|
||||
{/if}
|
||||
{#if $workspaceStore === 'admins' || $workspaceStore === 'starter'}
|
||||
<p class="italic text-xs">
|
||||
This workspace cannot be deleted as it has a special function. Consult the documentation
|
||||
|
||||
Reference in New Issue
Block a user