mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-27 14:29:45 +00:00
Change sentence "on your local computer" to "locally"
This commit is contained in:
parent
1ed8123082
commit
0cee6188fb
src/app/components/preferences
built-in
cloud-nodes/cloud-nodes-add-template
ethernet-hubs/ethernet-hubs-add-template
ethernet-switches/ethernet-switches-add-template
docker/add-docker-template
dynamips/add-ios-template
ios-on-unix/add-iou-template
qemu/add-qemu-vm-template
vpcs/add-vpcs-template
@ -7,7 +7,7 @@
|
||||
<div class="default-content">
|
||||
<mat-card class="matCard">
|
||||
<mat-radio-group class="radio-group">
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run the cloud node on your local computer</mat-radio-button>
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run the cloud node locally</mat-radio-button>
|
||||
<mat-radio-button [disabled]="!isGns3VmAvailable" class="radio-button" value="2" (click)="setServerType('gns3 vm')">Run the cloud node on the GNS3 VM</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div class="default-content">
|
||||
<mat-card class="matCard">
|
||||
<mat-radio-group class="radio-group">
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run the Ethernet Hub on your local computer</mat-radio-button>
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run the Ethernet Hub locally</mat-radio-button>
|
||||
<mat-radio-button [disabled]="!isGns3VmAvailable" class="radio-button" value="2" (click)="setServerType('gns3 vm')">Run the Ethernet Hub on the GNS3 VM</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
|
||||
|
@ -7,10 +7,10 @@
|
||||
<div class="default-content">
|
||||
<mat-card class="matCard">
|
||||
<mat-radio-group class="radio-group">
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run the Ethernet switch on your local computer</mat-radio-button>
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run the Ethernet switch locally</mat-radio-button>
|
||||
<mat-radio-button [disabled]="!isGns3VmAvailable" class="radio-button" value="2" (click)="setServerType('gns3 vm')">Run the Ethernet switch on the GNS3 VM</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
|
||||
|
||||
<form [formGroup]="formGroup">
|
||||
<mat-form-field class="form-field">
|
||||
<input formControlName="templateName" matInput type="text" placeholder="Template name">
|
||||
|
@ -10,7 +10,7 @@
|
||||
<mat-step label="Server type">
|
||||
<mat-radio-group class="radio-group">
|
||||
<!-- <mat-radio-button class="radio-button" value="1" (click)="setServerType('remote computer')">Run this Docker container on a remote computer</mat-radio-button> -->
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run this Docker container on your local computer</mat-radio-button>
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run this Docker container locally</mat-radio-button>
|
||||
<mat-radio-button [disabled]="!isGns3VmAvailable" class="radio-button" value="2" (click)="setServerType('gns3 vm')">Run this Docker container on the GNS3 VM</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
</mat-step>
|
||||
@ -20,10 +20,10 @@
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setDiskImage('existingImage')" checked>Existing image</mat-radio-button>
|
||||
<mat-radio-button class="radio-button" value="2" (click)="setDiskImage('newImage')">New image</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
<mat-select
|
||||
*ngIf="!newImageSelected"
|
||||
placeholder="Image list"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
<mat-select
|
||||
*ngIf="!newImageSelected"
|
||||
placeholder="Image list"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
[(ngModel)]="selectedImage">
|
||||
<mat-option *ngFor="let image of dockerImages" [value]="image">
|
||||
{{image.image}}
|
||||
@ -75,9 +75,9 @@
|
||||
</mat-form-field>
|
||||
</mat-step>
|
||||
<mat-step label="Console type">
|
||||
<mat-select
|
||||
placeholder="Console type"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
<mat-select
|
||||
placeholder="Console type"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
[(ngModel)]="dockerTemplate.console_type">
|
||||
<mat-option *ngFor="let type of consoleTypes" [value]="type">
|
||||
{{type}}
|
||||
|
@ -9,7 +9,7 @@
|
||||
<mat-vertical-stepper [linear]="true">
|
||||
<mat-step label="Server type">
|
||||
<mat-radio-group class="radio-group">
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run this IOS router on your local computer</mat-radio-button>
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run this IOS router locally</mat-radio-button>
|
||||
<mat-radio-button [disabled]="!isGns3VmAvailable" class="radio-button" value="2" (click)="setServerType('gns3 vm')">Run this IOS router on the GNS3 VM</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
</mat-step>
|
||||
@ -26,8 +26,8 @@
|
||||
<button mat-raised-button color="primary" (click)="file.click()">Click to add image</button> or create from existing one
|
||||
<form [formGroup]="iosImageForm">
|
||||
<mat-form-field class="form-field">
|
||||
<mat-select
|
||||
placeholder="Image"
|
||||
<mat-select
|
||||
placeholder="Image"
|
||||
(selectionChange)="onImageChosen($event)"
|
||||
formControlName="imageName">
|
||||
<mat-option *ngFor="let image of iosImages" [value]="image.filename">
|
||||
@ -40,14 +40,14 @@
|
||||
<mat-step label="Name and platform">
|
||||
<form [formGroup]="iosNameForm">
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
<input
|
||||
matInput type="text"
|
||||
formControlName="templateName"
|
||||
placeholder="Name"/>
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field">
|
||||
<mat-select
|
||||
placeholder="Platform"
|
||||
<mat-select
|
||||
placeholder="Platform"
|
||||
(selectionChange)="onPlatformChosen($event)"
|
||||
formControlName="platform">
|
||||
<mat-option *ngFor="let platform of platforms" [value]="platform">
|
||||
@ -56,8 +56,8 @@
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field" *ngIf="chassis[iosNameForm.get('platform').value]">
|
||||
<mat-select
|
||||
placeholder="Chassis"
|
||||
<mat-select
|
||||
placeholder="Chassis"
|
||||
(selectionChange)="onChassisChosen($event)"
|
||||
formControlName="chassis">
|
||||
<mat-option *ngFor="let chassis of chassis[iosNameForm.get('platform').value]" [value]="chassis">
|
||||
@ -66,8 +66,8 @@
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
</form>
|
||||
<mat-checkbox
|
||||
*ngIf="platformsWithEtherSwitchRouterOption[iosTemplate.platform]"
|
||||
<mat-checkbox
|
||||
*ngIf="platformsWithEtherSwitchRouterOption[iosTemplate.platform]"
|
||||
[(ngModel)]="isEtherSwitchRouter">
|
||||
This is an EtherSwitch router
|
||||
</mat-checkbox>
|
||||
@ -75,8 +75,8 @@
|
||||
<mat-step label="Memory">
|
||||
<form [formGroup]="iosMemoryForm">
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="number"
|
||||
<input
|
||||
matInput type="number"
|
||||
formControlName="memory"
|
||||
value="defaultRam[iosNameForm.get('platform').value]"
|
||||
placeholder="Default RAM"/>
|
||||
@ -90,51 +90,51 @@
|
||||
<mat-step label="Network adapters">
|
||||
<div *ngIf="chassis[iosNameForm.get('platform').value]">
|
||||
<div *ngFor="let index of [0,1,2,3,4,5,6,7]">
|
||||
<mat-select
|
||||
placeholder="Slot {{index}}"
|
||||
<mat-select
|
||||
placeholder="Slot {{index}}"
|
||||
[(ngModel)]="networkAdaptersForTemplate[index]"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
*ngIf="networkAdapters[iosNameForm.get('chassis').value] && networkAdapters[iosNameForm.get('chassis').value][index]">
|
||||
<mat-option *ngFor="let option of networkAdapters[iosNameForm.get('chassis').value][index]" [value]="option">
|
||||
{{option}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-select>
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="chassis[iosNameForm.get('platform').value]">
|
||||
<div *ngFor="let index of [0,1,2,3,4,5,6,7]">
|
||||
<mat-select
|
||||
placeholder="Slot {{index}}"
|
||||
<mat-select
|
||||
placeholder="Slot {{index}}"
|
||||
[(ngModel)]="networkAdaptersForTemplate[index]"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
*ngIf="networkAdaptersForPlatform[iosNameForm.get('platform').value] && networkAdaptersForPlatform[iosNameForm.get('platform').value][index]">
|
||||
<mat-option *ngFor="let option of networkAdaptersForPlatform[iosNameForm.get('platform').value][index]" [value]="option">
|
||||
{{option}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-select>
|
||||
</div>
|
||||
</div>
|
||||
</mat-step>
|
||||
<mat-step label="WIC modules">
|
||||
<div *ngIf="iosNameForm.get('platform').value">
|
||||
<div *ngFor="let index of [0,1,2,3]">
|
||||
<mat-select
|
||||
placeholder="WIC {{index}}"
|
||||
<mat-select
|
||||
placeholder="WIC {{index}}"
|
||||
[(ngModel)]="networkModulesForTemplate[index]"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
*ngIf="networkModules[iosNameForm.get('platform').value] && networkModules[iosNameForm.get('platform').value][index]">
|
||||
<mat-option *ngFor="let option of networkModules[iosNameForm.get('platform').value][index]" [value]="option">
|
||||
{{option}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-select>
|
||||
</div>
|
||||
</div>
|
||||
</mat-step>
|
||||
<mat-step label="Idle-PC">
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="iosTemplate.idlepc"
|
||||
<input
|
||||
matInput type="text"
|
||||
[(ngModel)]="iosTemplate.idlepc"
|
||||
placeholder="Idle-PC"/>
|
||||
</mat-form-field>
|
||||
</mat-step>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<mat-vertical-stepper [linear]="true">
|
||||
<mat-step label="Server type">
|
||||
<mat-radio-group class="radio-group">
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run this IOU device on your local computer</mat-radio-button>
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run this IOU device locally</mat-radio-button>
|
||||
<mat-radio-button [disabled]="!isGns3VmAvailable" class="radio-button" value="2" (click)="setServerType('gns3 vm')">Run this IOU device on the GNS3 VM</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
</mat-step>
|
||||
@ -27,8 +27,8 @@
|
||||
<mat-radio-button class="radio-button" value="2" (click)="setDiskImage('newImage')">New image</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
<mat-form-field class="form-field">
|
||||
<mat-select
|
||||
placeholder="Type"
|
||||
<mat-select
|
||||
placeholder="Type"
|
||||
[(ngModel)]="selectedType"
|
||||
[ngModelOptions]="{standalone: true}">
|
||||
<mat-option *ngFor="let type of types" [value]="type">
|
||||
@ -37,8 +37,8 @@
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field class="form-field" *ngIf="!newImageSelected">
|
||||
<mat-select
|
||||
placeholder="IOU image"
|
||||
<mat-select
|
||||
placeholder="IOU image"
|
||||
[(ngModel)]="iouTemplate.path"
|
||||
[ngModelOptions]="{standalone: true}">
|
||||
<mat-option *ngFor="let image of iouImages" [value]="image.path">
|
||||
|
@ -9,7 +9,7 @@
|
||||
<mat-vertical-stepper [linear]="true">
|
||||
<mat-step label="Server type">
|
||||
<mat-radio-group class="radio-group">
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run this QEMU VM on your local computer</mat-radio-button>
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run this QEMU VM locally</mat-radio-button>
|
||||
<mat-radio-button [disabled]="!isGns3VmAvailable" class="radio-button" value="2" (click)="setServerType('gns3 vm')">Run this QEMU VM on the GNS3 VM</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
</mat-step>
|
||||
@ -17,8 +17,8 @@
|
||||
<mat-step label="QEMU VM Name">
|
||||
<form [formGroup]="nameForm">
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="text"
|
||||
<input
|
||||
matInput type="text"
|
||||
formControlName="templateName"
|
||||
placeholder="Please choose a descriptive name for your new QEMU virtual machine"
|
||||
ngDefaultContro/>
|
||||
@ -31,7 +31,7 @@
|
||||
<mat-step label="QEMU binary and memory">
|
||||
<form [formGroup]="memoryForm">
|
||||
<mat-form-field class="form-field">
|
||||
<mat-select
|
||||
<mat-select
|
||||
placeholder="Qemu binary"
|
||||
[(ngModel)]="selectedBinary"
|
||||
[ngModelOptions]="{standalone: true}">
|
||||
@ -41,9 +41,9 @@
|
||||
</mat-select>
|
||||
</mat-form-field><br/>
|
||||
<mat-form-field class="form-field">
|
||||
<input
|
||||
matInput type="number"
|
||||
placeholder="RAM"
|
||||
<input
|
||||
matInput type="number"
|
||||
placeholder="RAM"
|
||||
formControlName="ramMemory"
|
||||
ngDefaultContro/>
|
||||
<span matSuffix>MB</span>
|
||||
@ -52,8 +52,8 @@
|
||||
</mat-step>
|
||||
<mat-step label="Console type">
|
||||
<mat-form-field class="form-field">
|
||||
<mat-select
|
||||
placeholder="Console type"
|
||||
<mat-select
|
||||
placeholder="Console type"
|
||||
[(ngModel)]="qemuTemplate.console_type"
|
||||
[ngModelOptions]="{standalone: true}" >
|
||||
<mat-option *ngFor="let type of consoleTypes" [value]="type">
|
||||
@ -68,10 +68,10 @@
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setDiskImage('existingImage')" checked>Existing image</mat-radio-button>
|
||||
<mat-radio-button class="radio-button" value="2" (click)="setDiskImage('newImage')">New image</mat-radio-button>
|
||||
</mat-radio-group><br/><br/>
|
||||
<mat-select
|
||||
*ngIf="!newImageSelected"
|
||||
placeholder="Disk image (hda)"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
<mat-select
|
||||
*ngIf="!newImageSelected"
|
||||
placeholder="Disk image (hda)"
|
||||
[ngModelOptions]="{standalone: true}"
|
||||
[(ngModel)]="selectedImage">
|
||||
<mat-option *ngFor="let image of qemuImages" [value]="image">
|
||||
{{image.filename}}
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div class="default-content">
|
||||
<mat-card class="matCard">
|
||||
<mat-radio-group class="radio-group">
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run the VPCS node on your local computer</mat-radio-button>
|
||||
<mat-radio-button class="radio-button" value="1" (click)="setServerType('local')" checked>Run the VPCS node locally</mat-radio-button>
|
||||
<mat-radio-button [disabled]="!isGns3VmAvailable" class="radio-button" value="2" (click)="setServerType('gns3 vm')">Run the VPCS node on the GNS3 VM</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user