small changes

pull/1389/head
tidusjar 7 years ago
parent a561915df9
commit fa0e167650

@ -55,6 +55,15 @@
<Content Include="wwwroot\app\settings\settingsmenu.component.js" />
<Content Include="wwwroot\app\settings\settingsmenu.component.js.map" />
<Content Include="wwwroot\app\settings\settingsmenu.component.ts" />
<Content Include="wwwroot\app\wizard\createadmin\createadmin.component.html" />
<Content Include="wwwroot\app\wizard\createadmin\createadmin.component.js" />
<Content Include="wwwroot\app\wizard\createadmin\createadmin.component.js.map" />
<Content Include="wwwroot\app\wizard\createadmin\createadmin.component.ts" />
<Content Include="wwwroot\app\wizard\createadmin\plex.component.js">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="wwwroot\app\wizard\createadmin\plex.component.js.map" />
<Content Include="wwwroot\app\wizard\createadmin\plex.component.ts" />
<Content Include="wwwroot\app\wizard\mediaserver\mediaserver.component.html">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
@ -62,9 +71,6 @@
<Content Include="wwwroot\app\wizard\mediaserver\mediaserver.component.js.map" />
<Content Include="wwwroot\app\wizard\mediaserver\mediaserver.component.ts" />
<Content Include="wwwroot\app\wizard\plex\plex.component.html" />
<Content Include="wwwroot\app\wizard\plex\plex - Copy.component.js" />
<Content Include="wwwroot\app\wizard\plex\plex - Copy.component.js.map" />
<Content Include="wwwroot\app\wizard\plex\plex - Copy.component.ts" />
<Content Include="wwwroot\app\wizard\plex\plex.component.js" />
<Content Include="wwwroot\app\wizard\plex\plex.component.js.map" />
<Content Include="wwwroot\app\wizard\plex\plex.component.ts" />

@ -0,0 +1,20 @@

<h4 class="media-heading landing-title">Create the Admin account</h4>
<small>This account will be used to configure your settings and also manage all of the requests. Note: this should not be the same as your Plex/Emby account (you can change this later in the User Management Settings)</small>
<div class="form-group">
<div>
<label for="adminUsername">Username</label>
<input type="text" class="form-control form-control-custom" id="adminUsername" name="Username" [(ngModel)]="username" placeholder="Username">
</div>
<br />
<div>
<label for="adminPassword">Password</label>
<input type="password" class="form-control form-control-custom" id="adminPassword" name="Password" [(ngModel)]="password" placeholder="Password">
</div>
</div>
<div class="form-group">
<div style="text-align: center; margin-top: 20px">
<button (click)="createUser()" type="submit" class="btn btn-success-outline">Finish</button>
</div>
</div>

@ -0,0 +1,23 @@
import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { AuthService } from '../../auth/auth.service';
import { NotificationService } from '../../services/notification.service';
@Component({
selector: 'ombi',
moduleId: module.id,
templateUrl: './plex.component.html',
})
export class PlexComponent {
constructor(private authService: AuthService, private notificationService: NotificationService) { }
username: string;
password: string;
createUser() {
}
}
Loading…
Cancel
Save