[FE] Improve button created on previous commit
This commit is contained in:
parent
a39059d74d
commit
2df8aa383c
@ -93,13 +93,16 @@ export function Registers(props: {person: Person | null, count: number}) {
|
|||||||
<div class="m-4 p-4 rounded-md relative">
|
<div class="m-4 p-4 rounded-md relative">
|
||||||
<h3 class="text-xl font-medium">
|
<h3 class="text-xl font-medium">
|
||||||
<button
|
<button
|
||||||
class="bg-c-primary inline-block w-8 h-8 mr-2 rounded-full
|
class="bg-c-primary text-c-on-primary inline-block mr-2 rounded-full
|
||||||
disabled:opacity-25 disabled:cursor-not-allowed"
|
disabled:opacity-25 disabled:cursor-not-allowed px-2"
|
||||||
disabled={todayRegisters().length === 0}
|
disabled={todayRegisters().length === 0}
|
||||||
title="Descargar todos los cert. creados hoy"
|
title="Descargar todos los cert. creados hoy"
|
||||||
onclick={downloadTodayCerts}
|
onclick={downloadTodayCerts}
|
||||||
>
|
>
|
||||||
<DownloadSimpleIcon fill="var(--c-on-primary)" size={24} />
|
<DownloadSimpleIcon fill="var(--c-on-primary)" size={24} />
|
||||||
|
<span class="text-sm">
|
||||||
|
hoy
|
||||||
|
</span>
|
||||||
</button>
|
</button>
|
||||||
{props.person?.person_names}
|
{props.person?.person_names}
|
||||||
{props.person?.person_paternal_surname}
|
{props.person?.person_paternal_surname}
|
||||||
|
Loading…
Reference in New Issue
Block a user