mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 11:50:42 +08:00
Change seed icon
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
}[] = [
|
||||
{
|
||||
value: "all",
|
||||
title: "All projects",
|
||||
title: "All seeding",
|
||||
description: "Show all projects you’re seeding with your local node.",
|
||||
iconName: "globe",
|
||||
iconName: "seedling",
|
||||
},
|
||||
{
|
||||
value: "delegating",
|
||||
@@ -71,8 +71,8 @@
|
||||
slot="toggle"
|
||||
on:click={toggle}>
|
||||
{#if value === "all"}
|
||||
<IconSmall name="globe" />
|
||||
All projects
|
||||
<IconSmall name="seedling" />
|
||||
All seeding
|
||||
{:else}
|
||||
<IconSmall name="badge" />
|
||||
Only delegating
|
||||
|
||||
@@ -34,6 +34,9 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.divider {
|
||||
@@ -55,7 +58,7 @@
|
||||
<Popover
|
||||
bind:expanded
|
||||
popoverPositionTop="2.5rem"
|
||||
popoverPositionRight="0"
|
||||
popoverPositionLeft="-0.25rem"
|
||||
popoverPadding="0.25rem"
|
||||
popoverBorderRadius="var(--border-radius-small)">
|
||||
<Button
|
||||
@@ -65,6 +68,7 @@
|
||||
on:click={toggle}
|
||||
title="Change peer"
|
||||
{disabled}>
|
||||
<IconSmall name="seedling" />
|
||||
{preferredSeed.hostname}
|
||||
<IconSmall name={expanded ? "chevron-up" : "chevron-down"} />
|
||||
</Button>
|
||||
@@ -82,6 +86,7 @@
|
||||
slot="item"
|
||||
selected={item.hostname === preferredSeed.hostname}>
|
||||
<div class="label">
|
||||
<IconSmall name="seedling" />
|
||||
{item.hostname}
|
||||
</div>
|
||||
</DropdownListItem>
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
: seeding
|
||||
? "secondary-toggle-on"
|
||||
: "secondary-toggle-off"}>
|
||||
<IconSmall name="network" />
|
||||
<IconSmall name="seedling" />
|
||||
<span class="title-counter">
|
||||
{seeding ? "Seeding" : "Seed"}
|
||||
<span
|
||||
@@ -138,7 +138,7 @@
|
||||
on:click={async () => {
|
||||
await editSeeding();
|
||||
}}>
|
||||
<IconSmall name="network" />
|
||||
<IconSmall name="seedling" />
|
||||
Stop seeding
|
||||
</Button>
|
||||
{:else}
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
{#await queryProject(seed.node, seed.project)}
|
||||
<li class="seed-item">
|
||||
<span class="seed txt-bold">
|
||||
<IconSmall name="globe" />
|
||||
<IconSmall name="seedling" />
|
||||
<span class="txt-overflow">
|
||||
{seed.node.hostname}/{seed.project}
|
||||
</span>
|
||||
@@ -127,7 +127,7 @@
|
||||
? "Not available on this public seed node"
|
||||
: ""}>
|
||||
<div class="seed txt-bold">
|
||||
<IconSmall name="globe" />
|
||||
<IconSmall name="seedling" />
|
||||
<span class="txt-overflow">
|
||||
{path.replace("/nodes/", "")}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user