Support local servers on custom ports, Ref. #303

This commit is contained in:
ziajka
2019-02-26 16:16:54 +01:00
parent e0bae16093
commit 28c4c25d14
3 changed files with 24 additions and 15 deletions

View File

@ -16,11 +16,11 @@
<input matInput tabindex="1" formControlName="path" placeholder="Local server path" />
</mat-form-field>
<mat-form-field *ngIf="serverForm.get('location').value === 'remote'">
<mat-form-field>
<input matInput tabindex="1" formControlName="host" placeholder="Host" />
</mat-form-field>
<mat-form-field *ngIf="serverForm.get('location').value === 'remote'">
<mat-form-field>
<input matInput tabindex="1" formControlName="port" placeholder="Port" />
</mat-form-field>
@ -37,7 +37,7 @@
<mat-form-field *ngIf="serverForm.get('authorization').value === 'basic'">
<input matInput tabindex="1" formControlName="password" placeholder="Password" />
</mat-form-field>
</div>
<div mat-dialog-actions>
<button mat-button (click)="onNoClick()" tabindex="-1" color="accent">No Thanks</button>