Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
myhr-portal
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
myhr-portal
Commits
97d0ddf7
Commit
97d0ddf7
authored
Jun 09, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
เพิ่มหน้า datasource table
parent
ab7fc0c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
datasource-table.component.html
...app/apps/datasource-table/datasource-table.component.html
+16
-9
No files found.
src/app/apps/datasource-table/datasource-table.component.html
View file @
97d0ddf7
...
@@ -57,14 +57,6 @@
...
@@ -57,14 +57,6 @@
</div>
</div>
<div
class=
"row align-items-center mb-2"
>
<div
class=
"row align-items-center mb-2"
>
<div
class=
"col-4 col-lg-3 text-right"
>
<div
class=
"col-4 col-lg-3 text-right"
>
Status
</div>
<div
class=
"col-8 col-lg-3"
>
<input
type=
"text"
class=
"form-control"
[(
ngModel
)]="
datasourceTable
.
select
.
status
"
>
</div>
</div>
<div
class=
"row align-items-center mb-2"
>
<div
class=
"col-4 col-lg-3 text-right"
>
User Name
User Name
</div>
</div>
<div
class=
"col-8 col-lg-3"
>
<div
class=
"col-8 col-lg-3"
>
...
@@ -82,6 +74,20 @@
...
@@ -82,6 +74,20 @@
<i
class=
"fa fa-eye cursor-pointer"
*
ngIf=
"showPassword"
(
click
)="
showPassword=
false"
></i>
<i
class=
"fa fa-eye cursor-pointer"
*
ngIf=
"showPassword"
(
click
)="
showPassword=
false"
></i>
<i
class=
"fa fa-eye-slash cursor-pointer"
*
ngIf=
"!showPassword"
(
click
)="
showPassword=
true"
></i>
<i
class=
"fa fa-eye-slash cursor-pointer"
*
ngIf=
"!showPassword"
(
click
)="
showPassword=
true"
></i>
</div>
</div>
<div
class=
"row align-items-center mb-2"
>
<div
class=
"col-4 col-lg-3 text-right"
>
Status
</div>
<div
class=
"col-8 col-lg-3"
>
<select
class=
"custom-select"
[(
ngModel
)]="
datasourceTable
.
select
.
status
"
>
<option
style=
"color: red"
[
class
.
d-none
]="
datasourceTable
.
select
.
status=
=''"
[
value
]="''"
>
{{datasourceTable.select.status!=''?'ยกเลิก':''}}
</option>
<option
value=
"online"
>
online
</option>
<option
value=
"offline"
>
offline
</option>
</select>
<input
type=
"text"
class=
"form-control"
[(
ngModel
)]="
datasourceTable
.
select
.
status
"
>
</div>
</div>
<div
class=
"row justify-content-center align-items-center mb-2"
>
<div
class=
"row justify-content-center align-items-center mb-2"
>
<button
type=
"button"
class=
"btn btn-info"
(
click
)="
postData
()"
>
บันทึก
</button>
<button
type=
"button"
class=
"btn btn-info"
(
click
)="
postData
()"
>
บันทึก
</button>
...
@@ -156,7 +162,8 @@
...
@@ -156,7 +162,8 @@
<i
class=
"cursor-pointer fa fa-eye"
*
ngIf=
"tableShowPassword.get(item.userName)"
<i
class=
"cursor-pointer fa fa-eye"
*
ngIf=
"tableShowPassword.get(item.userName)"
(
click
)="
tableShowPassword
.
set
(
item
.
userName
,
false
)"
></i>
(
click
)="
tableShowPassword
.
set
(
item
.
userName
,
false
)"
></i>
<i
class=
"cursor-pointer fa fa-eye-slash"
*
ngIf=
"!tableShowPassword.get(item.userName)"
<i
class=
"cursor-pointer fa fa-eye-slash"
*
ngIf=
"!tableShowPassword.get(item.userName)"
(
click
)="
tableShowPassword
.
set
(
item
.
userName
,
true
)"
></i>
(
click
)="
tableShowPassword
.
set
(
item
.
userName
,
true
)"
></i>
</td>
</td>
</tr>
</tr>
...
...
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