From a87e68251e1f6be01da6545ebc525eb58653aae5 Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Mon, 11 Jun 2018 13:26:03 +0300 Subject: [PATCH] (Apps) Moved the apps to the new page layouts and replaced MatSidenav with FuseSidebar on majority of them --- src/app/main/apps/academy/academy.module.ts | 7 +- .../apps/academy/course/course.component.html | 171 +- .../apps/academy/course/course.component.scss | 23 +- .../apps/academy/course/course.component.ts | 15 +- .../academy/courses/courses.component.html | 11 +- .../apps/calendar/calendar.component.html | 16 +- .../apps/calendar/calendar.component.scss | 2 - .../chat/chat-start/chat-start.component.html | 8 +- .../apps/contacts/contacts.component.html | 40 +- .../apps/contacts/contacts.component.scss | 7 + .../main/apps/contacts/contacts.component.ts | 13 + src/app/main/apps/contacts/contacts.module.ts | 12 +- .../main/main.component.html | 13 +- .../main/main.component.scss | 2 +- .../main/main.component.ts | 4 +- .../dashboards/project/project.component.html | 1676 +++++++++-------- .../dashboards/project/project.component.scss | 98 +- .../dashboards/project/project.component.ts | 17 + .../apps/dashboards/project/project.module.ts | 5 +- .../dashboard/dashboard.component.html | 35 +- .../e-commerce/order/order.component.html | 4 +- .../e-commerce/orders/orders.component.html | 10 +- .../e-commerce/product/product.component.html | 7 +- .../products/products.component.html | 7 +- .../file-list/file-list.component.html | 6 +- .../file-list/file-list.component.ts | 15 +- .../file-manager/file-manager.component.html | 122 +- .../file-manager/file-manager.component.scss | 72 +- .../file-manager/file-manager.component.ts | 19 +- .../apps/file-manager/file-manager.module.ts | 15 +- .../details/details.component.html | 11 +- .../details/details.component.scss | 2 +- .../details/details.component.ts | 4 +- .../main/main.component.html | 20 +- .../main/main.component.scss | 0 .../main/main.component.ts | 4 +- .../dialogs/compose/compose.component.scss | 3 +- .../dialogs/compose/compose.component.ts | 2 +- .../mail-details/mail-details.component.ts | 2 +- .../mail-list-item.component.ts | 2 +- .../mail-list/mail-list.component.html | 4 +- .../mail-list/mail-list.component.ts | 2 +- .../main/apps/mail-ngrx/mail.component.html | 178 +- .../main/apps/mail-ngrx/mail.component.scss | 2 +- src/app/main/apps/mail-ngrx/mail.component.ts | 27 +- src/app/main/apps/mail-ngrx/mail.module.ts | 9 +- .../main/main-sidebar.component.html} | 8 +- .../main/main-sidebar.component.scss} | 0 .../main/main-sidebar.component.ts} | 12 +- .../mail-details/mail-details.component.html | 4 +- .../mail/mail-list/mail-list.component.html | 2 +- src/app/main/apps/mail/mail.component.html | 186 +- src/app/main/apps/mail/mail.component.scss | 2 +- src/app/main/apps/mail/mail.component.ts | 15 +- src/app/main/apps/mail/mail.module.ts | 11 +- .../main/main-sidebar.component.html} | 16 +- .../main/main-sidebar.component.scss} | 0 .../main/main-sidebar.component.ts} | 12 +- .../main/main-sidebar.component.html} | 16 +- .../main/main-sidebar.component.scss} | 1 + .../main/main-sidebar.component.ts} | 8 +- .../todo-details/todo-details.component.html | 4 +- .../todo/todo-list/todo-list.component.html | 2 +- src/app/main/apps/todo/todo.component.html | 161 +- src/app/main/apps/todo/todo.component.scss | 2 +- src/app/main/apps/todo/todo.component.ts | 13 + src/app/main/apps/todo/todo.module.ts | 11 +- .../left-sidebar-3.component.html | 2 + .../left-sidebar-4.component.html | 2 + .../right-sidebar-3.component.html | 2 + .../right-sidebar-4.component.html | 2 + 71 files changed, 1664 insertions(+), 1554 deletions(-) rename src/app/main/apps/contacts/{sidenavs => sidebars}/main/main.component.html (90%) rename src/app/main/apps/contacts/{sidenavs => sidebars}/main/main.component.scss (97%) rename src/app/main/apps/contacts/{sidenavs => sidebars}/main/main.component.ts (94%) rename src/app/main/apps/file-manager/{sidenavs => sidebars}/details/details.component.html (91%) rename src/app/main/apps/file-manager/{sidenavs => sidebars}/details/details.component.scss (98%) rename src/app/main/apps/file-manager/{sidenavs => sidebars}/details/details.component.ts (92%) rename src/app/main/apps/file-manager/{sidenavs => sidebars}/main/main.component.html (66%) rename src/app/main/apps/file-manager/{sidenavs => sidebars}/main/main.component.scss (100%) rename src/app/main/apps/file-manager/{sidenavs => sidebars}/main/main.component.ts (68%) rename src/app/main/apps/mail-ngrx/{sidenavs/main/main-sidenav.component.html => sidebars/main/main-sidebar.component.html} (96%) rename src/app/main/apps/mail-ngrx/{sidenavs/main/main-sidenav.component.scss => sidebars/main/main-sidebar.component.scss} (100%) rename src/app/main/apps/mail-ngrx/{sidenavs/main/main-sidenav.component.ts => sidebars/main/main-sidebar.component.ts} (88%) rename src/app/main/apps/mail/{sidenavs/main/main-sidenav.component.html => sidebars/main/main-sidebar.component.html} (81%) rename src/app/main/apps/mail/{sidenavs/main/main-sidenav.component.scss => sidebars/main/main-sidebar.component.scss} (100%) rename src/app/main/apps/mail/{sidenavs/main/main-sidenav.component.ts => sidebars/main/main-sidebar.component.ts} (94%) rename src/app/main/apps/todo/{sidenavs/main/main-sidenav.component.html => sidebars/main/main-sidebar.component.html} (80%) rename src/app/main/apps/todo/{sidenavs/main/main-sidenav.component.scss => sidebars/main/main-sidebar.component.scss} (99%) rename src/app/main/apps/todo/{sidenavs/main/main-sidenav.component.ts => sidebars/main/main-sidebar.component.ts} (92%) diff --git a/src/app/main/apps/academy/academy.module.ts b/src/app/main/apps/academy/academy.module.ts index 277cf520..08025d18 100644 --- a/src/app/main/apps/academy/academy.module.ts +++ b/src/app/main/apps/academy/academy.module.ts @@ -1,7 +1,7 @@ import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { MatButtonModule, MatFormFieldModule, MatIconModule, MatInputModule, MatSelectModule, MatSidenavModule } from '@angular/material'; +import { MatButtonModule, MatFormFieldModule, MatIconModule, MatInputModule, MatSelectModule } from '@angular/material'; import { FuseSharedModule } from '@fuse/shared.module'; @@ -9,6 +9,7 @@ import { AcademyCoursesComponent } from 'app/main/apps/academy/courses/courses.c import { AcademyCourseComponent } from 'app/main/apps/academy/course/course.component'; import { AcademyCoursesService } from 'app/main/apps/academy/courses.service'; import { AcademyCourseService } from 'app/main/apps/academy/course.service'; +import { FuseSidebarModule } from '@fuse/components'; const routes = [ @@ -45,9 +46,9 @@ const routes = [ MatIconModule, MatInputModule, MatSelectModule, - MatSidenavModule, - FuseSharedModule + FuseSharedModule, + FuseSidebarModule ], providers : [ AcademyCoursesService, diff --git a/src/app/main/apps/academy/course/course.component.html b/src/app/main/apps/academy/course/course.component.html index 0e868e4a..dcde06c5 100644 --- a/src/app/main/apps/academy/course/course.component.html +++ b/src/app/main/apps/academy/course/course.component.html @@ -1,100 +1,97 @@ -
+