diff --git a/src/app/accounting/accounting-routing.module.ts b/src/app/accounting/accounting-routing.module.ts index f1179a8c0..93a09454f 100644 --- a/src/app/accounting/accounting-routing.module.ts +++ b/src/app/accounting/accounting-routing.module.ts @@ -1,10 +1,13 @@ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; +import { Route, extract } from '@app/core'; import { AccountingComponent } from './accounting.component'; const routes: Routes = [ - { path: 'accounting', component: AccountingComponent}, + Route.withShell([ + { path: 'accounting', component: AccountingComponent} + ]) ]; @NgModule({ diff --git a/src/app/accounting/accounting.component.html b/src/app/accounting/accounting.component.html index b8c0f280c..bf6a30835 100644 --- a/src/app/accounting/accounting.component.html +++ b/src/app/accounting/accounting.component.html @@ -1,4 +1,3 @@ -
@@ -47,4 +46,4 @@
- \ No newline at end of file + diff --git a/src/app/clients/clients-routing.module.ts b/src/app/clients/clients-routing.module.ts index 4cc6d0a27..8fe176c62 100644 --- a/src/app/clients/clients-routing.module.ts +++ b/src/app/clients/clients-routing.module.ts @@ -1,17 +1,19 @@ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; -import { extract } from '@app/core'; +import { Route, extract } from '@app/core'; import { ClientsComponent } from './clients.component'; import { CreateClientComponent} from './create-client/create-client.component'; import { ViewClientComponent } from './view-client/view-client.component'; import { ViewLoanComponent } from './view-loan/view-loan.component'; const routes: Routes = [ - { path: 'clients', component: ClientsComponent}, - { path: 'clients/create', component: CreateClientComponent}, - { path: 'clients/view', component: ViewClientComponent}, - { path: 'clients/viewloan', component: ViewLoanComponent} + Route.withShell([ + { path: 'clients', component: ClientsComponent}, + { path: 'clients/create', component: CreateClientComponent}, + { path: 'clients/view', component: ViewClientComponent}, + { path: 'clients/viewloan', component: ViewLoanComponent} + ]) ]; @NgModule({ diff --git a/src/app/clients/clients.component.html b/src/app/clients/clients.component.html index 9e122e390..a48a35b47 100644 --- a/src/app/clients/clients.component.html +++ b/src/app/clients/clients.component.html @@ -1,4 +1,3 @@ -
@@ -98,5 +97,5 @@
-
- \ No newline at end of file + + diff --git a/src/app/clients/create-client/create-client.component.html b/src/app/clients/create-client/create-client.component.html index 4a4a1568c..cfd6d7c5c 100644 --- a/src/app/clients/create-client/create-client.component.html +++ b/src/app/clients/create-client/create-client.component.html @@ -1,9 +1,8 @@ -
- +
@@ -13,41 +12,41 @@
- +
- +
Success! You've done it.
- +
Sorry, that username's taken. Try another?
- +
- +
- +
- +
@@ -68,7 +67,7 @@
- +
@@ -77,7 +76,7 @@ -->
- +
diff --git a/src/app/clients/view-client/view-client.component.html b/src/app/clients/view-client/view-client.component.html index d4a8447ce..44c56c57f 100644 --- a/src/app/clients/view-client/view-client.component.html +++ b/src/app/clients/view-client/view-client.component.html @@ -1,4 +1,3 @@ -
@@ -46,11 +45,11 @@ Country City Position - + - + @@ -60,7 +59,7 @@ Italy Bari Editor-in-chief - + 5 @@ -69,7 +68,7 @@ Poland Warsaw Video Maker - + 6 @@ -78,7 +77,7 @@ Germany Berlin Photographer - + 7 @@ -87,7 +86,7 @@ USA San Francisco Teacher - + 8 @@ -96,7 +95,7 @@ France Paris Actor - + 9 @@ -105,7 +104,7 @@ Germany Munich Singer - + 9 @@ -114,7 +113,7 @@ Germany Munich Singer - + 9 @@ -123,7 +122,7 @@ Germany Munich Singer - + 9 @@ -132,7 +131,7 @@ Germany Munich Singer - + 9 @@ -141,7 +140,7 @@ Germany Munich Singer - + 9 @@ -150,11 +149,11 @@ Germany Munich Singer - + - +
@@ -166,4 +165,4 @@
-
\ No newline at end of file +
diff --git a/src/app/clients/view-loan/view-loan.component.html b/src/app/clients/view-loan/view-loan.component.html index 9ac2466fd..7137d5ff4 100644 --- a/src/app/clients/view-loan/view-loan.component.html +++ b/src/app/clients/view-loan/view-loan.component.html @@ -1,5 +1,3 @@ - -
@@ -362,4 +360,4 @@
-
\ No newline at end of file +
diff --git a/src/app/navigation/navigation-routing.module.ts b/src/app/navigation/navigation-routing.module.ts index 0fbdf96b0..60067e028 100644 --- a/src/app/navigation/navigation-routing.module.ts +++ b/src/app/navigation/navigation-routing.module.ts @@ -1,10 +1,13 @@ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; +import { Route, extract } from '@app/core'; import { NavigationComponent } from './navigation.component'; const routes: Routes = [ - { path: 'navigation', component: NavigationComponent}, + Route.withShell([ + { path: 'navigation', component: NavigationComponent} + ]) ]; @NgModule({ diff --git a/src/app/navigation/navigation.component.html b/src/app/navigation/navigation.component.html index 91fc4b05e..4ac5be50f 100644 --- a/src/app/navigation/navigation.component.html +++ b/src/app/navigation/navigation.component.html @@ -1,15 +1,14 @@ -
- +
- - + + @@ -25,32 +24,32 @@ - + 4 Jerry - + 5 Janis - + 6 Gary - + 7 Angie - - + + 8 @@ -66,23 +65,23 @@ 9 Otto - + 9 Otto - - + + 9 Otto - + - +
@@ -93,7 +92,7 @@
- + @@ -102,49 +101,49 @@ - + - - + + - - + + - - + + - - + + - - + + - - + + - + - +
4 Jerry
5 Janis
4 Jerry
5 Janis
4 Jerry
5 Janis
@@ -163,4 +162,3 @@
- \ No newline at end of file