mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-18 20:47:51 +00:00
Code formatting
This commit is contained in:
parent
21f1d3e624
commit
040447ffdf
@ -4,7 +4,7 @@ import { By } from '@angular/platform-browser';
|
||||
import { Router } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { ProgressService } from '../../common/progress/progress.service';
|
||||
import{ Controller } from '../../models/controller';
|
||||
import { Controller } from '../../models/controller';
|
||||
import { ControllerService } from '../../services/controller.service';
|
||||
import { MockedControllerService } from '../../services/controller.service.spec';
|
||||
import { MockedProgressService } from '../project-map/project-map.component.spec';
|
||||
@ -24,7 +24,7 @@ describe('BundledControllerFinderComponent', () => {
|
||||
navigate: jasmine.createSpy('navigate'),
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
controllerServiceMock = jasmine.createSpyObj<ControllerService>([
|
||||
"getLocalController"
|
||||
|
@ -2,7 +2,7 @@ import { DOCUMENT } from '@angular/common';
|
||||
import { Component, Inject, OnInit } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { ProgressService } from '../../common/progress/progress.service';
|
||||
import{ Controller } from '../../models/controller';
|
||||
import { Controller } from '../../models/controller';
|
||||
import { ControllerService } from '../../services/controller.service';
|
||||
|
||||
@Component({
|
||||
@ -22,7 +22,7 @@ export class BundledControllerFinderComponent implements OnInit {
|
||||
this.progressService.activate();
|
||||
setTimeout(() => {
|
||||
let port;
|
||||
|
||||
|
||||
if (parseInt(this.document.location.port, 10)) {
|
||||
port = parseInt(this.document.location.port, 10);
|
||||
} else if (this.document.location.protocol == "https:") {
|
||||
|
@ -2,7 +2,7 @@ import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testin
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatDividerModule } from '@angular/material/divider';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { Version } from '../../../models/version';
|
||||
import { ControllerDatabase } from '../../../services/controller.database';
|
||||
import { ControllerService } from '../../../services/controller.service';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
|
||||
import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import{ Controller } from '../../models/controller';
|
||||
import { Controller } from '../../models/controller';
|
||||
import { ControllerDatabase } from '../../services/controller.database';
|
||||
import { ControllerService } from '../../services/controller.service';
|
||||
import { ToasterService } from '../../services/toaster.service';
|
||||
|
@ -7,7 +7,7 @@ import { AddedDataEvent } from '../../../cartography/events/event-source';
|
||||
import { DefaultDrawingsFactory } from '../../../cartography/helpers/default-drawings-factory';
|
||||
import { Drawing } from '../../../cartography/models/drawing';
|
||||
import { Project } from '../../../models/project';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { DrawingService } from '../../../services/drawing.service';
|
||||
|
||||
@Component({
|
||||
|
@ -6,7 +6,7 @@ import { DraggedDataEvent } from '../../../cartography/events/event-source';
|
||||
import { Drawing } from '../../../cartography/models/drawing';
|
||||
import { MapDrawing } from '../../../cartography/models/map/map-drawing';
|
||||
import { Project } from '../../../models/project';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { DrawingService } from '../../../services/drawing.service';
|
||||
|
||||
@Component({
|
||||
|
@ -6,7 +6,7 @@ import { DrawingsEventSource } from '../../../cartography/events/drawings-event-
|
||||
import { ResizedDataEvent } from '../../../cartography/events/event-source';
|
||||
import { Drawing } from '../../../cartography/models/drawing';
|
||||
import { MapDrawing } from '../../../cartography/models/map/map-drawing';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { DrawingService } from '../../../services/drawing.service';
|
||||
|
||||
@Component({
|
||||
|
@ -5,7 +5,7 @@ import { DraggedDataEvent } from '../../../cartography/events/event-source';
|
||||
import { LinksEventSource } from '../../../cartography/events/links-event-source';
|
||||
import { MapLinkNode } from '../../../cartography/models/map/map-link-node';
|
||||
import { Link } from '../../../models/link';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { LinkService } from '../../../services/link.service';
|
||||
|
||||
@Component({
|
||||
|
@ -7,7 +7,7 @@ import { MapLinkCreated } from '../../../cartography/events/links';
|
||||
import { LinksEventSource } from '../../../cartography/events/links-event-source';
|
||||
import { Link } from '../../../models/link';
|
||||
import { Project } from '../../../models/project';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { LinkService } from '../../../services/link.service';
|
||||
import { ProjectService } from '../../../services/project.service';
|
||||
|
||||
|
@ -6,7 +6,7 @@ import { NodesEventSource } from '../../../cartography/events/nodes-event-source
|
||||
import { MapNode } from '../../../cartography/models/map/map-node';
|
||||
import { Node } from '../../../cartography/models/node';
|
||||
import { Project } from '../../../models/project';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { NodeService } from '../../../services/node.service';
|
||||
|
||||
@Component({
|
||||
|
@ -6,7 +6,7 @@ import { DraggedDataEvent } from '../../../cartography/events/event-source';
|
||||
import { NodesEventSource } from '../../../cartography/events/nodes-event-source';
|
||||
import { MapLabel } from '../../../cartography/models/map/map-label';
|
||||
import { Node } from '../../../cartography/models/node';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { NodeService } from '../../../services/node.service';
|
||||
|
||||
@Component({
|
||||
|
@ -9,7 +9,7 @@ import { Context } from '../../../cartography/models/context';
|
||||
import { Drawing } from '../../../cartography/models/drawing';
|
||||
import { TextElement } from '../../../cartography/models/drawings/text-element';
|
||||
import { Project } from '../../../models/project';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { DrawingService } from '../../../services/drawing.service';
|
||||
|
||||
@Component({
|
||||
|
@ -7,7 +7,7 @@ import { TextEditedDataEvent } from '../../../cartography/events/event-source';
|
||||
import { Drawing } from '../../../cartography/models/drawing';
|
||||
import { TextElement } from '../../../cartography/models/drawings/text-element';
|
||||
import { MapDrawing } from '../../../cartography/models/map/map-drawing';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { DrawingService } from '../../../services/drawing.service';
|
||||
|
||||
@Component({
|
||||
|
@ -2,7 +2,7 @@ import { Component, Inject, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { Project } from '../../models/project';
|
||||
import{ Controller } from '../../models/controller';
|
||||
import { Controller } from '../../models/controller';
|
||||
import { ProjectService } from '../../services/project.service';
|
||||
|
||||
@Component({
|
||||
|
@ -8,7 +8,7 @@ import { ImageManagerService } from 'app/services/image-manager.service';
|
||||
import { ControllerService } from '../../../services/controller.service';
|
||||
import { MockedControllerService } from '../../../services/controller.service.spec';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
|
||||
import { AddImageDialogComponent } from './add-image-dialog.component';
|
||||
import { NO_ERRORS_SCHEMA } from '@angular/core';
|
||||
|
@ -3,7 +3,7 @@ import { Component, Inject, OnInit } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { UploadServiceService } from 'app/common/uploading-processbar/upload-service.service';
|
||||
import { FileItem, FileUploader, ParsedResponseHeaders } from 'ng2-file-upload';
|
||||
import{ Controller } from '../../../models/controller';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { ImageManagerService } from '../../../services/image-manager.service';
|
||||
import { ToasterService } from '../../../services/toaster.service';
|
||||
|
||||
|
@ -9,7 +9,7 @@ import { ImageManagerService } from 'app/services/image-manager.service';
|
||||
import { ControllerService } from 'app/services/controller.service';
|
||||
import { MockedControllerService } from 'app/services/controller.service.spec';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../models/controller';
|
||||
import { Controller } from '../../models/controller';
|
||||
|
||||
import { ImageManagerComponent } from './image-manager.component';
|
||||
import { Image } from '../../models/images';
|
||||
|
@ -4,7 +4,7 @@ import { ControllerService } from '../../services/controller.service';
|
||||
import { VersionService } from '../../services/version.service';
|
||||
import { ProgressService } from 'app/common/progress/progress.service';
|
||||
import { Image } from '../../models/images';
|
||||
import{ Controller } from '../../models/controller';
|
||||
import { Controller } from '../../models/controller';
|
||||
import { ImageManagerService } from "../../services/image-manager.service";
|
||||
import { DataSource, SelectionModel } from '@angular/cdk/collections';
|
||||
import { AddImageDialogComponent } from './add-image-dialog/add-image-dialog.component';
|
||||
@ -60,7 +60,7 @@ export class ImageManagerComponent implements OnInit {
|
||||
},
|
||||
(error) => {
|
||||
this.toasterService.error(error.error.message)
|
||||
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ import { Component, DoCheck, OnInit, ViewEncapsulation } from '@angular/core';
|
||||
import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { AuthResponse } from '../../models/authResponse';
|
||||
import{ Controller } from '../../models/controller';
|
||||
import { Controller } from '../../models/controller';
|
||||
import { Version } from '../../models/version';
|
||||
import { LoginService } from '../../services/login.service';
|
||||
import { ControllerDatabase } from '../../services/controller.database';
|
||||
|
@ -10,7 +10,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { CloudTemplate } from '../../../../../models/templates/cloud-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ComputeService } from '../../../../../services/compute.service';
|
||||
|
@ -3,7 +3,7 @@ import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators }
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { Compute } from '../../../../../models/compute';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { CloudTemplate } from '../../../../../models/templates/cloud-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ComputeService } from '../../../../../services/compute.service';
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class="content" [ngClass]="{ shadowed: isSymbolSelectionOpened }">
|
||||
<div class="default-header">
|
||||
<div class="row">
|
||||
<h1 class="col">Cloud configuration</h1>
|
||||
<h1 class="col">Cloud node template configuration</h1>
|
||||
</div>
|
||||
<div class="default-content" *ngIf="cloudNodeTemplate">
|
||||
<mat-accordion>
|
||||
@ -12,27 +12,27 @@
|
||||
</mat-panel-title>
|
||||
</mat-expansion-panel-header>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.name"
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.name"
|
||||
placeholder="Template name">
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.default_name_format"
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.default_name_format"
|
||||
placeholder="Default name format">
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.symbol"
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.symbol"
|
||||
placeholder="Symbol">
|
||||
</mat-form-field>
|
||||
<button mat-button class="symbolSelectionButton" (click)="chooseSymbol()">Choose symbol</button><br/><br/>
|
||||
<mat-form-field class="form-field">
|
||||
<mat-select
|
||||
placeholder="Category"
|
||||
<mat-select
|
||||
placeholder="Category"
|
||||
[(ngModel)]="cloudNodeTemplate.category">
|
||||
<mat-option *ngFor="let category of categories" [value]="category[1]">
|
||||
{{category[0]}}
|
||||
@ -40,8 +40,8 @@
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field class="select">
|
||||
<mat-select
|
||||
placeholder="Console type"
|
||||
<mat-select
|
||||
placeholder="Console type"
|
||||
[(ngModel)]="cloudNodeTemplate.console_type">
|
||||
<mat-option *ngFor="let type of consoleTypes" [value]="type">
|
||||
{{type}}
|
||||
@ -49,21 +49,21 @@
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.remote_console_host"
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.remote_console_host"
|
||||
placeholder="Console host">
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.remote_console_port"
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.remote_console_port"
|
||||
placeholder="Console port">
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.remote_console_http_path"
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="cloudNodeTemplate.remote_console_http_path"
|
||||
placeholder="Console HTTP path">
|
||||
</mat-form-field>
|
||||
</mat-expansion-panel>
|
||||
@ -77,16 +77,16 @@
|
||||
<div class="form-field">{{port.name}}</div><br/><br/>
|
||||
</div>
|
||||
<mat-form-field class="select">
|
||||
<mat-select
|
||||
placeholder="Ethernet interface"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
<mat-select
|
||||
placeholder="Ethernet interface"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
[(ngModel)]="ethernetInterface">
|
||||
<mat-option *ngFor="let type of ethernetInterfaces" [value]="type">
|
||||
{{type}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<button mat-button class="form-field" (click)="onAddEthernetInterface()">Add</button>
|
||||
<button mat-button class="form-field" (click)="onAddEthernetInterface()">Add</button>
|
||||
</mat-expansion-panel>
|
||||
<mat-expansion-panel>
|
||||
<mat-expansion-panel-header>
|
||||
@ -98,12 +98,12 @@
|
||||
<div class="form-field">{{port.name}}</div><br/><br/>
|
||||
</div>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="tapInterface"
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="tapInterface"
|
||||
placeholder="TAP interface">
|
||||
</mat-form-field>
|
||||
<button mat-button class="form-field" (click)="onAddTapInterface()">Add</button>
|
||||
<button mat-button class="form-field" (click)="onAddTapInterface()">Add</button>
|
||||
</mat-expansion-panel>
|
||||
<mat-expansion-panel>
|
||||
<mat-expansion-panel-header>
|
||||
@ -116,12 +116,12 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Name </th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.name}} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="rport">
|
||||
<th mat-header-cell *matHeaderCellDef> Local port </th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.rport}} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="rhost">
|
||||
<th mat-header-cell *matHeaderCellDef> Type </th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.rhost}} </td>
|
||||
@ -131,33 +131,33 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Remote port </th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.lport}} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
||||
</table>
|
||||
<br *ngIf="dataSourceUdp.length"/>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="newPort.name"
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="newPort.name"
|
||||
placeholder="Name">
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="number"
|
||||
[(ngModel)]="newPort.lport"
|
||||
<input
|
||||
matInput type="number"
|
||||
[(ngModel)]="newPort.lport"
|
||||
placeholder="Local port">
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="newPort.rhost"
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="newPort.rhost"
|
||||
placeholder="Remote host">
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="number"
|
||||
[(ngModel)]="newPort.rport"
|
||||
<input
|
||||
matInput type="number"
|
||||
[(ngModel)]="newPort.rport"
|
||||
placeholder="Remote port">
|
||||
</mat-form-field>
|
||||
<button mat-button class="form-field" (click)="onAddUdpInterface()">Add</button>
|
||||
|
@ -11,7 +11,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { CloudTemplate } from '../../../../../models/templates/cloud-template';
|
||||
import { BuiltInTemplatesConfigurationService } from '../../../../../services/built-in-templates-configuration.service';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { PortsMappingEntity } from '../../../../../models/ethernetHub/ports-mapping-enity';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { CloudTemplate } from '../../../../../models/templates/cloud-template';
|
||||
import { BuiltInTemplatesConfigurationService } from '../../../../../services/built-in-templates-configuration.service';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
|
@ -9,7 +9,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { CloudTemplate } from '../../../../../models/templates/cloud-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ControllerService } from '../../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { CloudTemplate } from '../../../../../models/templates/cloud-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ControllerService } from '../../../../../services/controller.service';
|
||||
|
@ -10,7 +10,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetHubTemplate } from '../../../../../models/templates/ethernet-hub-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ComputeService } from '../../../../../services/compute.service';
|
||||
|
@ -3,7 +3,7 @@ import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators }
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { Compute } from '../../../../../models/compute';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetHubTemplate } from '../../../../../models/templates/ethernet-hub-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ComputeService } from '../../../../../services/compute.service';
|
||||
|
@ -13,7 +13,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<h1 class="col">Ethernet hub settings</h1>
|
||||
<h1 class="col">Ethernet hub template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,7 +11,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetHubTemplate } from '../../../../../models/templates/ethernet-hub-template';
|
||||
import { BuiltInTemplatesConfigurationService } from '../../../../../services/built-in-templates-configuration.service';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetHubTemplate } from '../../../../../models/templates/ethernet-hub-template';
|
||||
import { BuiltInTemplatesConfigurationService } from '../../../../../services/built-in-templates-configuration.service';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
|
@ -9,7 +9,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetHubTemplate } from '../../../../../models/templates/ethernet-hub-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ControllerService } from '../../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetHubTemplate } from '../../../../../models/templates/ethernet-hub-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ControllerService } from '../../../../../services/controller.service';
|
||||
|
@ -10,7 +10,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetSwitchTemplate } from '../../../../../models/templates/ethernet-switch-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ComputeService } from '../../../../../services/compute.service';
|
||||
|
@ -3,7 +3,7 @@ import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators }
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { Compute } from '../../../../../models/compute';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetSwitchTemplate } from '../../../../../models/templates/ethernet-switch-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ComputeService } from '../../../../../services/compute.service';
|
||||
|
@ -7,7 +7,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<h1 class="col">Ethernet switch configuration</h1>
|
||||
<h1 class="col">Ethernet switch template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,7 +11,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetSwitchTemplate } from '../../../../../models/templates/ethernet-switch-template';
|
||||
import { BuiltInTemplatesConfigurationService } from '../../../../../services/built-in-templates-configuration.service';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetSwitchTemplate } from '../../../../../models/templates/ethernet-switch-template';
|
||||
import { BuiltInTemplatesConfigurationService } from '../../../../../services/built-in-templates-configuration.service';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
|
@ -9,7 +9,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetSwitchTemplate } from '../../../../../models/templates/ethernet-switch-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ControllerService } from '../../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import{ Controller } from '../../../../../models/controller';
|
||||
import { Controller } from '../../../../../models/controller';
|
||||
import { EthernetSwitchTemplate } from '../../../../../models/templates/ethernet-switch-template';
|
||||
import { BuiltInTemplatesService } from '../../../../../services/built-in-templates.service';
|
||||
import { ControllerService } from '../../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { TemplateService } from '../../../../services/template.service';
|
||||
import { ToasterService } from '../../../../services/toaster.service';
|
||||
import { DeleteConfirmationDialogComponent } from '../delete-confirmation-dialog/delete-confirmation-dialog.component';
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
|
||||
@Component({
|
||||
selector: 'app-symbols-menu',
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||
import { environment } from 'environments/environment';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { Symbol } from '../../../../models/symbol';
|
||||
import { SymbolService } from '../../../../services/symbol.service';
|
||||
|
||||
@ -73,7 +73,7 @@ export class SymbolsComponent implements OnInit {
|
||||
}
|
||||
|
||||
private createSvgFileForImage(image: string | ArrayBuffer, imageToUpload: HTMLImageElement) {
|
||||
return `<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" height=\"${imageToUpload.height}\"
|
||||
return `<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" height=\"${imageToUpload.height}\"
|
||||
width=\"${imageToUpload.width}\">\n<image height=\"${imageToUpload.height}\" width=\"${imageToUpload.width}\" xlink:href=\"${image}\"/>\n</svg>`;
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { DockerTemplate } from '../../../../models/templates/docker-template';
|
||||
import { DockerConfigurationService } from '../../../../services/docker-configuration.service';
|
||||
import { DockerService } from '../../../../services/docker.service';
|
||||
|
@ -4,7 +4,7 @@ import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { Compute } from '../../../../models/compute';
|
||||
import { DockerImage } from '../../../../models/docker/docker-image';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { DockerTemplate } from '../../../../models/templates/docker-template';
|
||||
import { ComputeService } from '../../../../services/compute.service';
|
||||
import { DockerConfigurationService } from '../../../../services/docker-configuration.service';
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { DockerTemplate } from '../../../../models/templates/docker-template';
|
||||
import { DockerService } from '../../../../services/docker.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -7,7 +7,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="col col-md-11">
|
||||
<h1 class="col">Docker image configuration</h1>
|
||||
<h1 class="col">Docker container template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { DockerTemplate } from '../../../../models/templates/docker-template';
|
||||
import { DockerConfigurationService } from '../../../../services/docker-configuration.service';
|
||||
import { DockerService } from '../../../../services/docker.service';
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { CustomAdapter } from '../../../../models/qemu/qemu-custom-adapter';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { DockerTemplate } from '../../../../models/templates/docker-template';
|
||||
import { DockerConfigurationService } from '../../../../services/docker-configuration.service';
|
||||
import { DockerService } from '../../../../services/docker.service';
|
||||
|
@ -9,7 +9,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { DockerTemplate } from '../../../../models/templates/docker-template';
|
||||
import { DockerService } from '../../../../services/docker.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { DockerTemplate } from '../../../../models/templates/docker-template';
|
||||
import { DockerService } from '../../../../services/docker.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -16,7 +16,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IosTemplate } from '../../../../models/templates/ios-template';
|
||||
import { IosConfigurationService } from '../../../../services/ios-configuration.service';
|
||||
import { IosService } from '../../../../services/ios.service';
|
||||
|
@ -10,7 +10,7 @@ import { Subscription } from 'rxjs';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { Compute } from '../../../../models/compute';
|
||||
import { IosImage } from '../../../../models/images/ios-image';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IosTemplate } from '../../../../models/templates/ios-template';
|
||||
import { ComputeService } from '../../../../services/compute.service';
|
||||
import { IosConfigurationService } from '../../../../services/ios-configuration.service';
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IosTemplate } from '../../../../models/templates/ios-template';
|
||||
import { IosService } from '../../../../services/ios.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { ControllerSettingsService } from '../../../../services/controller-settings.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class="content" [ngClass]="{ shadowed: isSymbolSelectionOpened }">
|
||||
<div class="default-header">
|
||||
<div class="row">
|
||||
<h1 class="col">Dynamips IOS Router configuration</h1>
|
||||
<h1 class="col">IOS router template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="default-content" *ngIf="iosTemplate">
|
||||
|
@ -10,7 +10,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IosTemplate } from '../../../../models/templates/ios-template';
|
||||
import { IosConfigurationService } from '../../../../services/ios-configuration.service';
|
||||
import { IosService } from '../../../../services/ios.service';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IosTemplate } from '../../../../models/templates/ios-template';
|
||||
import { IosConfigurationService } from '../../../../services/ios-configuration.service';
|
||||
import { IosService } from '../../../../services/ios.service';
|
||||
|
@ -9,7 +9,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IosTemplate } from '../../../../models/templates/ios-template';
|
||||
import { IosService } from '../../../../services/ios.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IosTemplate } from '../../../../models/templates/ios-template';
|
||||
import { VpcsTemplate } from '../../../../models/templates/vpcs-template';
|
||||
import { IosService } from '../../../../services/ios.service';
|
||||
|
@ -16,7 +16,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IouTemplate } from '../../../../models/templates/iou-template';
|
||||
import { IouConfigurationService } from '../../../../services/iou-configuration.service';
|
||||
import { IouService } from '../../../../services/iou.service';
|
||||
|
@ -9,7 +9,7 @@ import { Subscription } from 'rxjs';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { Compute } from '../../../../models/compute';
|
||||
import { IouImage } from '../../../../models/iou/iou-image';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IouTemplate } from '../../../../models/templates/iou-template';
|
||||
import { ComputeService } from '../../../../services/compute.service';
|
||||
import { IouService } from '../../../../services/iou.service';
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IouTemplate } from '../../../../models/templates/iou-template';
|
||||
import { IouService } from '../../../../services/iou.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -8,7 +8,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="col col-md-11">
|
||||
<h1 class="col">IOU device configuration</h1>
|
||||
<h1 class="col">IOU device template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IouTemplate } from '../../../../models/templates/iou-template';
|
||||
import { IouConfigurationService } from '../../../../services/iou-configuration.service';
|
||||
import { IouService } from '../../../../services/iou.service';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IouTemplate } from '../../../../models/templates/iou-template';
|
||||
import { IouConfigurationService } from '../../../../services/iou-configuration.service';
|
||||
import { IouService } from '../../../../services/iou.service';
|
||||
|
@ -9,7 +9,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IouTemplate } from '../../../../models/templates/iou-template';
|
||||
import { IouService } from '../../../../services/iou.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { IouTemplate } from '../../../../models/templates/iou-template';
|
||||
import { IouService } from '../../../../services/iou.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -15,7 +15,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { QemuTemplate } from '../../../../models/templates/qemu-template';
|
||||
import { QemuConfigurationService } from '../../../../services/qemu-configuration.service';
|
||||
import { QemuService } from '../../../../services/qemu.service';
|
||||
|
@ -9,7 +9,7 @@ import { v4 as uuid } from 'uuid';
|
||||
import { Compute } from '../../../../models/compute';
|
||||
import { QemuBinary } from '../../../../models/qemu/qemu-binary';
|
||||
import { QemuImage } from '../../../../models/qemu/qemu-image';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { QemuTemplate } from '../../../../models/templates/qemu-template';
|
||||
import { ComputeService } from '../../../../services/compute.service';
|
||||
import { QemuConfigurationService } from '../../../../services/qemu-configuration.service';
|
||||
|
@ -3,7 +3,7 @@ import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators }
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { QemuBinary } from '../../../../models/qemu/qemu-binary';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { QemuTemplate } from '../../../../models/templates/qemu-template';
|
||||
import { QemuService } from '../../../../services/qemu.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { QemuSettings } from '../../../../models/settings/qemu-settings';
|
||||
import { ControllerSettingsService } from '../../../../services/controller-settings.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -7,7 +7,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="col col-md-11">
|
||||
<h1 class="col">QEMU VM configuration</h1>
|
||||
<h1 class="col">QEMU VM template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,7 +11,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { QemuTemplate } from '../../../../models/templates/qemu-template';
|
||||
import { QemuConfigurationService } from '../../../../services/qemu-configuration.service';
|
||||
import { QemuService } from '../../../../services/qemu.service';
|
||||
|
@ -3,7 +3,7 @@ import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators }
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { QemuBinary } from '../../../../models/qemu/qemu-binary';
|
||||
import { CustomAdapter } from '../../../../models/qemu/qemu-custom-adapter';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { QemuTemplate } from '../../../../models/templates/qemu-template';
|
||||
import { QemuConfigurationService } from '../../../../services/qemu-configuration.service';
|
||||
import { QemuService } from '../../../../services/qemu.service';
|
||||
|
@ -9,7 +9,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { QemuTemplate } from '../../../../models/templates/qemu-template';
|
||||
import { QemuService } from '../../../../services/qemu.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { QemuTemplate } from '../../../../models/templates/qemu-template';
|
||||
import { QemuService } from '../../../../services/qemu.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -10,7 +10,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VirtualBoxTemplate } from '../../../../models/templates/virtualbox-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { MockedControllerService } from '../../../../services/controller.service.spec';
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VirtualBoxTemplate } from '../../../../models/templates/virtualbox-template';
|
||||
import { VirtualBoxVm } from '../../../../models/virtualBox/virtual-box-vm';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
||||
@Component({
|
||||
|
@ -7,7 +7,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="col col-md-11">
|
||||
<h1 class="col">VirtualBox VM configuration</h1>
|
||||
<h1 class="col">VirtualBox VM template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,7 +11,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VirtualBoxTemplate } from '../../../../models/templates/virtualbox-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { MockedControllerService } from '../../../../services/controller.service.spec';
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { CustomAdapter } from '../../../../models/qemu/qemu-custom-adapter';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VirtualBoxTemplate } from '../../../../models/templates/virtualbox-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { ToasterService } from '../../../../services/toaster.service';
|
||||
|
@ -9,7 +9,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VirtualBoxTemplate } from '../../../../models/templates/virtualbox-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { MockedControllerService } from '../../../../services/controller.service.spec';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VirtualBoxTemplate } from '../../../../models/templates/virtualbox-template';
|
||||
import { VpcsTemplate } from '../../../../models/templates/vpcs-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VmwareTemplate } from '../../../../models/templates/vmware-template';
|
||||
import { VmwareVm } from '../../../../models/vmware/vmware-vm';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -10,7 +10,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VmwareTemplate } from '../../../../models/templates/vmware-template';
|
||||
import { VmwareVm } from '../../../../models/vmware/vmware-vm';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
||||
@Component({
|
||||
|
@ -7,7 +7,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="col col-md-11">
|
||||
<h1 class="col">VMware VM configuration</h1>
|
||||
<h1 class="col">VMware VM template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,7 +11,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VmwareTemplate } from '../../../../models/templates/vmware-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { MockedControllerService } from '../../../../services/controller.service.spec';
|
||||
|
@ -2,7 +2,7 @@ import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { CustomAdapter } from '../../../../models/qemu/qemu-custom-adapter';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VmwareTemplate } from '../../../../models/templates/vmware-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { ToasterService } from '../../../../services/toaster.service';
|
||||
|
@ -9,7 +9,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VmwareTemplate } from '../../../../models/templates/vmware-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { MockedControllerService } from '../../../../services/controller.service.spec';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VmwareTemplate } from '../../../../models/templates/vmware-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { VmwareService } from '../../../../services/vmware.service';
|
||||
|
@ -10,7 +10,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VpcsTemplate } from '../../../../models/templates/vpcs-template';
|
||||
import { ComputeService } from '../../../../services/compute.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -3,7 +3,7 @@ import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators }
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { Compute } from '../../../../models/compute';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VpcsTemplate } from '../../../../models/templates/vpcs-template';
|
||||
import { ComputeService } from '../../../../services/compute.service';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
|
||||
@Component({
|
||||
|
@ -13,7 +13,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="col col-md-11">
|
||||
<h1 class="col">VPCS device configuration</h1>
|
||||
<h1 class="col">VPCS node template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VpcsTemplate } from '../../../../models/templates/vpcs-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { MockedControllerService } from '../../../../services/controller.service.spec';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VpcsTemplate } from '../../../../models/templates/vpcs-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { ToasterService } from '../../../../services/toaster.service';
|
||||
|
@ -9,7 +9,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
import{ Controller } from '../../../../models/controller';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { VpcsTemplate } from '../../../../models/templates/vpcs-template';
|
||||
import { ControllerService } from '../../../../services/controller.service';
|
||||
import { MockedControllerService } from '../../../../services/controller.service.spec';
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user