[feat] bias help
This commit is contained in:
@@ -482,7 +482,7 @@
|
|||||||
<span class="text-textcolor mb-2 mt-4">{language.formatingOrder} <Help key="formatOrder"/></span>
|
<span class="text-textcolor mb-2 mt-4">{language.formatingOrder} <Help key="formatOrder"/></span>
|
||||||
<DropList bind:list={$DataBase.formatingOrder} />
|
<DropList bind:list={$DataBase.formatingOrder} />
|
||||||
{/if}
|
{/if}
|
||||||
<Arcodion styled name="Bias">
|
<Arcodion styled name="Bias" help="bias">
|
||||||
<table class="contain w-full max-w-full tabler">
|
<table class="contain w-full max-w-full tabler">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="font-medium w-1/2">Bias</th>
|
<th class="font-medium w-1/2">Bias</th>
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import type { language } from "src/lang";
|
||||||
|
import Help from "../Others/Help.svelte";
|
||||||
|
|
||||||
export let name = ""
|
export let name = ""
|
||||||
let open = false
|
let open = false
|
||||||
export let styled = false
|
export let styled = false
|
||||||
|
export let help: (keyof (typeof language.help))|'' = ''
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if styled}
|
{#if styled}
|
||||||
@@ -12,7 +17,9 @@
|
|||||||
on:click={() => {
|
on:click={() => {
|
||||||
open = !open
|
open = !open
|
||||||
}}
|
}}
|
||||||
>{name}</button>
|
>{name}{#if help}
|
||||||
|
<Help key={help} />
|
||||||
|
{/if}</button>
|
||||||
{#if open}
|
{#if open}
|
||||||
<div class="flex flex-col border border-selected p-2 rounded-b-md">
|
<div class="flex flex-col border border-selected p-2 rounded-b-md">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
|
|||||||
Reference in New Issue
Block a user