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
880636d6
Commit
880636d6
authored
Dec 23, 2021
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Add html
parent
ab1e7546
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
31 deletions
+18
-31
home-page-calendar.component.html
src/app/pages/home-page/home-page-calendar.component.html
+13
-0
home-page.component.ts
src/app/pages/home-page/home-page.component.ts
+5
-31
No files found.
src/app/pages/home-page/home-page-calendar.component.html
0 → 100644
View file @
880636d6
<div
class=
"modal-header"
>
<h4
class=
"modal-title"
>
Hi there!
</h4>
<button
type=
"button"
class=
"close"
aria-label=
"Close"
(
click
)="
activeModal
.
dismiss
('
Cross
click
')"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div
class=
"modal-body"
>
<p>
Hello, {{name}}!
</p>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-outline-dark"
(
click
)="
activeModal
.
close
('
Close
click
')"
>
Close
</button>
</div>
\ No newline at end of file
src/app/pages/home-page/home-page.component.ts
View file @
880636d6
...
...
@@ -12,35 +12,7 @@ import { RoomDetail } from 'src/app/models/RoomDetail.model';
@
Component
({
selector
:
'ngbd-modal-content'
,
template
:
`
<div class=" col-md-12" style="padding: 0; ">
<div class="card" style="margin: 0; ">
<div class=" card-header">
<h5 class=" title">รายละเอียดการจอง</h5>
</div>
<div class=" card-body">
<div class="row">
<div class="col-md-12">
<label> ชื่อผู้จอง </label>
<input readonly class="form-control" placeholder="" type="text" value="listRoomDetail.userName" />
</div>
</div>
<div class=" row">
<div class="col-md-12">
<label> เบอร์โทร </label>
<input readonly class="form-control" placeholder="" type="text" />
</div>
</div>
<div class="row">
<div class="col-sm-12">
<label for="exampleFormControlSelect1">ชื่อห้อง</label>
<input readonly class="form-control" placeholder="" type="text" />
</div>
</div>
</div>
</div>
</div>
`
templateUrl
:
'./home-page-calendar.component.html'
})
export
class
NgbdModalContent
{
...
...
@@ -265,8 +237,9 @@ export class HomePageComponent implements OnInit {
}
eventShow
()
{
this
.
listRoomDetail
=
this
.
RoomDetailService
.
getListRoomDetail
();
const
modalRef
=
this
.
modalService
.
open
(
NgbdModalContent
);
modalRef
.
componentInstance
.
name
=
'
World
'
;
modalRef
.
componentInstance
.
name
=
''
;
modalRef
.
componentInstance
.
rName
=
'World'
;
}
}
\ 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