Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BookingMyHrManagement
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
Chanachai
BookingMyHrManagement
Commits
bc04974b
Commit
bc04974b
authored
Nov 26, 2021
by
DESKTOP-HF0LVOG\myhr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update หัวตาราง
parent
0d804d73
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
143 additions
and
35 deletions
+143
-35
admin-pending.component.html
src/app/pages/admin-pending/admin-pending.component.html
+75
-18
pending.component.html
src/app/pages/pending/pending.component.html
+68
-17
No files found.
src/app/pages/admin-pending/admin-pending.component.html
View file @
bc04974b
...
...
@@ -47,22 +47,70 @@
</div>
</div>
</div>
<ul
class=
"nav nav-tabs"
id=
"myTab"
role=
"tablist"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link active"
id=
"ยืมอุปกรณ์IT-tab"
data-toggle=
"tab"
href=
"#ยืมอุปกรณ์IT"
role=
"tab"
aria-controls=
"ยืมอุปกรณ์IT"
aria-selected=
"true"
>
ยืมอุปกรณ์IT
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
id=
"จองห้อง-รถ-tab"
data-toggle=
"tab"
href=
"#จองห้อง-รถ"
role=
"tab"
aria-controls=
"จองห้อง-รถ"
aria-selected=
"false"
>
จองห้อง-รถ
</a>
</li>
<div
class=
"col-sm-4"
>
<form
class=
"form-inline my-2 my-lg-0"
>
<input
class=
"form-control mr-sm-2"
type=
"search"
placeholder=
"Search"
aria-label=
"Search"
>
<button
class=
"btn btn-outline-success my-2 my-sm-0"
type=
"submit"
>
Search
</button>
</form>
<ul
ngbNav
#
nav=
"ngbNav"
class=
"nav-tabs"
>
<li
ngbNavItem
>
<a
ngbNavLink
>
การจอง
</a>
<ng-template
ngbNavContent
>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
<div
class=
"card-body"
>
<table
class=
"table table-striped"
>
<thead>
<tr>
<th
scope=
"col"
>
#
</th>
<th
scope=
"col"
>
Catagory
</th>
<th
scope=
"col"
>
Type
</th>
<th
scope=
"col"
>
Detail
</th>
<th
scope=
"col"
>
Name
</th>
<th
scope=
"col"
>
Start-Date
</th>
<th
scope=
"col"
>
End-Date
</th>
<th
scope=
"col"
>
Status
</th>
</tr>
</thead>
<tbody>
<tr
*
ngFor=
"let country of countries"
>
<th
scope=
"row"
>
{{ country.id }}
</th>
<td>
{{ country.catagory }}
</td>
<td>
{{ country.type }}
</td>
<td>
{{ country.detail }}
</td>
<td>
{{ country.name }}
</td>
<td>
{{ country.sdate | date:'dd-MM-yyyy' }}
</td>
<td>
{{ country.edate | date:'dd-MM-yyyy' }}
</td>
<td>
{{ country.status }}
</td>
<div
class=
"d-grid gap-3 d-sm-flex justify-content-end"
>
<button
class=
"btn btn-primary btn-sm align-end"
type=
"button"
>
เพิ่ม
</button>
<button
class=
"btn btn-primary btn-sm "
type=
"button"
>
ลบ
</button>
<button
class=
"btn btn-primary btn-sm "
type=
"button"
>
แก้ไข
</button>
</div>
</ul>
</tr>
</tbody>
</table>
<div
class=
"d-flex justify-content-between p-2"
>
<ngb-pagination
[
collectionSize
]="
collectionSize
"
[(
page
)]="
page
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
refreshCountries
()"
>
</ngb-pagination>
<select
class=
"custom-select"
style=
"width: auto"
[(
ngModel
)]="
pageSize
"
(
ngModelChange
)="
refreshCountries
()"
>
<option
[
ngValue
]="
10
"
>
10 items per page
</option>
<option
[
ngValue
]="
50
"
>
50 items per page
</option>
<option
[
ngValue
]="
100
"
>
100 items per page
</option>
</select>
</div>
</div>
</div>
</div>
</div>
</ng-template>
</li>
<li
ngbNavItem
>
<a
ngbNavLink
>
การเบิก
</a>
<ng-template
ngbNavContent
>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
...
...
@@ -91,7 +139,8 @@
<td>
{{ country.edate | date:'dd-MM-yyyy' }}
</td>
<td>
{{ country.status }}
</td>
<div
class=
"d-grid gap-3 d-sm-flex justify-content-end"
>
<button
class=
"btn btn-primary btn-sm align-end"
type=
"button"
>
เพิ่ม
</button>
<button
class=
"btn btn-primary btn-sm align-end"
type=
"button"
>
เพิ่ม
</button>
<button
class=
"btn btn-primary btn-sm "
type=
"button"
>
ลบ
</button>
<button
class=
"btn btn-primary btn-sm "
type=
"button"
>
แก้ไข
</button>
</div>
...
...
@@ -100,8 +149,8 @@
</table>
<div
class=
"d-flex justify-content-between p-2"
>
<ngb-pagination
[
collectionSize
]="
collectionSize
"
[(
page
)]="
page
"
[
pageSize
]="
pageSiz
e
"
(
pageChange
)="
refreshCountries
()"
>
<ngb-pagination
[
collectionSize
]="
collectionSize
"
[(
page
)]="
pag
e
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
refreshCountries
()"
>
</ngb-pagination>
<select
class=
"custom-select"
style=
"width: auto"
[(
ngModel
)]="
pageSize
"
...
...
@@ -116,4 +165,11 @@
</div>
</div>
</div>
</ng-template>
</li>
</ul>
<div
[
ngbNavOutlet
]="
nav
"
></div>
</div>
\ No newline at end of file
src/app/pages/pending/pending.component.html
View file @
bc04974b
...
...
@@ -47,22 +47,65 @@
</div>
</div>
</div>
<ul
class=
"nav nav-tabs"
id=
"myTab"
role=
"tablist"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link active"
id=
"ยืมอุปกรณ์IT-tab"
data-toggle=
"tab"
href=
"#ยืมอุปกรณ์IT"
role=
"tab"
aria-controls=
"ยืมอุปกรณ์IT"
aria-selected=
"true"
>
ยืมอุปกรณ์IT
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
id=
"จองห้อง-รถ-tab"
data-toggle=
"tab"
href=
"#จองห้อง-รถ"
role=
"tab"
aria-controls=
"จองห้อง-รถ"
aria-selected=
"false"
>
จองห้อง-รถ
</a>
</li>
<div
class=
"col-sm-4"
>
<form
class=
"form-inline my-2 my-lg-0"
>
<input
class=
"form-control mr-sm-2"
type=
"search"
placeholder=
"Search"
aria-label=
"Search"
>
<button
class=
"btn btn-outline-success my-2 my-sm-0"
type=
"submit"
>
Search
</button>
</form>
<ul
ngbNav
#
nav=
"ngbNav"
class=
"nav-tabs"
>
<li
ngbNavItem
>
<a
ngbNavLink
>
การจอง
</a>
<ng-template
ngbNavContent
>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
<div
class=
"card-body"
>
<table
class=
"table table-striped"
>
<thead>
<tr>
<th
scope=
"col"
>
#
</th>
<th
scope=
"col"
>
Catagory
</th>
<th
scope=
"col"
>
Type
</th>
<th
scope=
"col"
>
Detail
</th>
<th
scope=
"col"
>
Name
</th>
<th
scope=
"col"
>
Start-Date
</th>
<th
scope=
"col"
>
End-Date
</th>
<th
scope=
"col"
>
Status
</th>
</tr>
</thead>
<tbody>
<tr
*
ngFor=
"let country of countries"
>
<th
scope=
"row"
>
{{ country.id }}
</th>
<td>
{{ country.catagory }}
</td>
<td>
{{ country.type }}
</td>
<td>
{{ country.detail }}
</td>
<td>
{{ country.name }}
</td>
<td>
{{ country.sdate | date:'dd-MM-yyyy' }}
</td>
<td>
{{ country.edate | date:'dd-MM-yyyy' }}
</td>
<td>
{{ country.status }}
</td>
</tr>
</tbody>
</table>
<div
class=
"d-flex justify-content-between p-2"
>
<ngb-pagination
[
collectionSize
]="
collectionSize
"
[(
page
)]="
page
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
refreshCountries
()"
>
</ngb-pagination>
<select
class=
"custom-select"
style=
"width: auto"
[(
ngModel
)]="
pageSize
"
(
ngModelChange
)="
refreshCountries
()"
>
<option
[
ngValue
]="
10
"
>
10 items per page
</option>
<option
[
ngValue
]="
50
"
>
50 items per page
</option>
<option
[
ngValue
]="
100
"
>
100 items per page
</option>
</select>
</div>
</ul>
</div>
</div>
</div>
</div>
</ng-template>
</li>
<li
ngbNavItem
>
<a
ngbNavLink
>
การเบิก
</a>
<ng-template
ngbNavContent
>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
...
...
@@ -95,8 +138,8 @@
</table>
<div
class=
"d-flex justify-content-between p-2"
>
<ngb-pagination
[
collectionSize
]="
collectionSize
"
[(
page
)]="
page
"
[
pageSize
]="
pageSiz
e
"
(
pageChange
)="
refreshCountries
()"
>
<ngb-pagination
[
collectionSize
]="
collectionSize
"
[(
page
)]="
pag
e
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
refreshCountries
()"
>
</ngb-pagination>
<select
class=
"custom-select"
style=
"width: auto"
[(
ngModel
)]="
pageSize
"
...
...
@@ -110,5 +153,12 @@
</div>
</div>
</div>
</ng-template>
</li>
</ul>
<div
[
ngbNavOutlet
]="
nav
"
></div>
</div>
\ No newline at end of file
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