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
c2cd2e83
Commit
c2cd2e83
authored
3 years ago
by
Chanachai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit button center
parent
f44d0a6f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
31 deletions
+31
-31
admin-equirment.component.html
src/app/pages/admin-equirment/admin-equirment.component.html
+15
-16
equipment.component.html
src/app/pages/equipment/equipment.component.html
+15
-14
pending.component.html
src/app/pages/pending/pending.component.html
+1
-1
No files found.
src/app/pages/admin-equirment/admin-equirment.component.html
View file @
c2cd2e83
...
...
@@ -37,12 +37,10 @@
</div>
<div
class=
"text-center"
>
<div
class=
"d-grid gap-2 a-md-flex justify-content-md-end "
>
<button
class=
"btn btn-sm btn-outline-primary"
(
click
)="
Ropen
(
editroom
,((
pageListRoom-1
)
*
pageSizeListRoom
)+
i
)"
>
แก้ไข
</button>
<button
class=
"btn btn-sm btn-danger"
type=
"button.dispose"
(
click
)="
openDelete
(
deleteRoomPopup
,
item
)"
>
ลบ
</button>
</div>
<button
class=
"btn btn-sm btn-outline-primary"
(
click
)="
Ropen
(
editroom
,((
pageListRoom-1
)
*
pageSizeListRoom
)+
i
)"
>
แก้ไข
</button>
<button
class=
"btn btn-sm btn-danger"
type=
"button.dispose"
(
click
)="
openDelete
(
deleteRoomPopup
,
item
)"
>
ลบ
</button>
</div>
</div>
</div>
...
...
@@ -96,12 +94,10 @@
</div>
<div
class=
"text-center"
>
<div
class=
"d-grid gap-2 a-md-flex justify-content-md-end"
>
<button
class=
"btn btn-sm btn-outline-primary"
(
click
)="
Eopen
(
editLend
,((
page-1
)
*
pageSize
)+
i
)"
>
แก้ไข
</button>
<button
class=
"btn btn-sm btn-danger"
(
click
)="
openDeleteEquirment
(
deleteEquirPopup
,
item
)"
>
ลบ
</button>
</div>
<button
class=
"btn btn-sm btn-outline-primary"
(
click
)="
Eopen
(
editLend
,((
page-1
)
*
pageSize
)+
i
)"
>
แก้ไข
</button>
<button
class=
"btn btn-sm btn-danger"
(
click
)="
openDeleteEquirment
(
deleteEquirPopup
,
item
)"
>
ลบ
</button>
</div>
</div>
</div>
...
...
@@ -179,12 +175,13 @@
</div>
</div>
<label
for=
"exampleFormControlFile"
>
แนบไฟล์รูปภาพ
</label>
<input
type=
"file"
class=
"form-control-file"
id=
"exampleFormControlFile"
>
<input
type=
"file"
class=
"form-control-file"
id=
"exampleFormControlFile"
>
</form>
</div>
<div
class=
" card-footer"
>
<button
class=
" btn btn-fill btn-danger"
[
disabled
]="
myFormEquir
.
invalid
"
type=
"submit"
(
click
)="
saveEquirment
()"
>
Save
</button>
<button
class=
" btn btn-fill btn-danger"
[
disabled
]="
myFormEquir
.
invalid
"
type=
"submit"
(
click
)="
saveEquirment
()"
>
Save
</button>
<button
class=
" btn btn-fill btn-danger"
type=
"cancel"
(
click
)="
modal
.
dismiss
('
Cross
click
')"
>
Cancel
</button>
</div>
...
...
@@ -204,7 +201,8 @@
<div
class=
" col-md-12"
>
<div
class=
" form-group"
>
<label>
ชื่อ
</label>
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelRoom
.
rName
"
formControlName=
"rName"
>
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelRoom
.
rName
"
formControlName=
"rName"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rName.status=='INVALID'"
>
กรุณากรอกชื่อ.
</div>
</div>
...
...
@@ -242,7 +240,8 @@
</form>
</div>
<div
class=
" card-footer"
>
<button
class=
" btn btn-fill btn-danger"
[
disabled
]="
myFormRoom
.
invalid
"
type=
"submit"
(
click
)="
saveRoom
()"
>
Save
</button>
<button
class=
" btn btn-fill btn-danger"
[
disabled
]="
myFormRoom
.
invalid
"
type=
"submit"
(
click
)="
saveRoom
()"
>
Save
</button>
<button
class=
" btn btn-fill btn-danger"
type=
"cancel"
(
click
)="
modal
.
dismiss
('
Cross
click
')"
>
Cancel
</button>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/pages/equipment/equipment.component.html
View file @
c2cd2e83
...
...
@@ -33,10 +33,8 @@
</div>
<div
class=
"text-center"
>
<div
class=
"d-grid gap-2 a-md-flex justify-content-md-end "
>
<button
class=
"btn btn-sm btn-outline-primary"
(
click
)="
bookRoom
(
Room
,
item
)"
>
จอง
</button>
</div>
<button
class=
"btn btn-sm btn-outline-primary"
(
click
)="
bookRoom
(
Room
,
item
)"
>
จอง
</button>
</div>
</div>
</div>
...
...
@@ -86,10 +84,8 @@
</div>
<div
class=
"text-center"
>
<div
class=
"d-grid gap-2 a-md-flex justify-content-md-end"
>
<button
class=
"btn btn-sm btn-outline-primary"
(
click
)="
bookEquir
(
Lend
,
item
)"
>
เบิก
</button>
</div>
<button
class=
"btn btn-sm btn-outline-primary"
(
click
)="
bookEquir
(
Lend
,
item
)"
>
เบิก
</button>
</div>
</div>
</div>
...
...
@@ -317,7 +313,8 @@
<div
class=
"col-12 mb-1"
>
<div
class=
" form-check"
>
<label
class=
" form-check-label"
>
<input
class=
" form-check"
type=
"checkbox"
[(
ngModel
)]="
modelRoomDetail
.
allDay
"
formControlName=
"allDay"
/>
<input
class=
" form-check"
type=
"checkbox"
[(
ngModel
)]="
modelRoomDetail
.
allDay
"
formControlName=
"allDay"
/>
<span
class=
" form-check-sign"
>
<span
class=
"check"
>
ทั้งวัน
</span>
</span>
...
...
@@ -329,7 +326,7 @@
<div
class=
"col-6 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
เวลาที่เริ่มต้น
</label>
<input
class=
"form-control"
type=
"time"
[(
ngModel
)]="
modelRoomDetail
.
sTime
"
formControlName=
"sTime"
/>
formControlName=
"sTime"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.sTime.status=='INVALID'"
>
กรุณากรอกเวลาที่เริ่มต้นการจอง.
</div>
...
...
@@ -357,8 +354,10 @@
</form>
</div>
<div
class=
" card-footer"
>
<button
class=
" btn btn-fill btn-danger"
[
disabled
]="
myFormRoom
.
invalid
"
type=
"button"
(
click
)="
saveBook
()"
>
บันทึก
</button>
<button
class=
" btn btn-fill btn-danger"
type=
"cancel"
(
click
)="
modal
.
dismiss
('
Cross
click
')"
>
ยกเลิก
</button>
<button
class=
" btn btn-fill btn-danger"
[
disabled
]="
myFormRoom
.
invalid
"
type=
"button"
(
click
)="
saveBook
()"
>
บันทึก
</button>
<button
class=
" btn btn-fill btn-danger"
type=
"cancel"
(
click
)="
modal
.
dismiss
('
Cross
click
')"
>
ยกเลิก
</button>
</div>
</div>
</div>
...
...
@@ -455,8 +454,10 @@
</form>
</div>
<div
class=
" card-footer"
>
<button
class=
" btn btn-fill btn-danger"
[
disabled
]="
myFormEquir
.
invalid
"
type=
"submit"
(
click
)="
saveLend
()"
>
Save
</button>
<button
class=
" btn btn-fill btn-danger"
type=
"cancel"
(
click
)="
modal
.
dismiss
('
Cross
click
')"
>
Cancel
</button>
<button
class=
" btn btn-fill btn-danger"
[
disabled
]="
myFormEquir
.
invalid
"
type=
"submit"
(
click
)="
saveLend
()"
>
Save
</button>
<button
class=
" btn btn-fill btn-danger"
type=
"cancel"
(
click
)="
modal
.
dismiss
('
Cross
click
')"
>
Cancel
</button>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/pages/pending/pending.component.html
View file @
c2cd2e83
...
...
@@ -285,7 +285,7 @@
<div
class=
" row"
>
<div
class=
" col-sm-12 mb-1"
>
<div
class=
" form-group"
>
<label>
ชื่อผู้
จอง
</label>
<label>
ชื่อผู้
เบิก
</label>
<input
readonly
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelItemDetail
.
userName
"
/>
</div>
...
...
This diff is collapsed.
Click to expand it.
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