Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mySkill-x
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
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
angular
mySkill-x
Commits
bb296e71
Commit
bb296e71
authored
May 20, 2025
by
Natthaphat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
เพิ่ม icon หน้าชื่อเมนู ทางฝั่งซ้าย
parent
f155c11b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
3 deletions
+10
-3
sidebar.component.html
src/app/shared/components/sidebar/sidebar.component.html
+6
-3
navservice.ts
src/app/shared/services/navservice.ts
+4
-0
enterprise-data-management.png
src/assets/img/icons-menu/enterprise-data-management.png
+0
-0
job-detail-management.png
src/assets/img/icons-menu/job-detail-management.png
+0
-0
performance-assessment.png
src/assets/img/icons-menu/performance-assessment.png
+0
-0
performance-management-assessment.png
...sets/img/icons-menu/performance-management-assessment.png
+0
-0
No files found.
src/app/shared/components/sidebar/sidebar.component.html
View file @
bb296e71
...
...
@@ -38,20 +38,23 @@
<!-- has-Link -->
<a
class=
"side-menu__item"
[
routerLink
]="!
menuItem
.
type
?
null
:
[
menuItem
.
path
]"
routerLinkActive=
"active"
*
ngIf=
"menuItem.type === 'link'"
(
click
)="
setNavActive
(
menuItem
)"
>
<i
*
ngIf=
"menuItem.icon"
class=
"side-menu__icon demoicon ri-{{menuItem.icon}}"
></i>
<img
*
ngIf=
"menuItem.icon"
[
src
]="
menuItem
.
icon
"
class=
"side-menu__icon"
width=
"20"
height=
"20"
alt=
"icon"
/>
<span
class=
"side-menu__label"
>
{{menuItem.title}}
</span>
</a>
<!-- has-empty -->
<a
class=
"side-menu__item"
href=
"javascript:;"
*
ngIf=
"menuItem.type === 'empty'"
(
click
)="
setNavActive
(
menuItem
)"
>
<i
*
ngIf=
"menuItem.icon"
class=
"side-menu__icon demoicon ri-{{menuItem.icon}}"
></i>
<img
*
ngIf=
"menuItem.icon"
[
src
]="
menuItem
.
icon
"
class=
"side-menu__icon"
width=
"20"
height=
"20"
alt=
"icon"
/>
<span
class=
"side-menu__label"
>
{{menuItem.title}}
</span>
</a>
<!-- has-Sub -->
<a
class=
"side-menu__item with-sub cursor-pointer"
[
routerLink
]="
menuItem
.
type
?
null:
[
menuItem
.
path
]"
[
ngClass
]="{
active:
menuItem
.
selected
}"
*
ngIf=
"menuItem.type === 'sub'"
(
click
)="
toggleNavActive
(
menuItem
)"
>
<i
*
ngIf=
"menuItem.icon"
class=
"side-menu__icon demoicon ri-{{menuItem.icon}}"
></i>
<img
*
ngIf=
"menuItem.icon"
[
src
]="
menuItem
.
icon
"
class=
"side-menu__icon"
width=
"20"
height=
"20"
alt=
"icon"
/>
<span
class=
"side-menu__label"
>
{{menuItem.title}}
</span>
<span
class=
"badge {{menuItem.badgeClass}} side-badge"
*
ngIf=
"menuItem.badgeClass && menuItem.badgeValue"
>
...
...
src/app/shared/services/navservice.ts
View file @
bb296e71
...
...
@@ -110,6 +110,7 @@ export class NavService implements OnDestroy {
path
:
''
,
id
:
'm2'
,
show
:
false
,
icon
:
'assets/img/icons-menu/enterprise-data-management.png'
,
children
:
[
{
id
:
'm21'
,
path
:
'/company-registration'
,
title
:
'ทะเบียนบริษัท'
,
type
:
'link'
,
show
:
false
},
{
id
:
'm22'
,
path
:
'/job-description'
,
title
:
'ข้อมูลลักษณะงาน'
,
type
:
'link'
,
show
:
false
},
...
...
@@ -127,6 +128,7 @@ export class NavService implements OnDestroy {
path
:
''
,
id
:
'm3'
,
show
:
false
,
icon
:
'assets/img/icons-menu/job-detail-management.png'
,
children
:
[
{
id
:
'm31'
,
path
:
'/job-detail-management'
,
title
:
'ข้อมูลทั่วไป'
,
type
:
'link'
,
show
:
false
},
{
id
:
'm32'
,
path
:
'/command-structure'
,
title
:
'โครงสร้างสายการบังคับบัญชา'
,
type
:
'link'
,
show
:
false
},
...
...
@@ -145,6 +147,7 @@ export class NavService implements OnDestroy {
path
:
''
,
id
:
'm4'
,
show
:
false
,
icon
:
'assets/img/icons-menu/performance-assessment.png'
,
children
:
[
{
id
:
'm41'
,
path
:
'/setting-competency'
,
title
:
'การตั้งค่า'
,
type
:
'link'
,
show
:
false
},
{
id
:
'm42'
,
path
:
'/name-registration'
,
title
:
'ทะเบียนกำหนดชื่อ'
,
type
:
'link'
,
show
:
false
},
...
...
@@ -165,6 +168,7 @@ export class NavService implements OnDestroy {
path
:
''
,
id
:
'm5'
,
show
:
false
,
icon
:
'assets/img/icons-menu/performance-management-assessment.png'
,
children
:
[
{
id
:
'm51'
,
path
:
'/setting-performance-evalution'
,
title
:
'การตั้งค่า'
,
type
:
'link'
,
show
:
false
},
{
id
:
'm52'
,
path
:
'/name-registration-perfomance'
,
title
:
'ทะเบียนกำหนดชื่อ'
,
type
:
'link'
,
show
:
false
},
...
...
src/assets/img/icons-menu/enterprise-data-management.png
0 → 100644
View file @
bb296e71
3.88 KB
src/assets/img/icons-menu/job-detail-management.png
0 → 100644
View file @
bb296e71
26.6 KB
src/assets/img/icons-menu/performance-assessment.png
0 → 100644
View file @
bb296e71
16.2 KB
src/assets/img/icons-menu/performance-management-assessment.png
0 → 100644
View file @
bb296e71
9.13 KB
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