forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
14b2799f08
commit
4add2d1aff
151 changed files with 4561 additions and 3315 deletions
|
@ -1,5 +1,4 @@
|
|||
<script lang="ts">
|
||||
|
||||
import Hotkeys from "../Base/Hotkeys"
|
||||
import { Translation } from "../i18n/Translation"
|
||||
import { Utils } from "../../Utils"
|
||||
|
@ -10,14 +9,13 @@
|
|||
let keys = Hotkeys._docs
|
||||
const t = Translations.t.hotkeyDocumentation
|
||||
|
||||
|
||||
let byKey = Hotkeys.prepareDocumentation($keys)
|
||||
$: {
|
||||
byKey = Hotkeys.prepareDocumentation($keys)
|
||||
}
|
||||
</script>
|
||||
<AccordionSingle>
|
||||
|
||||
<AccordionSingle>
|
||||
<div slot="header">
|
||||
<Tr t={t.title} />
|
||||
</div>
|
||||
|
@ -25,30 +23,27 @@
|
|||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
<Tr t={t.key}></Tr>
|
||||
</th>
|
||||
<th>
|
||||
<Tr t={t.action} />
|
||||
</th>
|
||||
<Tr t={t.key} />
|
||||
</th>
|
||||
<th>
|
||||
<Tr t={t.action} />
|
||||
</th>
|
||||
</tr>
|
||||
{#each byKey as [key, doc, alsoTriggeredBy] }
|
||||
{#each byKey as [key, doc, alsoTriggeredBy]}
|
||||
<tr>
|
||||
<td class="flex items-center justify-center">
|
||||
{#if alsoTriggeredBy}
|
||||
<div class="flex items-center justify-center gap-x-1">
|
||||
|
||||
<div class="literal-code w-fit h-fit">{key}</div>
|
||||
<div class="literal-code w-fit h-fit">{alsoTriggeredBy}</div>
|
||||
|
||||
<div class="literal-code h-fit w-fit">{key}</div>
|
||||
<div class="literal-code h-fit w-fit">{alsoTriggeredBy}</div>
|
||||
</div>
|
||||
|
||||
{:else}
|
||||
<div class="literal-code w-fit h-fit flex items-center w-full">{key}</div>
|
||||
<div class="literal-code flex h-fit w-fit w-full items-center">{key}</div>
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
<Tr t={doc} />
|
||||
</td>
|
||||
<Tr t={doc} />
|
||||
</td>
|
||||
</tr>
|
||||
{/each}
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue