last tweak

This commit is contained in:
tidusjar 2021-01-03 21:43:53 +00:00
commit b888a51b5b
2 changed files with 3 additions and 2 deletions

View file

@ -58,7 +58,7 @@
<input matInput placeholder="Api Key" [(ngModel)]="server.apiKey" value="{{server.apiKey}}"> <input matInput placeholder="Api Key" [(ngModel)]="server.apiKey" value="{{server.apiKey}}">
</mat-form-field> </mat-form-field>
</div> </div>
<div class="md-form-field"> <div class="md-form-field">
<mat-form-field appearance="outline" floatLabel=auto> <mat-form-field appearance="outline" floatLabel=auto>
<mat-label>Base URL</mat-label> <mat-label>Base URL</mat-label>
<input matInput placeholder="Base Url" [(ngModel)]="server.subDir" value="{{server.subDir}}"> <input matInput placeholder="Base Url" [(ngModel)]="server.subDir" value="{{server.subDir}}">
@ -71,7 +71,7 @@
</mat-form-field> </mat-form-field>
<small> <small>
<span *ngIf="server.serverHostname">Current URL: "{{server.serverHostname}}/#!/itemdetails.html?id=1"</span> <span *ngIf="server.serverHostname">Current URL: "{{server.serverHostname}}/#!/itemdetails.html?id=1"</span>
<span *ngIf="!server.serverHostname">Current URL: "https://app.jellyfin.media/#!/itemdetails.html?id=1</span> <span *ngIf="!server.serverHostname">Current URL: "{{server.ssl ? "https://" : "http://"}}{{server.ip}}:{{server.port}}/"</span>
</small> </small>
</div> </div>

View file

@ -15,6 +15,7 @@ export class JellyfinComponent implements OnInit {
public hasDiscoveredOrDirty: boolean; public hasDiscoveredOrDirty: boolean;
selected = new FormControl(0); selected = new FormControl(0);
constructor(private settingsService: SettingsService, constructor(private settingsService: SettingsService,
private notificationService: NotificationService, private notificationService: NotificationService,
private testerService: TesterService, private testerService: TesterService,