diff --git a/.gitignore b/.gitignore
index 46a9f3602..27cc4e27e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -145,5 +145,4 @@ dist
.stylelintcache
# SvelteKit build / generate output
-.svelte-kit
-
+.svelte-kit
\ No newline at end of file
diff --git a/src/lib/components/customId.svelte b/src/lib/components/customId.svelte
index dafdb0661..173e984a7 100644
--- a/src/lib/components/customId.svelte
+++ b/src/lib/components/customId.svelte
@@ -2,13 +2,13 @@
import { trackEvent } from '$lib/actions/analytics';
import { InnerModal } from '$lib/components';
import { InputId } from '$lib/elements/forms';
-
+ import { InputProjectId } from '$lib/elements/forms';
export let show = false;
export let name: string;
export let id: string;
export let autofocus = true;
export let fullWidth = false;
-
+ export let isProject = false;
$: if (!show) {
id = null;
}
@@ -29,7 +29,11 @@
-
+ {#if isProject}
+
+ {:else}
+
+ {/if}
diff --git a/src/lib/components/status.svelte b/src/lib/components/status.svelte
index ca140ceb9..00ed3353e 100644
--- a/src/lib/components/status.svelte
+++ b/src/lib/components/status.svelte
@@ -18,5 +18,5 @@
{#if status}
{/if}
-
+
diff --git a/src/lib/elements/forms/index.ts b/src/lib/elements/forms/index.ts
index 5e2bbd518..1f729ba4b 100644
--- a/src/lib/elements/forms/index.ts
+++ b/src/lib/elements/forms/index.ts
@@ -26,3 +26,4 @@ export { default as InputId } from './inputId.svelte';
export { default as InputSecret } from './inputSecret.svelte';
export { default as Helper } from './helper.svelte';
export { default as Label } from './label.svelte';
+export { default as InputProjectId } from './inputProjectId.svelte';
diff --git a/src/lib/elements/forms/inputCron.svelte b/src/lib/elements/forms/inputCron.svelte
index 484b92756..48d71b7d5 100644
--- a/src/lib/elements/forms/inputCron.svelte
+++ b/src/lib/elements/forms/inputCron.svelte
@@ -18,7 +18,7 @@
let element: HTMLInputElement;
let error: string;
- const pattern = String.raw`^[^]+\s+[^]+\s+[^]+\s+[^]+\s+[^]+`;
+ const pattern = String.raw`^.*\s+.*\s+.*\s+.*\s+.*`;
onMount(() => {
if (element && autofocus) {
diff --git a/src/lib/elements/forms/inputProjectId.svelte b/src/lib/elements/forms/inputProjectId.svelte
new file mode 100644
index 000000000..80c35e8cb
--- /dev/null
+++ b/src/lib/elements/forms/inputProjectId.svelte
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+
+ Allowed characters: lowercase alphanumeric and non-leading hyphen
+
+
diff --git a/src/lib/layout/header.svelte b/src/lib/layout/header.svelte
index dbaff6206..54422dd82 100644
--- a/src/lib/layout/header.svelte
+++ b/src/lib/layout/header.svelte
@@ -133,9 +133,9 @@