Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
myjob-manage
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
myjob-manage
Commits
3c490f8b
Commit
3c490f8b
authored
Jul 02, 2025
by
Natthaphat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdpa add edit delete
parent
36fa5d75
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
89 additions
and
10 deletions
+89
-10
pdpa-manage.component.css
src/app/DPU/common/pdpa-manage/pdpa-manage.component.css
+80
-2
pdpa-manage.component.html
src/app/DPU/common/pdpa-manage/pdpa-manage.component.html
+0
-0
pdpa-manage.component.ts
src/app/DPU/common/pdpa-manage/pdpa-manage.component.ts
+0
-0
pdpa.model.ts
src/app/DPU/models/pdpa.model.ts
+1
-1
nav.service.ts
src/app/shared/services/nav.service.ts
+8
-7
No files found.
src/app/DPU/common/pdpa-manage/pdpa-manage.component.css
View file @
3c490f8b
...
...
@@ -2,4 +2,82 @@
display
:
flex
;
height
:
auto
;
flex-direction
:
column
;
}
\ No newline at end of file
}
/* Base styling for the modal body content */
.ti-modal-body-content
{
background-color
:
#ffffff
;
border-radius
:
8px
;
box-shadow
:
0
4px
12px
rgba
(
0
,
0
,
0
,
0.1
);
}
/* Form labels */
.ti-form-label
{
font-size
:
0.95rem
;
color
:
#333
;
}
/* Form inputs */
.ti-form-input
{
border
:
1px
solid
#d1d5db
;
border-radius
:
4px
;
padding
:
0.6rem
1rem
;
font-size
:
1rem
;
transition
:
all
0.2s
ease-in-out
;
}
.ti-form-input
:focus
{
outline
:
none
;
border-color
:
#3b82f6
;
/* Example primary color */
box-shadow
:
0
0
0
3px
rgba
(
59
,
130
,
246
,
0.25
);
}
/* Read-only input styling */
.bg-input-readonly
{
background-color
:
#e5e7eb
;
cursor
:
not-allowed
;
}
/* Error text */
.text-danger
{
color
:
#ef4444
;
}
/* Tab button styling */
.tab-btn
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
width
:
120px
;
/* Consistent width for tabs */
padding
:
0.75rem
1rem
;
border
:
1px
solid
#d1d5db
;
border-bottom
:
none
;
/* Remove bottom border for active tab effect */
border-top-left-radius
:
4px
;
border-top-right-radius
:
4px
;
font-size
:
0.95rem
;
font-weight
:
500
;
text-align
:
center
;
color
:
#6b7280
;
transition
:
all
0.2s
ease-in-out
;
text-decoration
:
none
;
/* Remove underline from anchor tags */
}
.tab-btn
:hover
{
color
:
#111827
;
background-color
:
#f3f4f6
;
}
/* Active tab styling */
.tab-btn.hs-tab-active
{
background-color
:
#3b82f6
;
/* Example primary color */
border-color
:
#3b82f6
;
color
:
#ffffff
;
}
/* Custom primary color (replace with your actual primary color if different) */
.text-primary
{
color
:
#3b82f6
;
}
.bg-primary
{
background-color
:
#3b82f6
;
}
\ No newline at end of file
src/app/DPU/common/pdpa-manage/pdpa-manage.component.html
View file @
3c490f8b
This diff is collapsed.
Click to expand it.
src/app/DPU/common/pdpa-manage/pdpa-manage.component.ts
View file @
3c490f8b
This diff is collapsed.
Click to expand it.
src/app/DPU/models/pdpa.model.ts
View file @
3c490f8b
...
...
@@ -36,7 +36,7 @@ export class MyPdpaModel extends BaseModel implements PdpaModel {
pdpa
:
PdpaConsentModel
consentStatus
:
boolean
constructor
(
data
?:
Partial
<
PdpaModel
>
,
translateService
?:
TranslateService
)
{
super
(
data
,
translateService
)
super
(
data
)
this
.
profileId
=
data
?.
profileId
||
''
this
.
thFirstname
=
data
?.
thFirstname
||
''
this
.
engFirstname
=
data
?.
engFirstname
||
''
...
...
src/app/shared/services/nav.service.ts
View file @
3c490f8b
...
...
@@ -114,13 +114,6 @@ export class NavService implements OnDestroy {
title
:
'จัดการบทความ'
,
type
:
'link'
,
},
{
icon
:
'user-check'
,
path
:
'/admin/admin-manage'
,
title
:
'จัดการสิทธิ์ผู้ดูแลระบบ'
,
type
:
'link'
,
},
{
icon
:
'news'
,
...
...
@@ -128,6 +121,14 @@ export class NavService implements OnDestroy {
title
:
'จัดการ PDPA'
,
type
:
'link'
,
},
{
icon
:
'user-check'
,
path
:
'/admin/admin-manage'
,
title
:
'จัดการสิทธิ์ผู้ดูแลระบบ'
,
type
:
'link'
,
},
// { headTitle: 'User Management' },
];
...
...
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