1
0
Fork 0

feat(webui): migrate to a work in progress webui

This commit is contained in:
Antoine CARON 2019-03-08 14:08:03 +01:00 committed by Traefiker Bot
parent 3cfbe7cf6d
commit 2d54065082
23 changed files with 18 additions and 2392 deletions

View file

@ -3,46 +3,11 @@ import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { RouterModule } from '@angular/router';
import { AppComponent } from './app.component';
import { BarChartComponent } from './charts/bar-chart/bar-chart.component';
import { LineChartComponent } from './charts/line-chart/line-chart.component';
import { HeaderComponent } from './components/header/header.component';
import { HealthComponent } from './components/health/health.component';
import { ProvidersComponent } from './components/providers/providers.component';
import { LetDirective } from './directives/let.directive';
import { BackendFilterPipe } from './pipes/backend.filter.pipe';
import { FrontendFilterPipe } from './pipes/frontend.filter.pipe';
import { HumanReadableFilterPipe } from './pipes/humanreadable.filter.pipe';
import { KeysPipe } from './pipes/keys.pipe';
import { ApiService } from './services/api.service';
import { WindowService } from './services/window.service';
@NgModule({
declarations: [
AppComponent,
HeaderComponent,
ProvidersComponent,
HealthComponent,
LineChartComponent,
BarChartComponent,
KeysPipe,
FrontendFilterPipe,
BackendFilterPipe,
HumanReadableFilterPipe,
LetDirective
],
imports: [
BrowserModule,
CommonModule,
HttpClientModule,
FormsModule,
RouterModule.forRoot([
{ path: '', component: ProvidersComponent, pathMatch: 'full' },
{ path: 'status', component: HealthComponent }
])
],
providers: [ApiService, WindowService],
declarations: [AppComponent],
imports: [BrowserModule, CommonModule, HttpClientModule, FormsModule],
bootstrap: [AppComponent]
})
export class AppModule {}