Commit 1e4baed0 by DESKTOP-HF0LVOG\myhr

Update แยกประเภทการค้นหาและปุ่มค้นหา

parent 2e1d1840
...@@ -48,15 +48,15 @@ ...@@ -48,15 +48,15 @@
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div ngbDropdown class="d-inline-block"> <div ngbDropdown class="d-inline-block">
<button class="btn btn-outline-primary" id="dropdownBasic1" <button class="btn btn-sm btn-outline-primary" id="dropdownBasic1"
ngbDropdownToggle>ค้นหา</button> ngbDropdownToggle>ประเภทการค้นหา</button>
<div ngbDropdownMenu aria-labelledby="dropdownBasic1"> <div ngbDropdownMenu aria-labelledby="dropdownBasic1">
<button ngbDropdownItem>รอดำเนินการ</button> <button ngbDropdownItem>รอดำเนินการ</button>
<button ngbDropdownItem>อนุมัติ</button> <button ngbDropdownItem>อนุมัติ</button>
<button ngbDropdownItem>ยกเลิก</button> <button ngbDropdownItem>ยกเลิก</button>
<button ngbDropdownItem>สำเร็จแล้ว</button> <button ngbDropdownItem>สำเร็จแล้ว</button>
</div> </div>
<button class="btn btn-outline-success" type="submit">Search</button> <button class="btn btn-sm btn-outline-success" type="submit">Search</button>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -48,15 +48,15 @@ ...@@ -48,15 +48,15 @@
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div ngbDropdown class="d-inline-block"> <div ngbDropdown class="d-inline-block">
<button class="btn btn-outline-primary" id="dropdownBasic1" <button class="btn btn-sm btn-outline-primary" id="dropdownBasic1"
ngbDropdownToggle>ค้นหา</button> ngbDropdownToggle>ประเภทการค้นหา</button>
<div ngbDropdownMenu aria-labelledby="dropdownBasic1"> <div ngbDropdownMenu aria-labelledby="dropdownBasic1">
<button ngbDropdownItem>รอดำเนินการ</button> <button ngbDropdownItem>รอดำเนินการ</button>
<button ngbDropdownItem>อนุมัติ</button> <button ngbDropdownItem>อนุมัติ</button>
<button ngbDropdownItem>ยกเลิก</button> <button ngbDropdownItem>ยกเลิก</button>
<button ngbDropdownItem>สำเร็จแล้ว</button> <button ngbDropdownItem>สำเร็จแล้ว</button>
</div> </div>
<button class="btn btn-outline-success" type="submit">Search</button> <button class="btn btn-sm btn-outline-success" type="submit">Search</button>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -80,6 +80,7 @@ export class HomePageComponent implements OnInit { ...@@ -80,6 +80,7 @@ export class HomePageComponent implements OnInit {
calendarOptions: CalendarOptions; calendarOptions: CalendarOptions;
showBook = false; showBook = false;
handleDateClick(arg) { handleDateClick(arg) {
alert('date click! ' + arg.dateStr) alert('date click! ' + arg.dateStr)
} }
...@@ -132,8 +133,6 @@ export class HomePageComponent implements OnInit { ...@@ -132,8 +133,6 @@ export class HomePageComponent implements OnInit {
onNavChange(changeEvent: NgbNavChangeEvent) { onNavChange(changeEvent: NgbNavChangeEvent) {
setTimeout(function () { setTimeout(function () {
window.dispatchEvent(new Event('resize')) window.dispatchEvent(new Event('resize'))
},250); },250);
......
...@@ -48,15 +48,15 @@ ...@@ -48,15 +48,15 @@
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div ngbDropdown class="d-inline-block"> <div ngbDropdown class="d-inline-block">
<button class="btn btn-outline-primary" id="dropdownBasic1" <button class="btn btn-sm btn-outline-primary" id="dropdownBasic1"
ngbDropdownToggle>ค้นหา</button> ngbDropdownToggle>ประเภทการค้นหา</button>
<div ngbDropdownMenu aria-labelledby="dropdownBasic1"> <div ngbDropdownMenu aria-labelledby="dropdownBasic1">
<button ngbDropdownItem>รอดำเนินการ</button> <button ngbDropdownItem>รอดำเนินการ</button>
<button ngbDropdownItem>อนุมัติ</button> <button ngbDropdownItem>อนุมัติ</button>
<button ngbDropdownItem>ยกเลิก</button> <button ngbDropdownItem>ยกเลิก</button>
<button ngbDropdownItem>สำเร็จแล้ว</button> <button ngbDropdownItem>สำเร็จแล้ว</button>
</div> </div>
<button class="btn btn-outline-success" type="submit">Search</button> <button class="btn btn-sm btn-outline-success" type="submit">Search</button>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment