Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HIMS
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sandeep Sagar
HIMS
Commits
20249b7f
Commit
20249b7f
authored
Oct 13, 2023
by
Sandeep Sagar Panjala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
b86c5d4f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
55 additions
and
5 deletions
+55
-5
.gitattributes
.gitattributes
+1
-0
settings.json
.vscode/settings.json
+8
-0
settings.json
Presentation/Hims.Admin/.vscode/settings.json
+8
-0
app.module.ts
Presentation/Hims.Admin/src/app/app.module.ts
+6
-2
app.routing.module.ts
Presentation/Hims.Admin/src/app/app.routing.module.ts
+21
-3
masters.html
...ation/Hims.Admin/src/app/areas/admin/masters/masters.html
+2
-0
masters.page.ts
...on/Hims.Admin/src/app/areas/admin/masters/masters.page.ts
+9
-0
cubicle.html
...in/src/app/areas/admin/masters/pages/cubicle/cubicle.html
+0
-0
cubicle.page.ts
...src/app/areas/admin/masters/pages/cubicle/cubicle.page.ts
+0
-0
No files found.
.gitattributes
0 → 100644
View file @
20249b7f
*.png filter=lfs diff=lfs merge=lfs -text
.vscode/settings.json
0 → 100644
View file @
20249b7f
{
"workbench.colorCustomizations"
:
{
"activityBar.background"
:
"#25128A"
,
"titleBar.activeBackground"
:
"#341AC1"
,
"titleBar.activeForeground"
:
"#FBFAFE"
}
}
\ No newline at end of file
Presentation/Hims.Admin/.vscode/settings.json
0 → 100644
View file @
20249b7f
{
"workbench.colorCustomizations"
:
{
"activityBar.background"
:
"#213304"
,
"titleBar.activeBackground"
:
"#2F4705"
,
"titleBar.activeForeground"
:
"#F5FDE9"
}
}
\ No newline at end of file
Presentation/Hims.Admin/src/app/app.module.ts
View file @
20249b7f
...
...
@@ -9,6 +9,8 @@ import { AppConfig, AppData } from "@shared/services";
import
{
SharedModule
}
from
"@shared/shared.module"
;
import
{
OTPWidget
}
from
"@shared/widgets"
;
import
{
LayoutComponent
}
from
'./areas/layout/layout.component'
;
import
{
MastersPage
}
from
'./areas/admin/masters/masters.page'
;
import
{
CubiclePage
}
from
'./areas/admin/masters/pages/cubicle/cubicle.page'
;
const
widgets
=
[
OTPWidget
];
const
components
=
[
AvatarImageComponent
,
SymptomsViewComponent
];
...
...
@@ -21,11 +23,13 @@ const components = [AvatarImageComponent, SymptomsViewComponent];
AppRoutingModule
],
declarations
:
[
LayoutComponent
,
AppComponent
,
LayoutComponent
,
MastersPage
,
CubiclePage
,
widgets
,
components
,
routePages
routePages
,
],
providers
:
[
AppData
,
...
...
Presentation/Hims.Admin/src/app/app.routing.module.ts
View file @
20249b7f
...
...
@@ -2,11 +2,13 @@ import { ForgotPasswordPage } from "@account/forgot-password/forgot-password.pag
import
{
LoginPage
}
from
"@account/login/login.page"
;
import
{
AccountsPage
}
from
"@admin/accounts/accounts.page"
;
import
{
NgModule
}
from
"@angular/core"
;
import
{
RouterModule
,
Routes
}
from
"@angular/router"
;
import
{
Route
,
Route
rModule
,
Routes
}
from
"@angular/router"
;
import
{
NotFoundPage
}
from
"@error/not-found/not-found.page"
;
import
{
ServerErrorPage
}
from
"@error/server-error/server-error.page"
;
import
{
AccessGuard
,
AuthGuard
,
DeactivateGuard
,
TelemedicineGuard
}
from
"@shared/guards"
;
import
{
LayoutComponent
}
from
"./areas/layout/layout.component"
;
import
{
MastersPage
}
from
"./areas/admin/masters/masters.page"
;
import
{
CubiclePage
}
from
"./areas/admin/masters/pages/cubicle/cubicle.page"
;
// STARTING PAGES
const
startingRoutes
=
[
...
...
@@ -22,6 +24,20 @@ const errorRoutes = [
]
const
errorRouteComponents
=
[
NotFoundPage
,
ServerErrorPage
];
// MASTERS
const
masterPages
=
{
path
:
"masters"
,
data
:
{
title
:
"Masters"
},
canActivate
:
[
AuthGuard
],
canActivateChild
:
[
AuthGuard
],
component
:
MastersPage
,
children
:
[
{
path
:
""
,
redirectTo
:
"accounts"
,
pathMatch
:
"full"
},
{
path
:
"cubicle"
,
component
:
CubiclePage
,
data
:
{
title
:
"cubicle"
}
},
{
path
:
"**"
,
redirectTo
:
"accounts"
},
]
}
// HIDDEN PAGES
const
hiddenPages
=
[
{
path
:
"accounts"
,
component
:
AccountsPage
,
data
:
{
title
:
"Accounts"
,
}
}
...
...
@@ -39,7 +55,8 @@ const routes: Routes = [
canActivateChild
:
[
AuthGuard
],
children
:
[
{
path
:
""
,
redirectTo
:
"dashboard"
,
pathMatch
:
"full"
},
...
hiddenPages
...
hiddenPages
,
masterPages
as
Route
]
},
{
path
:
"**"
,
redirectTo
:
"not-found"
},
...
...
@@ -56,6 +73,6 @@ export class AppRoutingModule { }
export
const
routePages
=
[
...
startingRouteComponents
,
...
errorRouteComponents
,
...
hiddenPagesComponents
...
hiddenPagesComponents
,
];
export
const
routeGuards
=
[
AccessGuard
,
AuthGuard
,
DeactivateGuard
,
TelemedicineGuard
];
\ No newline at end of file
Presentation/Hims.Admin/src/app/areas/admin/masters/masters.html
0 → 100644
View file @
20249b7f
<router-outlet></router-outlet>
\ No newline at end of file
Presentation/Hims.Admin/src/app/areas/admin/masters/masters.page.ts
0 → 100644
View file @
20249b7f
import
{
Component
}
from
"@angular/core"
;
@
Component
({
templateUrl
:
"./masters.html"
,
})
export
class
MastersPage
{
}
\ No newline at end of file
Presentation/Hims.Admin/src/app/areas/admin/masters/pages/cubicle/cubicle.html
0 → 100644
View file @
20249b7f
This diff is collapsed.
Click to expand it.
Presentation/Hims.Admin/src/app/areas/admin/masters/pages/cubicle/cubicle.page.ts
0 → 100644
View file @
20249b7f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment