web: Format code files
This commit is contained in:
parent
035e864de4
commit
ac9b567025
22 changed files with 964 additions and 459 deletions
|
|
@ -17,15 +17,25 @@
|
|||
<div class="d-flex w-100 justify-content-between">
|
||||
<h6 class="mb-1">
|
||||
<span class="badge bg-primary me-2">{receivedChain.length - i}</span>
|
||||
{hop.reverse || '-'} {#if hop.ip}<span class="text-muted">({hop.ip})</span>{/if} → {hop.by || 'Unknown'}
|
||||
{hop.reverse || "-"}
|
||||
{#if hop.ip}<span class="text-muted">({hop.ip})</span>{/if} → {hop.by ||
|
||||
"Unknown"}
|
||||
</h6>
|
||||
<small class="text-muted" title={hop.timestamp}>{hop.timestamp ? new Intl.DateTimeFormat('default', { dateStyle: 'long', 'timeStyle': 'short' }).format(new Date(hop.timestamp)) : '-'}</small>
|
||||
<small class="text-muted" title={hop.timestamp}>
|
||||
{hop.timestamp
|
||||
? new Intl.DateTimeFormat("default", {
|
||||
dateStyle: "long",
|
||||
timeStyle: "short",
|
||||
}).format(new Date(hop.timestamp))
|
||||
: "-"}
|
||||
</small>
|
||||
</div>
|
||||
{#if hop.with || hop.id}
|
||||
<p class="mb-1 small d-flex gap-3">
|
||||
{#if hop.with}
|
||||
<span>
|
||||
<span class="text-muted">Protocol:</span> <code>{hop.with}</code>
|
||||
<span class="text-muted">Protocol:</span>
|
||||
<code>{hop.with}</code>
|
||||
</span>
|
||||
{/if}
|
||||
{#if hop.id}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue