diff --git a/src/app/app.module.ts b/src/app/app.module.ts index bfdc8f51f..587e1a89c 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -28,6 +28,7 @@ import { GroupsModule } from './groups/groups.module'; import { CentersModule } from './centers/centers.module'; import { AccountingModule } from './accounting/accounting.module'; import { SelfServiceModule } from './self-service/self-service.module'; +import { SystemModule } from './system/system.module'; /** Main Routing Module */ import { AppRoutingModule } from './app-routing.module'; @@ -55,6 +56,7 @@ import { AppRoutingModule } from './app-routing.module'; CentersModule, AccountingModule, SelfServiceModule, + SystemModule, AppRoutingModule ], declarations: [WebAppComponent], diff --git a/src/app/core/shell/toolbar/toolbar.component.html b/src/app/core/shell/toolbar/toolbar.component.html index f55a37bc0..af89ec366 100644 --- a/src/app/core/shell/toolbar/toolbar.component.html +++ b/src/app/core/shell/toolbar/toolbar.component.html @@ -102,7 +102,7 @@ - + diff --git a/src/app/shared/icons.module.ts b/src/app/shared/icons.module.ts index 9756c64d7..46fe8eebc 100644 --- a/src/app/shared/icons.module.ts +++ b/src/app/shared/icons.module.ts @@ -5,6 +5,7 @@ import { NgModule } from '@angular/core'; import { FontAwesomeModule } from '@fortawesome/angular-fontawesome'; import { library } from '@fortawesome/fontawesome-svg-core'; import { + faAnchor, faArchive, faBars, faBell, @@ -15,30 +16,38 @@ import { faChevronLeft, faChevronRight, faCircle, + faClock, faCog, faCogs, faEdit, faEye, faEyeSlash, + faFileAlt, faFileUpload, + faFileWord, faFillDrip, faHandHoldingUsd, faHome, + faKey, faLink, faList, + faListUl, faLocationArrow, faLock, faLockOpen, faMinusCircle, faMoneyBillAlt, + faMoneyCheck, faPlay, faPlus, faPlusCircle, + faRoad, faSearch, faShieldAlt, faSignOutAlt, faSitemap, faSync, + faTable, faTachometerAlt, faTimesCircle, faTrash, @@ -51,6 +60,7 @@ import { /** Add icons to the library for convenient access in other components. */ library.add( + faAnchor, faArchive, faBars, faBell, @@ -61,30 +71,38 @@ library.add( faChevronLeft, faChevronRight, faCircle, + faClock, faCog, faCogs, faEdit, faEye, faEyeSlash, + faFileAlt, faFileUpload, + faFileWord, faFillDrip, faHandHoldingUsd, faHome, + faKey, faLink, faList, + faListUl, faLocationArrow, faLock, faLockOpen, faMinusCircle, faMoneyBillAlt, + faMoneyCheck, faPlay, faPlus, faPlusCircle, + faRoad, faSearch, faShieldAlt, faSignOutAlt, faSitemap, faSync, + faTable, faTachometerAlt, faTimesCircle, faTrash, @@ -104,4 +122,3 @@ library.add( exports: [FontAwesomeModule] }) export class IconsModule { } - diff --git a/src/app/system/system-routing.module.ts b/src/app/system/system-routing.module.ts new file mode 100644 index 000000000..1fd46ff78 --- /dev/null +++ b/src/app/system/system-routing.module.ts @@ -0,0 +1,21 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; +import { Route } from '../core/route/route.service'; +import { extract } from '../core/i18n/i18n.service'; +import { SystemComponent } from './system.component'; + +const routes: Routes = [ + Route.withShell([ + { + path: 'system', + component: SystemComponent, + data: { title: extract('System'), breadcrumb: 'System' } + } + ]) +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class SystemRoutingModule { } diff --git a/src/app/system/system.component.html b/src/app/system/system.component.html new file mode 100644 index 000000000..500ff3c83 --- /dev/null +++ b/src/app/system/system.component.html @@ -0,0 +1,139 @@ +
+ + + +
+ +
+ + + + + + + +

Manage Data tables

+

Add new extra fields to any entity in the form of data table

+
+ + + + + +

Manage Codes

+

Codes are used to define drop down values

+
+ + + + + +

Manage Role and Permissions

+

Define or modify roles and associated permissions

+
+ + + + + +

Configure Maker Checker Tasks

+

Define or modify Maker Checker tasks

+
+ + + + + +

Manage Hooks

+

Define Hooks

+
+ + + + + +

Entity to Entity Mapping

+

Define or modify entity to entity mappings

+
+ + + + + +

Manage Surveys

+

Manage your Services

+
+ +
+ +
+ +
+ + + + + + + +

Audit Trails

+

Audit logs of all the activities, such as create client, disburse loans etc

+
+ + + + + +

Manage Reports

+

Add new report and classify reports

+
+ + + + + +

Scheduler Jobs

+

Schedule a job, modify or delete jobs

+
+ + + + + +

Configurations

+

Global configurations and Cache settings

+
+ + + + + +

Account Number Preferences

+

Preferences for generating account numbers for client, loan and savings accounts

+
+ + + + + +

External Services

+

External Services Configuration

+
+ + + + + +

Two-Factor Configuration

+

Two-factor authentication configuration settings

+
+ +
+ +
+ +
+ +
+ +
diff --git a/src/app/system/system.component.scss b/src/app/system/system.component.scss new file mode 100644 index 000000000..e69de29bb diff --git a/src/app/system/system.component.spec.ts b/src/app/system/system.component.spec.ts new file mode 100644 index 000000000..aade39394 --- /dev/null +++ b/src/app/system/system.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SystemComponent } from './system.component'; + +describe('SystemComponent', () => { + let component: SystemComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ SystemComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(SystemComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/system/system.component.ts b/src/app/system/system.component.ts new file mode 100644 index 000000000..afb10409e --- /dev/null +++ b/src/app/system/system.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'mifosx-system', + templateUrl: './system.component.html', + styleUrls: ['./system.component.scss'] +}) +export class SystemComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/system/system.module.spec.ts b/src/app/system/system.module.spec.ts new file mode 100644 index 000000000..35d825be5 --- /dev/null +++ b/src/app/system/system.module.spec.ts @@ -0,0 +1,13 @@ +import { SystemModule } from './system.module'; + +describe('SystemModule', () => { + let systemModule: SystemModule; + + beforeEach(() => { + systemModule = new SystemModule(); + }); + + it('should create an instance', () => { + expect(systemModule).toBeTruthy(); + }); +}); diff --git a/src/app/system/system.module.ts b/src/app/system/system.module.ts new file mode 100644 index 000000000..b0e5e2fef --- /dev/null +++ b/src/app/system/system.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; + +import { SharedModule } from '../shared/shared.module'; +import { SystemComponent } from './system.component'; + +import { SystemRoutingModule } from './system-routing.module'; + +@NgModule({ + imports: [ + SystemRoutingModule, + SharedModule + ], + declarations: [ + SystemComponent + ] +}) +export class SystemModule { }