Move lightning preview headers to top bar

This commit is contained in:
Mononaut
2022-09-01 14:57:14 +00:00
parent 3da76892d5
commit 4ee5ef336c
6 changed files with 50 additions and 43 deletions

View File

@@ -1,9 +1,7 @@
<div class="box preview-box" *ngIf="(node$ | async) as node">
<h2 class="preview-header" i18n="lightning.node">Lightning node</h2>
<div class="row d-flex justify-content-between full-width-row">
<div class="title-container mb-0" *ngIf="!error">
<h5 class="mb-0" style="color: #ffffff66" i18n="lightning.node">Lightning node</h5>
<h1 class="mb-0 text-truncate">{{ node.alias }}</h1>
</div>
<h1 class="title">{{ node.alias }}</h1>
<div class="badges mb-2">
<span class="badge rounded-pill badge-success" *ngFor="let socketType of socketTypes">{{ socketType }}</span>
</div>