diff --git a/app/(main)/certificates/page.tsx b/app/(main)/certificates/page.tsx index 012f2ca..2d7a097 100644 --- a/app/(main)/certificates/page.tsx +++ b/app/(main)/certificates/page.tsx @@ -78,6 +78,9 @@ const STATUS_CONFIG: Record< }, } +const CERT_TABLE_GRID_CLASS = + "grid grid-cols-[1.25rem_minmax(0,1.35fr)_minmax(0,0.85fr)_minmax(0,1fr)_9.5rem_minmax(0,8.5rem)_6rem] gap-3" + function daysLeftColor(days: number): string { if (days < 0) return "text-red-500" if (days <= 7) return "text-red-500" @@ -197,7 +200,10 @@ function CertListRow({ return (
-
- {cfg.icon} - {cert.name} +
+ {cfg.icon} + + {cert.name} +
-

{cert.commonName}

+

+ {cert.commonName} +

{server @@ -232,11 +242,13 @@ function CertListRow({ )}
-

{cert.issuedBy}

-
+

+ {cert.issuedBy} +

+
-
+
{cert.usage.map((u) => ( ))}
- + {cfg.label}
@@ -400,14 +417,25 @@ function CertPartAcmeSettings({

Публичные Let's Encrypt для зон в Cloudflare выпускаются на backend и импортируются на RouterOS 7.22+.

-
+
event.preventDefault()} + >
- setAcmeDirectoryUrl(e.target.value)} /> + setAcmeDirectoryUrl(e.target.value)} + />
setAcmeZoneId(e.target.value)} placeholder="Авто по домену" @@ -417,6 +445,8 @@ function CertPartAcmeSettings({ setAcmeTokenDraft(e.target.value)} placeholder={ @@ -426,7 +456,7 @@ function CertPartAcmeSettings({ } />
-
+