chore(ui): Moving logs link under uptime

This commit is contained in:
Christian Ditaputratama 2024-09-12 03:16:45 +07:00
parent 7553ad8b45
commit fc172a0bd0
No known key found for this signature in database
GPG key ID: 31D3D06D77950979

View file

@ -217,7 +217,6 @@
port={row.port} port={row.port}
ipv6_only={row.ipv6_only} ipv6_only={row.ipv6_only}
/> />
<a class="anchor" href="/remote-nodes/logs/?node_id={row.id}">[Logs]</a>
</td> </td>
<td><NetTypeCell nettype={row.nettype} height={row.height} /></td> <td><NetTypeCell nettype={row.nettype} height={row.height} /></td>
<td><ProtocolCell protocol={row.protocol} cors={row.cors} /></td> <td><ProtocolCell protocol={row.protocol} cors={row.cors} /></td>
@ -242,7 +241,13 @@
majority_fee={majorityFee[row.nettype]} majority_fee={majorityFee[row.nettype]}
/> />
</td> </td>
<td><UptimeCell uptime={row.uptime} /></td> <td
><UptimeCell uptime={row.uptime} /><br />
<a
class="anchor !text-purple-800 dark:!text-purple-400"
href="/remote-nodes/logs/?node_id={row.id}">[Logs]</a
>
</td>
<td> <td>
{format(row.last_checked * 1000, 'PP HH:mm')}<br /> {format(row.last_checked * 1000, 'PP HH:mm')}<br />
{formatDistance(row.last_checked * 1000, new Date(), { addSuffix: true })} {formatDistance(row.last_checked * 1000, new Date(), { addSuffix: true })}