From bee2537570504c2ca4f77e853ee02bc38abd933a Mon Sep 17 00:00:00 2001 From: Henri Courdent <122811744+hcourdent@users.noreply.github.com> Date: Thu, 5 Sep 2024 12:15:55 +0200 Subject: [PATCH] Workers page buttons and SSO logos (#4336) * Workers page buttons and SSO logos * JumpCloud typo * Fix svg --- .../lib/components/icons/JumpCloudIcon.svelte | 13 ++++ .../lib/components/icons/KeycloakIcon.svelte | 21 +++++ .../lib/components/icons/MailchimpIcon.svelte | 2 +- .../lib/components/icons/ZitadelIcon.svelte | 77 +++++++++++++++++++ frontend/src/lib/components/icons/index.ts | 14 +++- .../(root)/(logged)/workers/+page.svelte | 7 +- 6 files changed, 127 insertions(+), 7 deletions(-) create mode 100644 frontend/src/lib/components/icons/JumpCloudIcon.svelte create mode 100644 frontend/src/lib/components/icons/KeycloakIcon.svelte create mode 100644 frontend/src/lib/components/icons/ZitadelIcon.svelte diff --git a/frontend/src/lib/components/icons/JumpCloudIcon.svelte b/frontend/src/lib/components/icons/JumpCloudIcon.svelte new file mode 100644 index 0000000000..4d058a912c --- /dev/null +++ b/frontend/src/lib/components/icons/JumpCloudIcon.svelte @@ -0,0 +1,13 @@ + + + + + + + \ No newline at end of file diff --git a/frontend/src/lib/components/icons/KeycloakIcon.svelte b/frontend/src/lib/components/icons/KeycloakIcon.svelte new file mode 100644 index 0000000000..43e0f06c96 --- /dev/null +++ b/frontend/src/lib/components/icons/KeycloakIcon.svelte @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/frontend/src/lib/components/icons/MailchimpIcon.svelte b/frontend/src/lib/components/icons/MailchimpIcon.svelte index e0f0bd0197..9c2710decf 100644 --- a/frontend/src/lib/components/icons/MailchimpIcon.svelte +++ b/frontend/src/lib/components/icons/MailchimpIcon.svelte @@ -3,7 +3,7 @@ export let width = '24px' - + diff --git a/frontend/src/lib/components/icons/ZitadelIcon.svelte b/frontend/src/lib/components/icons/ZitadelIcon.svelte new file mode 100644 index 0000000000..456d456c5f --- /dev/null +++ b/frontend/src/lib/components/icons/ZitadelIcon.svelte @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/frontend/src/lib/components/icons/index.ts b/frontend/src/lib/components/icons/index.ts index aa8e043d38..78ec4769d2 100644 --- a/frontend/src/lib/components/icons/index.ts +++ b/frontend/src/lib/components/icons/index.ts @@ -87,6 +87,9 @@ import GoogleCloudIcon from './GoogleCloudIcon.svelte' import CaCertificate from './CACertificate.svelte' import CurrencyApiIcon from './CurrencyApiIcon.svelte' import VismaIcon from './VismaIcon.svelte' +import JumpCloudIcon from './JumpCloudIcon.svelte' +import KeycloakIcon from './KeycloakIcon.svelte' +import ZitadelIcon from './ZitadelIcon.svelte' export const APP_TO_ICON_COMPONENT = { postgresql: PostgresIcon, @@ -181,7 +184,10 @@ export const APP_TO_ICON_COMPONENT = { gcp_service_account: GoogleCloudIcon, cacertificate: CaCertificate, currencyapi: CurrencyApiIcon, - visma: VismaIcon + visma: VismaIcon, + jumpcloud: JumpCloudIcon, + keycloak: KeycloakIcon, + zitadel: ZitadelIcon } as const export { @@ -267,5 +273,9 @@ export { IpinfoIcon, GoogleCloudIcon, CaCertificate, - CurrencyApiIcon + CurrencyApiIcon, + VismaIcon, + JumpCloudIcon, + KeycloakIcon, + ZitadelIcon } diff --git a/frontend/src/routes/(root)/(logged)/workers/+page.svelte b/frontend/src/routes/(root)/(logged)/workers/+page.svelte index 5f977728fe..a1f9880348 100644 --- a/frontend/src/routes/(root)/(logged)/workers/+page.svelte +++ b/frontend/src/routes/(root)/(logged)/workers/+page.svelte @@ -18,7 +18,7 @@ import { enterpriseLicense, superadmin } from '$lib/stores' import { sendUserToast } from '$lib/toast' import { displayDate, groupBy, pluralize, truncate } from '$lib/utils' - import { AlertTriangle, FileJson, LineChart, List, Plus, Search } from 'lucide-svelte' + import { AlertTriangle, CopyIcon, LineChart, List, Plus, Search } from 'lucide-svelte' import { getContext, onDestroy, onMount } from 'svelte' import AutoComplete from 'simple-svelte-autocomplete' @@ -338,9 +338,8 @@