Skip to content

Commit

Permalink
NAS-132300: Remove empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanY147 committed Dec 12, 2024
1 parent da40c94 commit 485ae1f
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@
></ix-input>

<ix-checkbox

formControlName="autostart"
[label]="'Autostart' | translate"
></ix-checkbox>

<div class="image-field">
<ix-input
class="input"

formControlName="image"
[readonly]="true"
[label]="'Image' | translate"
Expand All @@ -41,14 +39,12 @@
<ix-form-section [label]="'CPU & Memory' | translate" [help]="'CPU & Memory' | translate">
<ix-input
formControlName="cpu"

[label]="'CPU Configuration' | translate"
[hint]="containersHelptext.cpuHint"
></ix-input>

<ix-input
formControlName="memory"

[label]="'Memory Size' | translate"
[format]="formatter.memorySizeFormatting"
[parse]="formatter.memorySizeParsing"
Expand All @@ -59,7 +55,6 @@
<ix-form-section [label]="'Environment' | translate" [help]="'Environment' | translate">
<ix-list
formArrayName="environment_variables"

[empty]="form.controls.environment_variables.controls.length === 0"
[label]="'Environment Variables' | translate"
(add)="addEnvironmentVariable()"
Expand All @@ -73,14 +68,12 @@
<div class="environment-variable">
<ix-input
formControlName="name"

[label]="'Name' | translate"
[required]="true"
></ix-input>

<ix-input
formControlName="value"

[label]="'Value' | translate"
[required]="true"
></ix-input>
Expand All @@ -100,22 +93,19 @@
>
@for (disk of form.controls.disks.controls; track disk; let i = $index) {
<ix-list-item

[formGroupName]="i"
[label]="'Disk' | translate"
(delete)="removeDisk(i)"
>
<ix-explorer
formControlName="source"

[label]="'Source' | translate"
[required]="true"
[nodeProvider]="directoryNodeProvider"
></ix-explorer>

<ix-input
formControlName="destination"

[label]="'Destination' | translate"
[required]="true"
></ix-input>
Expand All @@ -130,7 +120,6 @@
<ix-form-section [label]="'Proxies' | translate" [help]="'Proxies' | translate">
<ix-list
formArrayName="proxies"

[empty]="form.controls.proxies.controls.length === 0"
[label]="'Proxies' | translate"
[formArray]="form.controls.proxies"
Expand All @@ -145,7 +134,6 @@
<div class="protocol-and-port">
<ix-select
class="protocol"

formControlName="source_proto"
[label]="'Host Protocol' | translate"
[required]="true"
Expand All @@ -154,7 +142,6 @@

<ix-input
class="port"

type="number"
formControlName="source_port"
[label]="'Host Port' | translate"
Expand All @@ -165,7 +152,6 @@
<div class="protocol-and-port">
<ix-select
class="protocol"

formControlName="dest_proto"
[label]="'Instance Protocol' | translate"
[required]="true"
Expand All @@ -175,7 +161,6 @@
<ix-input
class="port"
type="number"

formControlName="dest_port"
[label]="'Instance Port' | translate"
[required]="true"
Expand All @@ -194,7 +179,6 @@
} @else {
<ix-button-group
formControlName="nic_type"

[options]="nicType$"
[inlineFields]="true"
[attr.aria-label]="'NIC Type' | translate"
Expand Down

0 comments on commit 485ae1f

Please sign in to comment.