|
@@ -1,41 +1,41 @@
|
|
|
<app-header></app-header>
|
|
<app-header></app-header>
|
|
|
|
|
|
|
|
-<div class="container pt-5 d-flex flex-row">
|
|
|
|
|
- <ul class="nav flex-column">
|
|
|
|
|
- <li>
|
|
|
|
|
- <div class="card" style="min-width: 200px">
|
|
|
|
|
|
|
+<div class="container pt-5">
|
|
|
|
|
+ <ul class="nav flex-row">
|
|
|
|
|
+ <li class="flex-fill">
|
|
|
|
|
+ <div class="card h-100">
|
|
|
<div class="card-header btn btn-toolbar bg-primary text-light" routerLink="/">
|
|
<div class="card-header btn btn-toolbar bg-primary text-light" routerLink="/">
|
|
|
<fa-icon [icon]="fa.faChalkboard" class="pe-2"></fa-icon>
|
|
<fa-icon [icon]="fa.faChalkboard" class="pe-2"></fa-icon>
|
|
|
<span class="flex-fill text-start">Dashboard</span>
|
|
<span class="flex-fill text-start">Dashboard</span>
|
|
|
- <fa-icon [icon]="fa.faAngleRight"></fa-icon>
|
|
|
|
|
|
|
+ <fa-icon [class.hidden]="currentUrl !== '/'" [icon]="fa.faAngleDown" class="ps-2"></fa-icon>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="card-body p-1">- soon come -</div>
|
|
|
</div>
|
|
</div>
|
|
|
</li>
|
|
</li>
|
|
|
- <li *ngFor="let server of serverConfigs">
|
|
|
|
|
- <div class="card">
|
|
|
|
|
|
|
+ <li *ngFor="let server of serverConfigs" class="flex-fill">
|
|
|
|
|
+ <div class="card h-100">
|
|
|
<div class="card-header btn btn-toolbar bg-primary text-light" [routerLink]="'/srv/' + server.id">
|
|
<div class="card-header btn btn-toolbar bg-primary text-light" [routerLink]="'/srv/' + server.id">
|
|
|
<fa-icon [icon]="fa.faServer" class="pe-2"></fa-icon>
|
|
<fa-icon [icon]="fa.faServer" class="pe-2"></fa-icon>
|
|
|
<span class="flex-fill text-start">{{ server.title }}</span>
|
|
<span class="flex-fill text-start">{{ server.title }}</span>
|
|
|
- <fa-icon [icon]="fa.faAngleRight" class="caret-rotate"></fa-icon>
|
|
|
|
|
|
|
+ <fa-icon [class.hidden]="currentUrl !== '/srv/' + server.id" [icon]="fa.faAngleDown" class="ps-2"></fa-icon>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="card-body" aria-expanded="true">
|
|
|
|
|
- <h5 class="border-bottom pb-2">Server metrics:</h5>
|
|
|
|
|
- <ul class="nav flex-column">
|
|
|
|
|
- <li *ngFor="let type of server.types" class="nav-item list-unstyled">
|
|
|
|
|
- <fa-icon [icon]="type.type | faType" class="pe-2"></fa-icon>{{ type.type }}
|
|
|
|
|
- <ul *ngIf="type.subtypes?.length" class="nav flex-column ps-4">
|
|
|
|
|
- <li *ngFor="let sub of type.subtypes" class="nav-item list-unstyled">
|
|
|
|
|
- <fa-icon [icon]="type.type | faType" class="pe-2"></fa-icon>{{ sub.type }}
|
|
|
|
|
|
|
+ <div class="card-body p-1" aria-expanded="true">
|
|
|
|
|
+ <div *ngFor="let type of server.types" class="badge bg-primary me-1">
|
|
|
|
|
+ <div class="d-flex flex-column">
|
|
|
|
|
+ <div class="d-flex flex-row text-uppercase"><fa-icon [icon]="type.type | faType" class="pe-2 status-ok"></fa-icon>{{ type.type }}</div>
|
|
|
|
|
+ <ul *ngIf="type.subtypes" class="list-unstyled text-start subtypes-list">
|
|
|
|
|
+ <li *ngFor="let sub of type.subtypes" class="status-ok">
|
|
|
|
|
+ {{ sub.type }}
|
|
|
</li>
|
|
</li>
|
|
|
</ul>
|
|
</ul>
|
|
|
- </li>
|
|
|
|
|
- </ul>
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</li>
|
|
</li>
|
|
|
</ul>
|
|
</ul>
|
|
|
|
|
|
|
|
- <div class="flex-fill ps-3">
|
|
|
|
|
|
|
+ <div class="pt-3">
|
|
|
<router-outlet></router-outlet>
|
|
<router-outlet></router-outlet>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|