#71 added an illustration when there a no logs to display

This commit is contained in:
Fabio Formosa
2022-11-05 20:53:55 +01:00
parent 83401a2ecb
commit 29a1903b21
3 changed files with 7 additions and 0 deletions

View File

@@ -3,6 +3,11 @@
<mat-card-subtitle><b>JOB LOGS</b></mat-card-subtitle> <mat-card-subtitle><b>JOB LOGS</b></mat-card-subtitle>
</mat-card-header> </mat-card-header>
<mat-card-content style="position: relative; height: calc(100% - 3em);"> <mat-card-content style="position: relative; height: calc(100% - 3em);">
<div *ngIf="!logs || logs.length == 0" fxLayout="row" fxFlexAlign="center stretch" style="text-align: center">
<div fxFill style="height: 100%;">
<img src="assets/image/logs.svg" alt="no logs" width="480" />
</div>
</div>
<div id="logs" style="overflow-y: auto; position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: auto;"> <div id="logs" style="overflow-y: auto; position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: auto;">
<div <div
*ngFor = "let log of logs; let first = first" fxLayout="row" fxLayout.xs="column" fxLayoutAlign="start" fxLayoutGap="10px"> *ngFor = "let log of logs; let first = first" fxLayout="row" fxLayout.xs="column" fxLayoutAlign="start" fxLayoutGap="10px">

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.0 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 21 KiB