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
8aa1490a
Commit
8aa1490a
authored
Nov 25, 2021
by
Chanachai
Browse files
Options
Browse Files
Download
Plain Diff
no message
parents
36bf0afe
3b736bfa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
2 deletions
+45
-2
equipment.component.html
src/app/pages/equipment/equipment.component.html
+43
-0
equipment.component.ts
src/app/pages/equipment/equipment.component.ts
+2
-2
No files found.
src/app/pages/equipment/equipment.component.html
View file @
8aa1490a
...
...
@@ -11,6 +11,7 @@
</div>
</div>
<
<<<<<<
HEAD
<
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"
...
...
@@ -64,6 +65,48 @@
<img
src=
"assets\img\mo1.jpg"
class=
"nav justify-content-center"
alt=
"..."
>
</div>
</div>
=======
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"card"
>
<div
class=
"card-body"
>
<ng-template
#
content
let-modal
>
<div
class=
"modal-header"
>
<h4
class=
"modal-title"
id=
"modal-basic-title"
>
Add Equipment
</h4>
<button
type=
"button"
class=
"close"
aria-label=
"Close"
(
click
)="
modal
.
dismiss
('
Cross
click
')"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div
class=
"modal-body"
>
<form>
<div
class=
"form-group"
>
<label
for=
"addequip"
>
Add Equipment
</label>
<div
class=
"input-group"
>
<input
id=
"addequip"
class=
"form-control"
placeholder=
"yyyy-mm-dd"
name=
"dp"
ngbDatepicker
#
dp=
"ngbDatepicker"
>
<div
class=
"input-group-append"
>
<button
class=
"btn btn-outline-secondary calendar"
(
click
)="
dp
.
toggle
()"
type=
"button"
></button>
</div>
</div>
</div>
</form>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-outline-dark"
(
click
)="
modal
.
close
('
Save
click
')"
>
Save
</button>
</div>
</ng-template>
<button
class=
"btn btn-lg btn-outline-primary"
(
click
)="
open
(
content
)"
>
Add Equipment
</button>
<hr>
<pre>
{{ closeResult }}
</pre>
<div
ngbDropdown
class=
"d-inline-block"
>
<button
class=
"btn btn-outline-primary"
id=
"dropdownBasic1"
ngbDropdownToggle
>
หมวดหมู่
</button>
<div
ngbDropdownMenu
aria-labelledby=
"dropdownBasic1"
>
<button
ngbDropdownItem
>
ยืมอุปกรณ์
</button>
<button
ngbDropdownItem
>
ยืมรถ
</button>
<button
ngbDropdownItem
>
จองห้อง
</button>
>>>>>>> 3b736bfa2d20b31eaab4ac1723a6613c44690579
</div>
<div
class=
"d-flex justify-content-between p-2"
>
...
...
src/app/pages/equipment/equipment.component.ts
View file @
8aa1490a
...
...
@@ -58,5 +58,4 @@ export class EquipmentComponent implements OnInit {
.
map
((
country
,
i
)
=>
({
id
:
i
+
1
,
...
country
}))
.
slice
((
this
.
page
-
1
)
*
this
.
pageSize
,
(
this
.
page
-
1
)
*
this
.
pageSize
+
this
.
pageSize
);
}
}
}
\ 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