feat: use SVG for arrow
This commit is contained in:
@ -56,7 +56,23 @@
|
|||||||
class="fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-9xl font-bold bg-background text-foreground p-4 rounded-md flex flex-col gap-10"
|
class="fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-9xl font-bold bg-background text-foreground p-4 rounded-md flex flex-col gap-10"
|
||||||
>
|
>
|
||||||
{#each newCalls as call (call.num)}
|
{#each newCalls as call (call.num)}
|
||||||
<span class="mx-4">{call.num} → {call.ticket.room}</span>
|
<span class="mx-4">
|
||||||
|
{call.num}
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="48"
|
||||||
|
height="48"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="2"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
class="lucide lucide-arrow-right-icon lucide-arrow-right"
|
||||||
|
><path d="M5 12h14" /><path d="m12 5 7 7-7 7" /></svg
|
||||||
|
>
|
||||||
|
{call.ticket.room}
|
||||||
|
</span>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -67,14 +83,42 @@
|
|||||||
<table class="self-start">
|
<table class="self-start">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="pr-4 font-bold">Wartenr.</th>
|
<th class="pr-4 font-bold">Warte Nr.</th>
|
||||||
<th class="pr-4 font-bold">→</th>
|
<th class="pr-4 font-bold">
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="48"
|
||||||
|
height="48"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="2"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
class="lucide lucide-arrow-right-icon lucide-arrow-right"
|
||||||
|
><path d="M5 12h14" /><path d="m12 5 7 7-7 7" /></svg
|
||||||
|
>
|
||||||
|
</th>
|
||||||
<th class="pr-4 font-bold">Raum</th>
|
<th class="pr-4 font-bold">Raum</th>
|
||||||
</tr>
|
</tr>
|
||||||
{#each calls.slice(0, ENTRIES_PER_TABLE) as call (call.num)}
|
{#each calls.slice(0, ENTRIES_PER_TABLE) as call (call.num)}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="call">{call.num}</td>
|
<td class="call">{call.num}</td>
|
||||||
<td class="call">→</td>
|
<td class="call">
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="48"
|
||||||
|
height="48"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="2"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
class="lucide lucide-arrow-right-icon lucide-arrow-right"
|
||||||
|
><path d="M5 12h14" /><path d="m12 5 7 7-7 7" /></svg
|
||||||
|
>
|
||||||
|
</td>
|
||||||
<td class="call"
|
<td class="call"
|
||||||
>{call.ticket.status === "no-show"
|
>{call.ticket.status === "no-show"
|
||||||
? "Empfang " + ENTRIES[call.num[0]]
|
? "Empfang " + ENTRIES[call.num[0]]
|
||||||
@ -96,14 +140,42 @@
|
|||||||
<table class="self-start">
|
<table class="self-start">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="pr-4 font-bold">Wartenr.</th>
|
<th class="pr-4 font-bold">Warte Nr.</th>
|
||||||
<th class="pr-4 font-bold">→</th>
|
<th class="pr-4 font-bold">
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="48"
|
||||||
|
height="48"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="2"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
class="lucide lucide-arrow-right-icon lucide-arrow-right"
|
||||||
|
><path d="M5 12h14" /><path d="m12 5 7 7-7 7" /></svg
|
||||||
|
>
|
||||||
|
</th>
|
||||||
<th class="pr-4 font-bold">Raum</th>
|
<th class="pr-4 font-bold">Raum</th>
|
||||||
</tr>
|
</tr>
|
||||||
{#each calls.slice(ENTRIES_PER_TABLE) as call (call.num)}
|
{#each calls.slice(ENTRIES_PER_TABLE) as call (call.num)}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="call">{call.num}</td>
|
<td class="call">{call.num}</td>
|
||||||
<td class="call">→</td>
|
<td class="call">
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="48"
|
||||||
|
height="48"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="2"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
class="lucide lucide-arrow-right-icon lucide-arrow-right"
|
||||||
|
><path d="M5 12h14" /><path d="m12 5 7 7-7 7" /></svg
|
||||||
|
>
|
||||||
|
</td>
|
||||||
<td class="call"
|
<td class="call"
|
||||||
>{call.ticket.status === "no-show"
|
>{call.ticket.status === "no-show"
|
||||||
? "Empfang " + ENTRIES[call.num[0]]
|
? "Empfang " + ENTRIES[call.num[0]]
|
||||||
|
|||||||
Reference in New Issue
Block a user