mirror of https://github.com/ghostfolio/ghostfolio
12 changed files with 71 additions and 26 deletions
@ -0,0 +1,13 @@ |
|||
<div class="container"> |
|||
<div class="mb-5 row"> |
|||
<div class="col"> |
|||
<h3 class="text-center" i18n>Platforms</h3> |
|||
<gf-admin-platform></gf-admin-platform> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col"> |
|||
<h3 class="text-center" i18n>Tags</h3> |
|||
</div> |
|||
</div> |
|||
</div> |
@ -0,0 +1,5 @@ |
|||
@import 'apps/client/src/styles/ghostfolio-style'; |
|||
|
|||
:host { |
|||
display: block; |
|||
} |
@ -0,0 +1,21 @@ |
|||
import { Component, OnDestroy, OnInit } from '@angular/core'; |
|||
import { Subject } from 'rxjs'; |
|||
|
|||
@Component({ |
|||
host: { class: 'page' }, |
|||
selector: 'gf-admin-settings', |
|||
styleUrls: ['./admin-settings.component.scss'], |
|||
templateUrl: './admin-settings.component.html' |
|||
}) |
|||
export class AdminSettingsComponent implements OnInit, OnDestroy { |
|||
private unsubscribeSubject = new Subject<void>(); |
|||
|
|||
public constructor() {} |
|||
|
|||
public ngOnInit() {} |
|||
|
|||
public ngOnDestroy() { |
|||
this.unsubscribeSubject.next(); |
|||
this.unsubscribeSubject.complete(); |
|||
} |
|||
} |
@ -0,0 +1,13 @@ |
|||
import { CommonModule } from '@angular/common'; |
|||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|||
import { RouterModule } from '@angular/router'; |
|||
import { GfAdminPlatformModule } from '@ghostfolio/client/components/admin-platform/admin-platform.module'; |
|||
|
|||
import { AdminSettingsComponent } from './admin-settings.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [AdminSettingsComponent], |
|||
imports: [CommonModule, GfAdminPlatformModule, RouterModule], |
|||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|||
}) |
|||
export class GfAdminSettingsModule {} |
Loading…
Reference in new issue