Fix display of records detail in records view
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
56e56ed75b
commit
01f23b6cb4
@ -38,44 +38,44 @@
|
|||||||
{#if expand}
|
{#if expand}
|
||||||
<Row class="mt-2 flex-nowrap">
|
<Row class="mt-2 flex-nowrap">
|
||||||
<Col>
|
<Col>
|
||||||
<dl class="row">
|
<dl class="row ms-2">
|
||||||
<dt class="col-sm-3 text-end">
|
<dt class="col-sm-5 text-end">
|
||||||
Class
|
Class
|
||||||
</dt>
|
</dt>
|
||||||
<dd class="col-sm-9 text-muted font-monospace">
|
<dd class="col-sm-7 text-muted font-monospace mb-1">
|
||||||
{nsclass(record.fields.Hdr.Class)}
|
{nsclass(record.rr.Hdr.Class)}
|
||||||
</dd>
|
</dd>
|
||||||
<dt class="col-sm-3 text-end">
|
<dt class="col-sm-5 text-end">
|
||||||
TTL
|
TTL
|
||||||
</dt>
|
</dt>
|
||||||
<dd class="col-sm-9 text-muted font-monospace">
|
<dd class="col-sm-7 text-muted font-monospace mb-1">
|
||||||
{record.fields.Hdr.Ttl}
|
{record.rr.Hdr.Ttl}
|
||||||
</dd>
|
</dd>
|
||||||
<dt class="col-sm-3 text-end">
|
<dt class="col-sm-5 text-end">
|
||||||
RRType
|
RRType
|
||||||
</dt>
|
</dt>
|
||||||
<dd class="col-sm-9 text-muted font-monospace">
|
<dd class="col-sm-7 text-muted font-monospace mb-1">
|
||||||
{nsrrtype(record.fields.Hdr.Rrtype)}
|
{nsrrtype(record.rr.Hdr.Rrtype)}
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</Col>
|
</Col>
|
||||||
<Col style="max-width:60%">
|
<Col sm="9">
|
||||||
<ul style="list-style: none">
|
<dl class="row">
|
||||||
{#each Object.keys(record.fields) as k}
|
{#each Object.keys(record.rr) as k}
|
||||||
{#if k != "Hdr"}
|
{#if k != "Hdr"}
|
||||||
{@const v = record.fields[k]}
|
{@const v = record.rr[k]}
|
||||||
<li class="d-flex">
|
<dt class="col-sm-3 text-end">
|
||||||
<strong class="float-start me-2">{k}</strong>
|
{k}
|
||||||
<div
|
</dt>
|
||||||
class="text-muted font-monospace text-truncate"
|
<dd
|
||||||
title={v}
|
class="col-sm-9 text-muted font-monospace text-truncate mb-1"
|
||||||
>
|
title={v}
|
||||||
{v}
|
>
|
||||||
</div>
|
{v}
|
||||||
</li>
|
</dd>
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</dl>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
{/if}
|
{/if}
|
||||||
@ -104,7 +104,7 @@
|
|||||||
>
|
>
|
||||||
<Icon name="check" aria-hidden="true" />
|
<Icon name="check" aria-hidden="true" />
|
||||||
</Button>
|
</Button>
|
||||||
{:else if record.fields.Hdr.Rrtype != 6}
|
{:else if record.rr.Hdr.Rrtype != 6}
|
||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
color="danger"
|
color="danger"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user