Small changes and fixed some stylingon the plex page #865

pull/1488/head
Jamie.Rees 7 years ago
parent f193471b6c
commit 3b0b35f760

@ -21,7 +21,7 @@ export class AppComponent implements OnInit {
customizationSettings: ICustomizationSettings;
user: ILocalUser;
ngOnInit(): void {
ngOnInit(): void {
this.user = this.authService.claims();

@ -5,7 +5,7 @@ import { ILandingPageSettings, ICustomizationSettings } from '../interfaces/ISet
import { IRequestCountModel } from '../interfaces/IRequestModel';
@Component({
selector: 'ombi',
templateUrl: './landingpage.component.html',
styleUrls: ['./landingpage.component.scss']
})

@ -8,7 +8,7 @@ import { NotificationService } from '../services/notification.service';
@Component({
selector: 'ombi',
templateUrl: './login.component.html',
})
export class LoginComponent {

@ -5,7 +5,7 @@ import { SettingsService } from '../../services/settings.service';
import { NotificationService } from "../../services/notification.service";
@Component({
selector: 'ombi',
templateUrl: './customization.component.html',
})
export class CustomizationComponent implements OnInit {

@ -5,7 +5,7 @@ import { SettingsService } from '../../services/settings.service';
import { NotificationService } from "../../services/notification.service";
@Component({
selector: 'ombi',
templateUrl: './emby.component.html',
})
export class EmbyComponent implements OnInit {

@ -5,7 +5,7 @@ import { SettingsService } from '../../services/settings.service';
import { NotificationService } from "../../services/notification.service";
@Component({
selector: 'ombi',
templateUrl: './landingpage.component.html',
})
export class LandingPageComponent implements OnInit {

@ -5,7 +5,6 @@ import { SettingsService } from '../../services/settings.service';
import { NotificationService } from "../../services/notification.service";
@Component({
selector: 'ombi',
templateUrl: './ombi.component.html',
})
export class OmbiComponent implements OnInit {

@ -3,20 +3,21 @@
<fieldset>
<legend>Plex Configuration</legend>
<div class="row">
<div class="col-md-2 col-md-offset-10">
<span style="vertical-align: top;">Advanced</span>
<p-inputSwitch id="customInputSwitch" [(ngModel)]="advanced"></p-inputSwitch>
</div>
<div style="float: right;">
<span style="vertical-align: top;">Advanced</span>
<p-inputSwitch id="customInputSwitch" [(ngModel)]="advanced"></p-inputSwitch>
</div>
<div class="form-group col-md-3">
<div class="checkbox">
<input type="checkbox" id="enable" [(ngModel)]="settings.enable" ng-checked="settings.enable">
<label for="enable">Enable</label>
<div class="form-group col-md-3">
<div class="checkbox">
<input type="checkbox" id="enable" [(ngModel)]="settings.enable" ng-checked="settings.enable">
<label for="enable">Enable</label>
</div>
</div>
<div class="col-md-2 col-md-push-7">
<button type="submit" (click)="addTab()" class="btn btn-success-outline">Add Server</button>
</div>
</div>
<div style="float: right;" class="col-md-12 col-md-push-10">
<button type="submit" (click)="addTab()" class="btn btn-success-outline">Add Server</button>
</div>
<ngb-tabset>

@ -10,7 +10,6 @@ import { PlexService } from '../../services/applications/plex.service';
import { NotificationService } from "../../services/notification.service";
@Component({
selector: 'ombi',
templateUrl: './plex.component.html',
})
export class PlexComponent implements OnInit, OnDestroy {

@ -9,7 +9,7 @@ import { RadarrService } from '../../services/applications/radarr.service';
import { NotificationService } from "../../services/notification.service";
@Component({
selector: 'ombi',
templateUrl: './radarr.component.html',
})
export class RadarrComponent implements OnInit {

@ -9,7 +9,7 @@ import { SonarrService } from '../../services/applications/sonarr.service';
import { NotificationService } from "../../services/notification.service";
@Component({
selector: 'ombi',
templateUrl: './sonarr.component.html',
})
export class SonarrComponent implements OnInit, OnDestroy {

@ -4,7 +4,7 @@ import { IUser, ICheckbox } from '../interfaces/IUser';
import { IdentityService } from '../services/identity.service';
@Component({
selector: 'ombi',
templateUrl: './usermanagement.component.html'
})
export class UserManagementComponent implements OnInit {

@ -7,7 +7,7 @@ import { AuthService } from '../../auth/auth.service';
import { NotificationService } from '../../services/notification.service';
@Component({
selector: 'ombi',
templateUrl: './createadmin.component.html',
})
export class CreateAdminComponent {

@ -7,7 +7,7 @@ import { NotificationService } from '../../services/notification.service';
import { IEmbySettings } from '../../interfaces/ISettings';
@Component({
selector: 'ombi',
templateUrl: './emby.component.html',
})
export class EmbyComponent {

@ -3,7 +3,7 @@ import { Router } from '@angular/router';
@Component({
selector: 'ombi',
templateUrl: './mediaserver.component.html',
})
export class MediaServerComponent {

@ -7,7 +7,7 @@ import { NotificationService } from '../../services/notification.service';
import { IPlexAuthentication } from '../../interfaces/IPlex';
@Component({
selector: 'ombi',
templateUrl: './plex.component.html',
})
export class PlexComponent {

@ -3,7 +3,7 @@ import { Router } from '@angular/router';
@Component({
selector: 'ombi',
templateUrl: './welcome.component.html',
})
export class WelcomeComponent {

Loading…
Cancel
Save