|
@@ -6,16 +6,28 @@ import { NgChartsModule } from 'ng2-charts';
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
import { AppComponent } from './app.component';
|
|
import { AppComponent } from './app.component';
|
|
|
|
|
+import { AdminPanelComponent } from './components/admin/admin-panel/admin-panel.component';
|
|
|
import { HeaderComponent } from './components/header/header.component';
|
|
import { HeaderComponent } from './components/header/header.component';
|
|
|
|
|
+import { ServerDataChartComponent } from './components/server-data-chart/server-data-chart.component';
|
|
|
|
|
+import { ServerMetricsWidgetComponent } from './components/server-metrics-widget/server-metrics-widget.component';
|
|
|
import { HomePageComponent } from './pages/home-page/home-page.component';
|
|
import { HomePageComponent } from './pages/home-page/home-page.component';
|
|
|
-import { FaByTypePipe } from './pipes/fa-by-type.pipe';
|
|
|
|
|
import { ServerDataPageComponent } from './pages/server-data-page/server-data-page.component';
|
|
import { ServerDataPageComponent } from './pages/server-data-page/server-data-page.component';
|
|
|
|
|
+
|
|
|
import { BytePipe } from './pipes/byte.pipe';
|
|
import { BytePipe } from './pipes/byte.pipe';
|
|
|
-import { ServerDataChartComponent } from './components/server-data-chart/server-data-chart.component';
|
|
|
|
|
-import { AdminPanelComponent } from './components/admin/admin-panel/admin-panel.component';
|
|
|
|
|
|
|
+import { FaByTypePipe } from './pipes/fa-by-type.pipe';
|
|
|
|
|
|
|
|
@NgModule({
|
|
@NgModule({
|
|
|
- declarations: [AppComponent, BytePipe, FaByTypePipe, HeaderComponent, HomePageComponent, ServerDataChartComponent, ServerDataPageComponent, AdminPanelComponent],
|
|
|
|
|
|
|
+ declarations: [
|
|
|
|
|
+ AdminPanelComponent,
|
|
|
|
|
+ AppComponent,
|
|
|
|
|
+ BytePipe,
|
|
|
|
|
+ FaByTypePipe,
|
|
|
|
|
+ HeaderComponent,
|
|
|
|
|
+ HomePageComponent,
|
|
|
|
|
+ ServerDataChartComponent,
|
|
|
|
|
+ ServerDataPageComponent,
|
|
|
|
|
+ ServerMetricsWidgetComponent
|
|
|
|
|
+ ],
|
|
|
imports: [AppRoutingModule, BrowserModule, FontAwesomeModule, HttpClientModule, NgChartsModule],
|
|
imports: [AppRoutingModule, BrowserModule, FontAwesomeModule, HttpClientModule, NgChartsModule],
|
|
|
providers: [{ provide: BytePipe, multi: false }],
|
|
providers: [{ provide: BytePipe, multi: false }],
|
|
|
bootstrap: [AppComponent]
|
|
bootstrap: [AppComponent]
|