mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: avatargroup
This commit is contained in:
1 parent
f77ebb6894
commit
6f5da86046
7 files changed
+29
-20
No files matched your search
@@ -23,7 +23,7 @@
|
||||
{/each}
|
||||
|
||||
{#if total > 2}
|
||||
<Avatar>
|
||||
<Avatar {size}>
|
||||
+{total - 2}
|
||||
</Avatar>
|
||||
{/if}
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
import { consoleVariables } from '$routes/(console)/store';
|
||||
import { featuredTemplatesList, starterTemplate } from '$lib/stores/templates';
|
||||
import { Tooltip } from '@appwrite.io/pink-svelte';
|
||||
import { IconDeno, IconDotnet } from '@appwrite.io/pink-icons-svelte';
|
||||
|
||||
const isVcsEnabled = $consoleVariables?._APP_VCS_ENABLED === true;
|
||||
let hasInstallations: boolean;
|
||||
@@ -176,11 +177,9 @@
|
||||
padding={16}
|
||||
radius="small">
|
||||
<AvatarGroup
|
||||
icons={['dotnet', 'deno']}
|
||||
icons={[IconDotnet, IconDeno]}
|
||||
total={4}
|
||||
avatarSize="small"
|
||||
color="u-color-text-gray"
|
||||
bordered />
|
||||
size="s" />
|
||||
</Box>
|
||||
</li>
|
||||
<span slot="tooltip">More runtimes coming soon</span>
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
{#await avatarList}
|
||||
<span class="avatar is-color-empty" />
|
||||
{:then avatars}
|
||||
<AvatarGroup size={40} {avatars} />
|
||||
<AvatarGroup {avatars} />
|
||||
{/await}
|
||||
</GridItem1>
|
||||
{/each}
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
<div class="u-margin-inline-start-auto">
|
||||
<div class="u-flex u-gap-16 u-cross-center">
|
||||
<a href={`${path}/members`} class="is-not-mobile">
|
||||
<AvatarGroup size={32} {avatars} total={$members?.total ?? 0} />
|
||||
<AvatarGroup size="s" {avatars} total={$members?.total ?? 0} />
|
||||
</a>
|
||||
|
||||
<div>
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
import { repository } from '$lib/stores/vcs';
|
||||
import { Repositories } from '$lib/components/git';
|
||||
import { Tooltip } from '@appwrite.io/pink-svelte';
|
||||
import { IconDeno, IconDotnet } from '@appwrite.io/pink-icons-svelte';
|
||||
|
||||
const isVcsEnabled = $consoleVariables?._APP_VCS_ENABLED === true;
|
||||
let hasInstallations: boolean;
|
||||
@@ -182,11 +183,9 @@
|
||||
padding={16}
|
||||
radius="small">
|
||||
<AvatarGroup
|
||||
icons={['dotnet', 'deno']}
|
||||
icons={[IconDotnet, IconDeno]}
|
||||
total={4}
|
||||
avatarSize="small"
|
||||
color="u-color-text-gray"
|
||||
bordered />
|
||||
size="s" />
|
||||
</Box>
|
||||
</li>
|
||||
<span slot="tooltip">More runtimes coming soon</span>
|
||||
|
||||
+12
-2
@@ -40,6 +40,12 @@
|
||||
import { consoleVariables } from '$routes/(console)/store';
|
||||
import { isValueOfStringEnum } from '$lib/helpers/types';
|
||||
import { sortBranches } from '$lib/stores/vcs';
|
||||
import {
|
||||
IconAzure,
|
||||
IconBitBucket,
|
||||
IconGithub,
|
||||
IconGitlab
|
||||
} from '@appwrite.io/pink-icons-svelte';
|
||||
|
||||
const functionId = $page.params.function;
|
||||
const isVcsEnabled = $consoleVariables?._APP_VCS_ENABLED === true;
|
||||
@@ -288,8 +294,12 @@
|
||||
<div class="u-flex u-cross-center u-flex-vertical u-gap-32">
|
||||
<div class="u-flex u-cross-center u-gap-8">
|
||||
<AvatarGroup
|
||||
bordered
|
||||
icons={['github', 'gitlab', 'bitBucket', 'azure']} />
|
||||
icons={[
|
||||
IconGithub,
|
||||
IconGitlab,
|
||||
IconBitBucket,
|
||||
IconAzure
|
||||
]} />
|
||||
|
||||
<span class="icon-arrow-narrow-right" />
|
||||
<div class="avatar">
|
||||
|
||||
@@ -32,7 +32,13 @@
|
||||
import { isSelfHosted } from '$lib/system';
|
||||
import { consoleVariables } from '$routes/(console)/store';
|
||||
import { Icon } from '@appwrite.io/pink-svelte';
|
||||
import { IconPlus } from '@appwrite.io/pink-icons-svelte';
|
||||
import {
|
||||
IconAzure,
|
||||
IconBitBucket,
|
||||
IconGithub,
|
||||
IconGitlab,
|
||||
IconPlus
|
||||
} from '@appwrite.io/pink-icons-svelte';
|
||||
|
||||
export let total: number;
|
||||
export let limit: number;
|
||||
@@ -208,13 +214,8 @@
|
||||
<article class="card-git card is-border-dashed is-no-shadow">
|
||||
<div class="u-flex u-cross-center u-flex-vertical u-gap-32">
|
||||
<div class="u-flex u-cross-center u-flex-vertical u-gap-8">
|
||||
<AvatarGroup
|
||||
class="git-installation-avatar-group"
|
||||
bordered
|
||||
icons={['github', 'gitlab', 'bitBucket', 'azure']} />
|
||||
|
||||
<AvatarGroup icons={[IconGithub, IconGitlab, IconBitBucket, IconAzure]} />
|
||||
<Arrow direction="down" />
|
||||
|
||||
<div class="avatar"><SvgIcon name="appwrite" type="color" size={80} /></div>
|
||||
</div>
|
||||
<Button
|
||||
|
||||
Reference in new issue
Block a user