diff --git a/dashboard/divId/divIds.component.html b/dashboard/divId/divIds.component.html index cfc596db..85f9565a 100644 --- a/dashboard/divId/divIds.component.html +++ b/dashboard/divId/divIds.component.html @@ -40,7 +40,7 @@
- @@ -79,7 +79,7 @@
- +
diff --git a/dashboard/divId/divIds.module.ts b/dashboard/divId/divIds.module.ts index 24815b02..e379ded4 100644 --- a/dashboard/divId/divIds.module.ts +++ b/dashboard/divId/divIds.module.ts @@ -19,8 +19,6 @@ import {PageContentModule} from "../sharedComponents/page-content/page-content.m import {ClassesRoutingModule} from "./classes-routing.module"; import {SearchInputModule} from "../../sharedComponents/search-input/search-input.module"; import {IconsModule} from "../../utils/icons/icons.module"; -import {IconsService} from "../../utils/icons/icons.service"; -import {add, edit, remove} from "../../utils/icons/icons"; import {LoadingModule} from "../../utils/loading/loading.module"; @NgModule({ @@ -32,8 +30,4 @@ import {LoadingModule} from "../../utils/loading/loading.module"; declarations: [DivIdsComponent], exports: [DivIdsComponent] }) -export class DivIdsModule { - constructor(private iconsService: IconsService) { - this.iconsService.registerIcons([add, edit, remove]); - } -} +export class DivIdsModule {} diff --git a/dashboard/divhelpcontent/class-help-content-form.component.html b/dashboard/divhelpcontent/class-help-content-form.component.html index fd8fe243..f636529d 100644 --- a/dashboard/divhelpcontent/class-help-content-form.component.html +++ b/dashboard/divhelpcontent/class-help-content-form.component.html @@ -4,7 +4,7 @@ - + Go back to class help texts list diff --git a/dashboard/divhelpcontent/class-help-content-form.module.ts b/dashboard/divhelpcontent/class-help-content-form.module.ts index 1765f1fc..5f0bec5c 100644 --- a/dashboard/divhelpcontent/class-help-content-form.module.ts +++ b/dashboard/divhelpcontent/class-help-content-form.module.ts @@ -10,8 +10,6 @@ import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import {IconsModule} from '../../utils/icons/icons.module'; import {RouterModule} from '@angular/router'; import {LoadingModule} from '../../utils/loading/loading.module'; -import {IconsService} from '../../utils/icons/icons.service'; -import {arrow_left} from '../../utils/icons/icons'; import {ClassContentFormComponent} from './class-help-content-form.component'; import {ClassHelpContentFormRoutingModule} from './class-help-content-form-routing.module'; import {PageContentModule} from '../sharedComponents/page-content/page-content.module'; @@ -27,8 +25,4 @@ import {PageContentModule} from '../sharedComponents/page-content/page-content.m ], exports: [ClassContentFormComponent] }) -export class ClassHelpContentFormModule { - constructor(private iconsService: IconsService) { - this.iconsService.registerIcons([arrow_left]); - } -} +export class ClassHelpContentFormModule {} diff --git a/dashboard/divhelpcontent/class-help-contents.component.html b/dashboard/divhelpcontent/class-help-contents.component.html index 80a78f09..9e5fc67d 100644 --- a/dashboard/divhelpcontent/class-help-contents.component.html +++ b/dashboard/divhelpcontent/class-help-contents.component.html @@ -17,7 +17,7 @@
- + Back to pages
@@ -101,7 +101,7 @@
diff --git a/dashboard/divhelpcontent/class-help-contents.module.ts b/dashboard/divhelpcontent/class-help-contents.module.ts index 5ab74f17..8e350d1d 100644 --- a/dashboard/divhelpcontent/class-help-contents.module.ts +++ b/dashboard/divhelpcontent/class-help-contents.module.ts @@ -6,13 +6,11 @@ import {ConnectAdminLoginGuard} from '../../connect/communityGuard/connectAdminL import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {AlertModalModule} from '../../utils/modal/alertModal.module'; import {SafeHtmlPipeModule} from '../../utils/pipes/safeHTMLPipe.module'; -import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import {MatSlideToggleModule} from '@angular/material/slide-toggle'; import {AdminToolServiceModule} from '../../services/adminToolService.module'; import {InputModule} from '../../sharedComponents/input/input.module'; import {SearchInputModule} from '../../sharedComponents/search-input/search-input.module'; import {IconsModule} from '../../utils/icons/icons.module'; -import {IconsService} from '../../utils/icons/icons.service'; -import {add, arrow_left, edit, remove} from '../../utils/icons/icons'; import {LoadingModule} from '../../utils/loading/loading.module'; import {HTMLToStringPipeModule} from '../../utils/pipes/HTMLToStringPipe.module'; import {ClassHelpContentsRoutingModule} from './class-help-contents-routing.module'; @@ -31,8 +29,4 @@ import {PageContentModule} from '../sharedComponents/page-content/page-content.m providers: [IsCommunity, ConnectAdminLoginGuard], exports: [ClassHelpContentsComponent] }) -export class ClassHelpContentsModule { - constructor(private iconsService: IconsService) { - this.iconsService.registerIcons([add, arrow_left, edit, remove]) - } -} +export class ClassHelpContentsModule {} diff --git a/dashboard/entity/entities.component.html b/dashboard/entity/entities.component.html index e7c7face..65c0b4cf 100644 --- a/dashboard/entity/entities.component.html +++ b/dashboard/entity/entities.component.html @@ -31,7 +31,7 @@
- @@ -97,7 +97,7 @@
- +
diff --git a/dashboard/entity/entities.module.ts b/dashboard/entity/entities.module.ts index 69d8d4a4..3f253302 100644 --- a/dashboard/entity/entities.module.ts +++ b/dashboard/entity/entities.module.ts @@ -12,8 +12,6 @@ import {AdminTabsModule} from "../sharedComponents/admin-tabs/admin-tabs.module" import {EntitiesRoutingModule} from "./entities-routing.module"; import {SearchInputModule} from "../../sharedComponents/search-input/search-input.module"; import {IconsModule} from "../../utils/icons/icons.module"; -import {IconsService} from "../../utils/icons/icons.service"; -import {add, edit, remove} from "../../utils/icons/icons"; import {LoadingModule} from "../../utils/loading/loading.module"; @NgModule({ @@ -25,7 +23,4 @@ import {LoadingModule} from "../../utils/loading/loading.module"; exports: [EntitiesComponent] }) export class EntitiesModule { - constructor(private iconsService: IconsService) { - this.iconsService.registerIcons([add, edit, remove]); - } } diff --git a/dashboard/helpTexts/page-help-content-form.component.html b/dashboard/helpTexts/page-help-content-form.component.html index d7a4e68c..e5c3b93a 100644 --- a/dashboard/helpTexts/page-help-content-form.component.html +++ b/dashboard/helpTexts/page-help-content-form.component.html @@ -4,7 +4,7 @@ - + Go back to page help texts list diff --git a/dashboard/helpTexts/page-help-content-form.module.ts b/dashboard/helpTexts/page-help-content-form.module.ts index dfad8378..243a11d7 100644 --- a/dashboard/helpTexts/page-help-content-form.module.ts +++ b/dashboard/helpTexts/page-help-content-form.module.ts @@ -1,4 +1,4 @@ -import { NgModule } from '@angular/core'; +import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {AlertModalModule} from '../../utils/modal/alertModal.module'; @@ -8,13 +8,11 @@ import {PageContentFormComponent} from './page-help-content-form.component'; import {PageHelpContentFormRoutingModule} from './page-help-content-form-routing.module'; import {AdminToolServiceModule} from '../../services/adminToolService.module'; import {InputModule} from '../../sharedComponents/input/input.module'; -import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import {MatSlideToggleModule} from '@angular/material/slide-toggle'; import {IconsModule} from '../../utils/icons/icons.module'; import {PageContentModule} from '../sharedComponents/page-content/page-content.module'; import {RouterModule} from '@angular/router'; import {LoadingModule} from '../../utils/loading/loading.module'; -import {IconsService} from '../../utils/icons/icons.service'; -import {arrow_left} from '../../utils/icons/icons'; @NgModule({ imports: [ @@ -27,8 +25,4 @@ import {arrow_left} from '../../utils/icons/icons'; ], exports: [PageContentFormComponent] }) -export class PageHelpContentFormModule { - constructor(private iconsService: IconsService) { - this.iconsService.registerIcons([arrow_left]); - } -} +export class PageHelpContentFormModule {} diff --git a/dashboard/helpTexts/page-help-contents.component.html b/dashboard/helpTexts/page-help-contents.component.html index 6758cf75..9de3c368 100644 --- a/dashboard/helpTexts/page-help-contents.component.html +++ b/dashboard/helpTexts/page-help-contents.component.html @@ -6,7 +6,7 @@ diff --git a/dashboard/helpTexts/page-help-contents.module.ts b/dashboard/helpTexts/page-help-contents.module.ts index ad23dd57..10bc383f 100644 --- a/dashboard/helpTexts/page-help-contents.module.ts +++ b/dashboard/helpTexts/page-help-contents.module.ts @@ -5,15 +5,13 @@ import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {AlertModalModule} from '../../utils/modal/alertModal.module'; import {PageHelpContentsComponent} from './page-help-contents.component'; import {SafeHtmlPipeModule} from '../../utils/pipes/safeHTMLPipe.module'; -import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import {MatSlideToggleModule} from '@angular/material/slide-toggle'; import {AdminToolServiceModule} from '../../services/adminToolService.module'; import {InputModule} from '../../sharedComponents/input/input.module'; import {PageHelpContentsRoutingModule} from './page-help-contents-routing.module'; import {PageContentModule} from '../sharedComponents/page-content/page-content.module'; import {SearchInputModule} from '../../sharedComponents/search-input/search-input.module'; import {IconsModule} from '../../utils/icons/icons.module'; -import {IconsService} from '../../utils/icons/icons.service'; -import {add, arrow_left, edit, remove} from '../../utils/icons/icons'; import {LoadingModule} from '../../utils/loading/loading.module'; import {HTMLToStringPipeModule} from '../../utils/pipes/HTMLToStringPipe.module'; @@ -28,8 +26,4 @@ import {HTMLToStringPipeModule} from '../../utils/pipes/HTMLToStringPipe.module' ], exports: [PageHelpContentsComponent] }) -export class PageHelpContentsModule { - constructor(private iconsService: IconsService) { - this.iconsService.registerIcons([add, arrow_left, edit, remove]) - } -} +export class PageHelpContentsModule {} diff --git a/dashboard/menu/menu.component.html b/dashboard/menu/menu.component.html index 7ce22cb9..cc561703 100644 --- a/dashboard/menu/menu.component.html +++ b/dashboard/menu/menu.component.html @@ -96,7 +96,7 @@
diff --git a/dashboard/menu/menu.module.ts b/dashboard/menu/menu.module.ts index a57d6f90..d32339c4 100644 --- a/dashboard/menu/menu.module.ts +++ b/dashboard/menu/menu.module.ts @@ -12,8 +12,6 @@ import {AdminTabsModule} from "../sharedComponents/admin-tabs/admin-tabs.module" import {MenuRoutingModule} from "./menu-routing.module"; import {SearchInputModule} from "../../sharedComponents/search-input/search-input.module"; import {IconsModule} from "../../utils/icons/icons.module"; -import {IconsService} from "../../utils/icons/icons.service"; -import {add, edit, remove} from "../../utils/icons/icons"; import {LoadingModule} from "../../utils/loading/loading.module"; @NgModule({ @@ -25,7 +23,4 @@ import {LoadingModule} from "../../utils/loading/loading.module"; exports: [MenuComponent] }) export class MenuModule { - constructor(private iconsService: IconsService) { - this.iconsService.registerIcons([add, edit, remove]); - } } diff --git a/dashboard/page/pages.component.html b/dashboard/page/pages.component.html index ef4c4209..a50e141e 100644 --- a/dashboard/page/pages.component.html +++ b/dashboard/page/pages.component.html @@ -29,7 +29,7 @@
- @@ -123,7 +123,7 @@ Edit
diff --git a/dashboard/page/pages.module.ts b/dashboard/page/pages.module.ts index ba6a54a5..95366fe9 100644 --- a/dashboard/page/pages.module.ts +++ b/dashboard/page/pages.module.ts @@ -4,10 +4,10 @@ import {CommonModule} from '@angular/common'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {AlertModalModule} from '../../utils/modal/alertModal.module'; import {PagesComponent} from './pages.component'; -import { MatAutocompleteModule } from '@angular/material/autocomplete'; -import { MatChipsModule } from '@angular/material/chips'; -import { MatFormFieldModule } from '@angular/material/form-field'; -import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import {MatAutocompleteModule} from '@angular/material/autocomplete'; +import {MatChipsModule} from '@angular/material/chips'; +import {MatFormFieldModule} from '@angular/material/form-field'; +import {MatSlideToggleModule} from '@angular/material/slide-toggle'; import {AdminToolServiceModule} from "../../services/adminToolService.module"; import {InputModule} from "../../sharedComponents/input/input.module"; import {AdminTabsModule} from "../sharedComponents/admin-tabs/admin-tabs.module"; @@ -15,8 +15,6 @@ import {PageContentModule} from "../sharedComponents/page-content/page-content.m import {PagesRoutingModule} from "./pages-routing.module"; import {SearchInputModule} from "../../sharedComponents/search-input/search-input.module"; import {IconsModule} from "../../utils/icons/icons.module"; -import {IconsService} from "../../utils/icons/icons.service"; -import {add, edit, remove} from "../../utils/icons/icons"; import {LoadingModule} from "../../utils/loading/loading.module"; @NgModule({ @@ -28,7 +26,4 @@ import {LoadingModule} from "../../utils/loading/loading.module"; exports: [PagesComponent] }) export class PagesModule { - constructor(private iconsService: IconsService) { - this.iconsService.registerIcons([add, edit, remove]); - } } diff --git a/dashboard/portal/portals.component.html b/dashboard/portal/portals.component.html index 03f75b98..f364e494 100644 --- a/dashboard/portal/portals.component.html +++ b/dashboard/portal/portals.component.html @@ -41,7 +41,7 @@
- @@ -71,7 +71,7 @@
- +
diff --git a/dashboard/portal/portals.module.ts b/dashboard/portal/portals.module.ts index 98f55248..3c6ff447 100644 --- a/dashboard/portal/portals.module.ts +++ b/dashboard/portal/portals.module.ts @@ -9,8 +9,6 @@ import {InputModule} from "../../sharedComponents/input/input.module"; import {AdminTabsModule} from "../sharedComponents/admin-tabs/admin-tabs.module"; import {PageContentModule} from "../sharedComponents/page-content/page-content.module"; import {PortalsRoutingModule} from "./portals-routing.module"; -import {IconsService} from "../../utils/icons/icons.service"; -import {add, edit, remove} from "../../utils/icons/icons"; import {IconsModule} from "../../utils/icons/icons.module"; import {SearchInputModule} from "../../sharedComponents/search-input/search-input.module"; import {LoadingModule} from "../../utils/loading/loading.module"; @@ -25,7 +23,4 @@ import {LoadingModule} from "../../utils/loading/loading.module"; exports: [PortalsComponent] }) export class PortalsModule { - constructor(private iconsService: IconsService) { - this.iconsService.registerIcons([add, edit, remove]); - } } diff --git a/dashboard/sharedComponents/page-content/page-content.component.ts b/dashboard/sharedComponents/page-content/page-content.component.ts index b71cc0b0..897a917b 100644 --- a/dashboard/sharedComponents/page-content/page-content.component.ts +++ b/dashboard/sharedComponents/page-content/page-content.component.ts @@ -7,12 +7,10 @@ declare var UIkit; selector: '[page-content]', template: `
-