Commit aafdd4e1 by Ooh-Ao

btn

parent 121a3293
......@@ -29,7 +29,7 @@ const routes: Routes = [
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
imports: [RouterModule.forRoot(routes, { initialNavigation: 'enabledNonBlocking', useHash: true })],
exports: [RouterModule]
})
export class AppRoutingModule {
......
<div class="flex justify-end">
<div class="px-1">
<div class="input-wrapper">
<input type="text" class="ti-form-input" placeholder="Search by No. or Name" />
<div class="icon">
<i class="ri-search-line"></i>
<div class="relative">
<input type="text" class="ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10" placeholder="Search by No. or Name" />
<div class="absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4">
<i class="ri-search-line text-primary"></i>
</div>
</div>
</div>
<div class="px-1">
<button type="button" class="button-blue-light" (click)="openModal('add','m',false)">
<i class="ri-add-line"></i>Add
</button>
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-secondary shadow-md" aria-label="View All"><i
class="ri-add-line"></i>Add</button>
</div>
<div class="px-1">
<button type="button" class="button-purple-light"><i class="ri-printer-line"></i> Print</button>
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-info" aria-label="View All"><i
class="ri-printer-line"></i>Print</button>
<!-- <button type="button" class="button-purple-light"><i class="ri-printer-line"></i> Print</button> -->
</div>
<div class="px-1">
<button type="button" class="button-yellow-light">
......@@ -29,10 +31,9 @@
stroke-linecap="round"></path>
<path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round">
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
<g id="SVGRepo_iconCarrier">
......@@ -43,10 +44,9 @@
stroke-linecap="round"></path>
<path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round">
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
</svg>Help
......@@ -73,8 +73,8 @@
<th scope="col" class="relative head-table" [class.!text-center]="f||l">
<span>{{ item }}</span>
<div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l">
<svg class="head-table-icon" xmlns="http://www.w3.org/2000/svg" width="16"
height="16" fill="currentColor" viewBox="0 0 16 16">
<svg class="head-table-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16"
fill="currentColor" viewBox="0 0 16 16">
<path
d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z">
</path>
......@@ -98,8 +98,8 @@
<td class="body-table-center">
<div class="px-1">
<svg width="16" height="16" viewBox="0 0 24 24" id="Layer_1" data-name="Layer 1"
xmlns="http://www.w3.org/2000/svg" fill="#64748b" stroke="#64748b"
class="cursor-pointer" (click)="openModal('edit','m',false)">
xmlns="http://www.w3.org/2000/svg" fill="#64748b" stroke="#64748b" class="cursor-pointer"
(click)="openModal('edit','m',false)">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
<g id="SVGRepo_iconCarrier">
......@@ -113,8 +113,7 @@
}
</style>
</defs>
<polyline class="cls-1"
points="20.59 12 20.59 22.5 1.5 22.5 1.5 3.41 12.96 3.41">
<polyline class="cls-1" points="20.59 12 20.59 22.5 1.5 22.5 1.5 3.41 12.96 3.41">
</polyline>
<path class="cls-1"
d="M12,15.82l-4.77.95L8.18,12l9.71-9.71A2.69,2.69,0,0,1,19.8,1.5h0a2.7,2.7,0,0,1,2.7,2.7h0a2.69,2.69,0,0,1-.79,1.91Z">
......@@ -123,8 +122,8 @@
</svg>
</div>
<div class="px-1">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none"
xmlns="http://www.w3.org/2000/svg" stroke="#64748b" class="cursor-pointer">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"
stroke="#64748b" class="cursor-pointer">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
<g id="SVGRepo_iconCarrier">
......@@ -176,8 +175,7 @@
<title>cross-circle</title>
<desc>Created with Sketch Beta.</desc>
<defs> </defs>
<g id="Page-1" stroke-width="0.41600000000000004" fill="none" fill-rule="evenodd"
sketch:type="MSPage">
<g id="Page-1" stroke-width="0.41600000000000004" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="Icon-Set" sketch:type="MSLayerGroup" transform="translate(-568.000000, -1087.000000)"
fill="#f23354">
<path
......@@ -206,8 +204,8 @@
</div>
<div class="button-help">
<button type="button" class="button-yellow-light modal-button">
<svg width="16" height="16" viewBox="-2.4 -2.4 28.80 28.80" fill="none"
xmlns="http://www.w3.org/2000/svg" stroke="#E7A927" transform="matrix(1, 0, 0, 1, 0, 0)">
<svg width="16" height="16" viewBox="-2.4 -2.4 28.80 28.80" fill="none" xmlns="http://www.w3.org/2000/svg"
stroke="#E7A927" transform="matrix(1, 0, 0, 1, 0, 0)">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#ffffff"
stroke-width="2.4">
......@@ -220,8 +218,7 @@
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round">
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
<g id="SVGRepo_iconCarrier">
......@@ -234,8 +231,7 @@
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round">
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
</svg>Help
......@@ -298,8 +294,7 @@
<title>cross-circle</title>
<desc>Created with Sketch Beta.</desc>
<defs> </defs>
<g id="Page-1" stroke-width="0.41600000000000004" fill="none" fill-rule="evenodd"
sketch:type="MSPage">
<g id="Page-1" stroke-width="0.41600000000000004" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="Icon-Set" sketch:type="MSLayerGroup" transform="translate(-568.000000, -1087.000000)"
fill="#f23354">
<path
......@@ -328,8 +323,8 @@
</div>
<div class="button-help">
<button type="button" class="button-yellow-light modal-button">
<svg width="16" height="16" viewBox="-2.4 -2.4 28.80 28.80" fill="none"
xmlns="http://www.w3.org/2000/svg" stroke="#E7A927" transform="matrix(1, 0, 0, 1, 0, 0)">
<svg width="16" height="16" viewBox="-2.4 -2.4 28.80 28.80" fill="none" xmlns="http://www.w3.org/2000/svg"
stroke="#E7A927" transform="matrix(1, 0, 0, 1, 0, 0)">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#ffffff"
stroke-width="2.4">
......@@ -342,8 +337,7 @@
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round">
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
<g id="SVGRepo_iconCarrier">
......@@ -356,8 +350,7 @@
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round">
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
</svg>Help
......@@ -370,8 +363,7 @@
<div class="flex mb-5">
<div class="relative w-full">
<input type="text" id="department" name="department"
class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-small input-disabled" disabled
value="01">
class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-small input-disabled" disabled value="01">
</div>
</div>
<label for="detail_th" class="block text-sm mb-2 dark:text-white">รายละเอียดฝ่าย (ไทย)</label>
......
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