Commit 1865118b authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

Merge branch 'portal-update' into 'develop'

Merge branch 'portal-update' into remotes/origin/develop

See merge request !27
parents 478d1bca c627c76d
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -161,7 +161,5 @@
      }
    }
  },
  "cli": {
    "analytics": false
  }
  "defaultProject": "org.etsi.osl.tmf.web"
}
 No newline at end of file
+421 −11093

File changed.

Preview size limit exceeded, changes collapsed.

+6 −0
+4 −2
Original line number Diff line number Diff line
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { LandingComponent } from './landing/landing.component';
import { MetricsComponent } from './landing/metrics/metrics.component';
import { PortalsComponent } from './landing/portals/portals.component';
import { PageNotFoundComponent } from './shared/components/page-not-found/page-not-found.component';
import { RedirectComponent } from './shared/components/redirect/redirect.component';

import { LandingComponent } from './landing/landing.component';

const routes: Routes = [

@@ -13,6 +13,8 @@ const routes: Routes = [

  { path: 'redirect', component: RedirectComponent},

  { path: 'metrics', component: MetricsComponent},

  { path: 'services', component: PortalsComponent},
  { path: 'services', loadChildren: () => import('./app-services.module').then(m => m.AppServicesModule)},

+15 −4
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ import { AppComponent } from './app.component';
import { NavbarComponent } from './shared/navbar/navbar.component';
import { FooterComponent } from './shared/components/footer/footer.component';
import { ContactComponent } from './shared/components/contact/contact.component';
import { MetricsComponent } from './landing/metrics/metrics.component';
import { LandingComponent } from './landing/landing.component';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
@@ -82,7 +83,11 @@ import { jsonParsePipe } from './shared/pipes/jsonParsePipe';
import { SharedModule } from './shared.module';
import { RedirectComponent } from './shared/components/redirect/redirect.component';


import { NgChartsModule } from 'ng2-charts';
import { DoughnutchartComponent } from './landing/metrics/doughnutchart/doughnutchart.component';
import { StatusCardComponent } from './landing/metrics/statuscard/statuscard.component';
import { PortalCardComponent } from './landing/portalcard/portalcard.component';
import { SkeletonComponent } from './landing/metrics/skeleton.component';

registerLocaleData(enGB);
export function initializeApp(bootstrap: BootstrapService) {
@@ -99,11 +104,16 @@ export function initializeAppTheme(bootstrap: BootstrapService) {
        NavbarComponent,
        FooterComponent,
        ContactComponent,
        MetricsComponent,
    LandingComponent,
        PortalsComponent,
        CloneGstTemplateComponent,
        PageNotFoundComponent,
        RedirectComponent
        RedirectComponent,
    DoughnutchartComponent,
    StatusCardComponent,
    PortalCardComponent,
    SkeletonComponent,
    ],
    imports: [
        BrowserModule,
@@ -120,7 +130,8 @@ export function initializeAppTheme(bootstrap: BootstrapService) {
        MatDialogModule,
        MatCheckboxModule,
        OAuthModule.forRoot(),
        ToastrModule.forRoot({ progressBar: true, preventDuplicates: true })
        ToastrModule.forRoot({ progressBar: true, preventDuplicates: true }),
    NgChartsModule
    ],
    providers: [
        AppService,
Loading