mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 22:30:41 +08:00
Redesign node view and use it as the landing-page
This commit is contained in:
@@ -10,19 +10,31 @@
|
||||
|
||||
<style>
|
||||
.section {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.5rem 0;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
.text {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="section" style:padding-top="0.5rem">
|
||||
Policy:
|
||||
<span class="txt-bold">{capitalize(policy)}</span>
|
||||
</div>
|
||||
<div class="txt-missing text">
|
||||
{#if policy === "allow"}
|
||||
All discovered repositories will be seeded.
|
||||
{:else if policy === "block"}
|
||||
Only selected repositories will be seeded.
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{#if policy === "allow"}
|
||||
<div class="section">
|
||||
<div class="section" style:padding-top="0.5rem">
|
||||
Scope:
|
||||
<span class="txt-bold">{capitalize(scope)}</span>
|
||||
</div>
|
||||
<div class="txt-missing">
|
||||
<div class="txt-missing text">
|
||||
{#if scope === "all"}
|
||||
All changes in seeded repositories, made by any peer, will be synced.
|
||||
{:else if scope === "followed"}
|
||||
@@ -30,15 +42,3 @@
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="section">
|
||||
Policy:
|
||||
<span class="txt-bold">{capitalize(policy)}</span>
|
||||
</div>
|
||||
<div class="txt-missing">
|
||||
{#if policy === "allow"}
|
||||
All discovered repositories will get seeded.
|
||||
{:else if policy === "block"}
|
||||
Only repositories marked as such will get seeded.
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user