1 <div class="main" *ngIf="(toolbarService.visible|async)">
2 <app-toolbar></app-toolbar>
4 <div class="example-container">
6 <ngb-toast *ngFor="let toast of toastService.toasts" [class]="toast.classname" [autohide]="true"
7 [delay]="toast.delay || 5000" (hide)="toastService.remove(toast)" aria-live="polite" aria-atomic="true">
8 <ng-template [ngIf]="isTemplate(toast)" [ngIfElse]="text">
9 <ng-template [ngTemplateOutlet]="toast.textOrTpl"></ng-template>
12 <ng-template #text>{{ toast.textOrTpl }}</ng-template>
15 <div class="stepper-com">
16 <mat-horizontal-stepper [linear]="isLinear" #stepper>
18 <ng-template matStepLabel>Basic Fields required</ng-template>
20 <mat-tab label="Insert Application Deployment Yaml files">
21 <div class="insert-deploy-yaml-card">
24 <mat-card-title>ELIOT Application Deployment</mat-card-title>
26 <form [formGroup]="deployForm" (ngSubmit)="onSubmit()">
28 <div class="app-accordion">
31 <mat-expansion-panel (opened)="typePanelOpenState = true"
32 (closed)="typePanelOpenState = false">
33 <mat-expansion-panel-header>
35 Custom Application Deployment details
37 </mat-expansion-panel-header>
38 <div class="upload-csar-label">
39 <p>Please upload Application csar file contains the deployment yaml
41 <mat-label>Application .csar package
42 containing deployment Yaml
44 <input type="file" formControlname="deployyamlfile"
45 (change)="fileProgress($event)" />
46 <div class="submit-button text-center">
48 class="btn btn-outline-info">Submit</button>
51 </mat-expansion-panel>
55 <div class="image-preview mb-3" *ngIf="previewFile">
56 <p> {{this.deployForm.get('deployyamlfile').value}} </p>
64 <mat-tab label="View / Edit Application Deployment Yaml files">
65 <mat-card>VIEW OF UPLOADED YAML FILE BEFORE DEPLOYMENT
67 <button mat-button matStepperNext>Next</button>
75 <div class="additional-fields-stepper">
77 <ng-template matStepLabel>Additional Fields required</ng-template>
78 <div class="nodes-radio-btn">
79 <label id="node-radio-group-label">Select the ELIOT node where you want to deploy the
81 <mat-radio-group aria-labelledby="node-radio-group-label" class="node-radio-group"
82 [(ngModel)]="nodeSelected">
83 <mat-radio-button class="node-radio-button" *ngFor="let node of nodes" [value]="node">
88 <div>Your Selected ELIOT Node is: {{nodeSelected}}</div>
89 <div class="node-label-txt">
91 <input matInput placeholder="Please enter the Node Label" [(ngModel)]="nodeLabelMentioned"
96 <button mat-button matStepperPrevious>Back</button>
97 <button mat-button matStepperNext (click)="addNodeDetails()">Next</button>
101 <div class="finish-stepper">
103 <ng-template matStepLabel>Finish - DEPLOYMENT</ng-template>
104 <div class="deploy-button">
105 <button mat-raised-button class="btn btn-outline-secondary" (click)="deploySuccess()">
110 <button mat-button matStepperPrevious>Back</button>
111 <button mat-button matStepperNext>Next</button>
115 </mat-horizontal-stepper>