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
d7ffdab5
Commit
d7ffdab5
authored
Jul 14, 2025
by
sawit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit view Datasource Table
parent
0ad76c64
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
datasource-table.component.html
...myportal/datasource-table/datasource-table.component.html
+15
-15
No files found.
src/app/DPU/common/myportal/datasource-table/datasource-table.component.html
View file @
d7ffdab5
...
@@ -39,8 +39,8 @@
...
@@ -39,8 +39,8 @@
<th
scope=
"col"
class=
"text-start"
>
{{ 'Database Name' | translate}}
</th>
<th
scope=
"col"
class=
"text-start"
>
{{ 'Database Name' | translate}}
</th>
<th
scope=
"col"
class=
"text-start"
>
{{ 'Server Name' | translate}}
</th>
<th
scope=
"col"
class=
"text-start"
>
{{ 'Server Name' | translate}}
</th>
<th
scope=
"col"
class=
"text-start"
>
{{ 'Status' | translate}}
</th>
<th
scope=
"col"
class=
"text-start"
>
{{ 'Status' | translate}}
</th>
<
th
scope=
"col"
class=
"text-start"
>
{{ 'User Name' | translate}}
</th
>
<
!-- <th scope="col" class="text-start">{{ 'User Name' | translate}}</th> --
>
<
th
scope=
"col"
class=
"text-start"
>
{{ 'Password' | translate}}
</th
>
<
!-- <th scope="col" class="text-start">{{ 'Password' | translate}}</th> --
>
<th
scope=
"col"
class=
"text-start"
>
{{ 'Action' | translate}}
</th>
<th
scope=
"col"
class=
"text-start"
>
{{ 'Action' | translate}}
</th>
</tr>
</tr>
</thead>
</thead>
...
@@ -99,19 +99,19 @@
...
@@ -99,19 +99,19 @@
</span>
</span>
</div>
</div>
</td>
</td>
<td>
<
!-- <
td>
<div>
<div>
<span class="block mb-1">
<span class="block mb-1">
{{item.userName}}
{{item.userName}}
</span>
</span>
</div>
</div>
</td>
</td>
-->
<td
class=
"text-center"
style=
"white-space: normal !important;word-break: break-word;"
>
<
!-- <
td class="text-center" style="white-space: normal !important;word-break: break-word;">
<span class="cursor-pointer" (click)="selectData(item)">
<span class="cursor-pointer" (click)="selectData(item)">
{{tableShowPassword.get(item.companyId)?item.password : '*'.repeat(item.password?.length || 0) }}</span>
{{tableShowPassword.get(item.companyId)?item.password : '*'.repeat(item.password?.length || 0) }}</span>
<i class="cursor-pointer fa fa-eye" *ngIf="tableShowPassword.get(item.companyId)" (click)="tableShowPassword.set(item.companyId,false)"></i>
<i class="cursor-pointer fa fa-eye" *ngIf="tableShowPassword.get(item.companyId)" (click)="tableShowPassword.set(item.companyId,false)"></i>
<i class="cursor-pointer fa fa-eye-slash" *ngIf="!tableShowPassword.get(item.companyId)" (click)="tableShowPassword.set(item.companyId,true)"></i>
<i class="cursor-pointer fa fa-eye-slash" *ngIf="!tableShowPassword.get(item.companyId)" (click)="tableShowPassword.set(item.companyId,true)"></i>
</td>
</td>
-->
<td>
<td>
<div
class=
"flex flex-row items-center !gap-2 "
>
<div
class=
"flex flex-row items-center !gap-2 "
>
<a
aria-label=
"anchor"
(
click
)="
view
(
item
)"
data-hs-overlay=
"#modal-detail"
<a
aria-label=
"anchor"
(
click
)="
view
(
item
)"
data-hs-overlay=
"#modal-detail"
...
@@ -204,7 +204,7 @@
...
@@ -204,7 +204,7 @@
<div
class=
"ti-modal-body px-4"
>
<div
class=
"ti-modal-body px-4"
>
<div
class=
"grid grid-cols-12 gap-4"
>
<div
class=
"grid grid-cols-12 gap-4"
>
<div
class=
"xl:col-span-12 col-span-12"
*
ngIf=
"action == 'edit'"
>
<div
class=
"xl:col-span-12 col-span-12
my-2
"
*
ngIf=
"action == 'edit'"
>
<label
for=
"companyId"
class=
"form-label"
>
{{'รหัสบริษัท' | translate}}
</label>
<label
for=
"companyId"
class=
"form-label"
>
{{'รหัสบริษัท' | translate}}
</label>
<input
type=
"text"
class=
"form-control !bg-input-readonly"
id=
"companyId"
placeholder=
""
[(
ngModel
)]="
selectModel
.
companyId
"
<input
type=
"text"
class=
"form-control !bg-input-readonly"
id=
"companyId"
placeholder=
""
[(
ngModel
)]="
selectModel
.
companyId
"
[
disabled
]="
action =
==
'
edit
'"
>
[
disabled
]="
action =
==
'
edit
'"
>
...
@@ -213,7 +213,7 @@
...
@@ -213,7 +213,7 @@
</div> -->
</div> -->
</div>
</div>
<div
class=
"xl:col-span-12 col-span-12"
*
ngIf=
"modalStatus=='add'"
>
<div
class=
"xl:col-span-12 col-span-12
my-2
"
*
ngIf=
"modalStatus=='add'"
>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Company Name' | translate}}
</label>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Company Name' | translate}}
</label>
<input
type=
"text"
class=
"form-control"
id=
"deal-title"
placeholder=
""
<input
type=
"text"
class=
"form-control"
id=
"deal-title"
placeholder=
""
[(
ngModel
)]="
selectModel
.
companyName
"
>
[(
ngModel
)]="
selectModel
.
companyName
"
>
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"xl:col-span-12 col-span-12"
*
ngIf=
"modalStatus=='add'"
>
<div
class=
"xl:col-span-12 col-span-12
my-2
"
*
ngIf=
"modalStatus=='add'"
>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Database Type' | translate}}
</label>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Database Type' | translate}}
</label>
<!-- <input type="text" class="form-control" id="deal-title" placeholder=""
<!-- <input type="text" class="form-control" id="deal-title" placeholder=""
[(ngModel)]="selectModel.dbType"> -->
[(ngModel)]="selectModel.dbType"> -->
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
{{'Please fill in information' | translate}}
{{'Please fill in information' | translate}}
</div>
</div>
</div>
</div>
<div
class=
"xl:col-span-12 col-span-12"
*
ngIf=
"modalStatus=='add'"
>
<div
class=
"xl:col-span-12 col-span-12
my-2
"
*
ngIf=
"modalStatus=='add'"
>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Port Number' | translate}}
</label>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Port Number' | translate}}
</label>
<input
type=
"text"
class=
"form-control"
id=
"deal-title"
placeholder=
""
<input
type=
"text"
class=
"form-control"
id=
"deal-title"
placeholder=
""
[(
ngModel
)]="
selectModel
.
portNumber
"
>
[(
ngModel
)]="
selectModel
.
portNumber
"
>
...
@@ -244,13 +244,13 @@
...
@@ -244,13 +244,13 @@
{{'Please fill in information' | translate}}
{{'Please fill in information' | translate}}
</div>
</div>
</div>
</div>
<div
class=
"xl:col-span-12 col-span-12"
*
ngIf=
"modalStatus=='add'"
>
<div
class=
"xl:col-span-12 col-span-12
my-2
"
*
ngIf=
"modalStatus=='add'"
>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Database Name' | translate}}
</label>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Database Name' | translate}}
</label>
<input
type=
"text"
class=
"form-control"
id=
"deal-title"
placeholder=
""
[(
ngModel
)]="
selectModel
.
databaseName
"
>
<input
type=
"text"
class=
"form-control"
id=
"deal-title"
placeholder=
""
[(
ngModel
)]="
selectModel
.
databaseName
"
>
<div
class=
"text-danger"
*
ngIf=
"!selectModel.databaseName"
>
<div
class=
"text-danger"
*
ngIf=
"!selectModel.databaseName"
>
{{'Please fill in information' | translate}}
{{'Please fill in information' | translate}}
</div>
</div>
<div
class=
"xl:col-span-12 col-span-12"
*
ngIf=
"modalStatus=='add'"
>
<div
class=
"xl:col-span-12 col-span-12
my-2
"
*
ngIf=
"modalStatus=='add'"
>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Server Name' | translate}}
</label>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Server Name' | translate}}
</label>
<input
type=
"text"
class=
"form-control"
id=
"deal-title"
placeholder=
""
<input
type=
"text"
class=
"form-control"
id=
"deal-title"
placeholder=
""
[(
ngModel
)]="
selectModel
.
serverName
"
>
[(
ngModel
)]="
selectModel
.
serverName
"
>
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
{{'Please fill in information' | translate}}
{{'Please fill in information' | translate}}
</div>
</div>
</div>
</div>
<div
class=
"xl:col-span-12 col-span-12"
*
ngIf=
"modalStatus=='add'"
>
<div
class=
"xl:col-span-12 col-span-12
my-2
"
*
ngIf=
"modalStatus=='add'"
>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Status' | translate}}
</label>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Status' | translate}}
</label>
<!-- <input type="text" class="form-control" id="deal-title" placeholder=""
<!-- <input type="text" class="form-control" id="deal-title" placeholder=""
[(ngModel)]="selectModel.status"> -->
[(ngModel)]="selectModel.status"> -->
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
{{'Please fill in information' | translate}}
{{'Please fill in information' | translate}}
</div>
</div>
</div>
</div>
<div
class=
"xl:col-span-12 col-span-12"
*
ngIf=
"modalStatus=='add'"
>
<div
class=
"xl:col-span-12 col-span-12
my-2
"
*
ngIf=
"modalStatus=='add'"
>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'User Name' | translate}}
</label>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'User Name' | translate}}
</label>
<input
type=
"text"
class=
"form-control"
id=
"deal-title"
placeholder=
""
<input
type=
"text"
class=
"form-control"
id=
"deal-title"
placeholder=
""
[(
ngModel
)]="
selectModel
.
userName
"
>
[(
ngModel
)]="
selectModel
.
userName
"
>
...
@@ -281,7 +281,7 @@
...
@@ -281,7 +281,7 @@
{{'Please fill in information' | translate}}
{{'Please fill in information' | translate}}
</div>
</div>
</div>
</div>
<div
class=
"xl:col-span-12 col-span-12"
*
ngIf=
"modalStatus=='add'"
>
<div
class=
"xl:col-span-12 col-span-12
my-2
"
*
ngIf=
"modalStatus=='add'"
>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Password' | translate}}
</label><br>
<label
for=
"deal-title"
class=
"form-label"
>
{{ 'Password' | translate}}
</label><br>
<input
type=
"text"
class=
"form-control"
style=
"width: 95%"
id=
"deal-title"
placeholder=
""
<input
type=
"text"
class=
"form-control"
style=
"width: 95%"
id=
"deal-title"
placeholder=
""
[(
ngModel
)]="
selectModel
.
password
"
[
class
.
secure-input
]="!
showPassword
"
>
[(
ngModel
)]="
selectModel
.
password
"
[
class
.
secure-input
]="!
showPassword
"
>
...
...
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