adding dashbord
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<div *ngIf="dashboard === undefined" class="spinner">
|
||||
<mat-spinner></mat-spinner>
|
||||
</div>
|
||||
<div *ngIf="dashboard !== undefined" class="content">
|
||||
<div class="toolbar">
|
||||
<button mat-stroked-button (click)="addText()">Add Text</button>
|
||||
<button mat-stroked-button (click)="addPlot()">Add Plot</button>
|
||||
<button mat-stroked-button (click)="save()">Save Dashboard</button>
|
||||
</div>
|
||||
<h1>{{dashboard.name}}</h1>
|
||||
<p>{{dashboard.description}}</p>
|
||||
|
||||
<app-text-widget *ngFor="let textWidget of dashboard.texts" [text]="textWidget.text"></app-text-widget>
|
||||
</div>
|
||||
Reference in New Issue
Block a user