Skip to content

Commit

Permalink
Tastaturkürzel Hinweise
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Jun 10, 2020
1 parent 07aa741 commit 786d826
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</style>

{#await db_check()} Öffne Datenbank …
{:then connected}
{:then}
{#if $print}
<Print />
{:else}
Expand Down
13 changes: 13 additions & 0 deletions src/components/Print.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,18 @@
<svelte:window on:keydown={handle_keydown} />

{#if c}
<article class="message is-default" style="position: absolute; top: 2rem; left: 65rem">
<div class="message-header">
<span class="icon">
<i class="mdi">info</i>
</span>
&nbsp;Tastaturbefehle
</div>
<div class="message-body">
Drucken: <b>p</b>
<br>
Abbrechen: <b>ESC</b>
</div>
</article>
<svelte:component this={c} />
{/if}

0 comments on commit 786d826

Please sign in to comment.