Commit 35f9ed3d by Natthaphat Pankiang

แก้ responsive หน้า modal add ทะเบียนพนักงาน

parent 569f35a9
...@@ -61,8 +61,8 @@ ...@@ -61,8 +61,8 @@
style="text-align: center;" [class.!text-center]="f||l"> style="text-align: center;" [class.!text-center]="f||l">
<span class="text-sm">{{ item }}</span> <span class="text-sm">{{ item }}</span>
<div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l&&!f&&!i"> <div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l&&!f&&!i">
<svg class="head-table-icon" xmlns="http://www.w3.org/2000/svg" width="50" <svg class="head-table-icon" xmlns="http://www.w3.org/2000/svg" width="50" height="16"
height="16" fill="currentColor" viewBox="0 0 16 16"> fill="currentColor" viewBox="0 0 16 16">
<path <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"> 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> </path>
...@@ -156,8 +156,8 @@ ...@@ -156,8 +156,8 @@
<div class="px-1 py-4"> <div class="px-1 py-4">
<div class="relative shadow-md"> <div class="relative shadow-md">
<input type="text" id="hs-leading-icon" name="hs-leading-icon" <input type="text" id="hs-leading-icon" name="hs-leading-icon"
class="ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 " class="ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 " placeholder="Search by No. or Name"
placeholder="Search by No. or Name" style="height: 40px;"> style="height: 40px;">
<div <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"> 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-gray"></i> <i class="ri-search-line text-gray"></i>
...@@ -176,7 +176,8 @@ ...@@ -176,7 +176,8 @@
<form class="space-y-3"> <form class="space-y-3">
<div class="sm:grid grid-cols-12 gap-x-6"> <div class="sm:grid grid-cols-12 gap-x-6">
<label class="col-span-3 ti-form-label text-primary mt-2">รหัสพนักงาน</label> <label class="col-span-3 ti-form-label text-primary mt-2">รหัสพนักงาน</label>
<input type="email" class="sm:col-span-6 ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" style="margin-left: 50px;" <input type="email"
class="sm:col-span-6 ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10"
placeholder=""> placeholder="">
</div> </div>
<div class="sm:grid grid-cols-12 gap-x-6"> <div class="sm:grid grid-cols-12 gap-x-6">
...@@ -184,26 +185,27 @@ ...@@ -184,26 +185,27 @@
<div class="col-span-4 relative mt-2"> <div class="col-span-4 relative mt-2">
<div> <div>
<div class="relative flex rounded-md"> <div class="relative flex rounded-md">
<input type="text" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10"> <input type="text"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
</div> </div>
</div> </div>
</div> </div>
<div class="flex col-span-4 relative mt-2"> <div class="flex col-span-4 relative mt-2">
<input type="password" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" placeholder=""> <input type="password"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10"
placeholder="">
</div> </div>
</div> </div>
<!-- <input type="email" class="sm:col-span-6 ti-form-input" style="margin-left: 50px;" placeholder=""> -->
<div class="sm:grid grid-cols-12 gap-x-6"> <div class="sm:grid grid-cols-12 gap-x-6">
<label class="col-span-3 ti-form-label text-primary mt-2">กลุ่มพนักงาน</label> <label class="col-span-3 ti-form-label text-primary mt-2">กลุ่มพนักงาน</label>
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -215,8 +217,7 @@ ...@@ -215,8 +217,7 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;">
</div> </div>
</div> </div>
<div class="sm:grid grid-cols-12 gap-x-6"> <div class="sm:grid grid-cols-12 gap-x-6">
...@@ -224,12 +225,11 @@ ...@@ -224,12 +225,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -241,12 +241,11 @@ ...@@ -241,12 +241,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -258,12 +257,11 @@ ...@@ -258,12 +257,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -275,12 +273,11 @@ ...@@ -275,12 +273,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -292,12 +289,11 @@ ...@@ -292,12 +289,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -309,12 +305,11 @@ ...@@ -309,12 +305,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -323,10 +318,9 @@ ...@@ -323,10 +318,9 @@
</div> </div>
<!-- จัดปุ่มให้ตรงกับ Input --> <!-- จัดปุ่มให้ตรงกับ Input -->
<div class="sm:grid grid-cols-12 gap-x-6" style="margin-top: 40px;"> <div class="sm:grid grid-cols-12 gap-x-6" style="margin-bottom: 80px;">
<div class="col-span-3"></div> <div class="col-span-3"></div>
<div class="col-span-6 sm:col-span-6 flex space-x-4" <div class="col-span-6 sm:col-span-6 flex space-x-4">
style="margin-left: 50px; margin-bottom: 80px;">
<button type="button" <button type="button"
class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10" class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay="#sub-employee-registration-modal-add"> data-hs-overlay="#sub-employee-registration-modal-add">
...@@ -353,7 +347,7 @@ ...@@ -353,7 +347,7 @@
</h3> </h3>
<div class="flex justify-end"> <div class="flex justify-end">
<button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger" <button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay="#sub-employee-registration-modal-add"> data-hs-overlay="#sub-employee-registration-modal-edit">
<span class="sr-only">Close</span> <span class="sr-only">Close</span>
<i class="ti ti-circle-x fs-xxl"></i> <i class="ti ti-circle-x fs-xxl"></i>
</button> </button>
...@@ -364,8 +358,8 @@ ...@@ -364,8 +358,8 @@
<div class="px-1 py-4"> <div class="px-1 py-4">
<div class="relative shadow-md"> <div class="relative shadow-md">
<input type="text" id="hs-leading-icon" name="hs-leading-icon" <input type="text" id="hs-leading-icon" name="hs-leading-icon"
class="ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 " class="ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 " placeholder="Search by No. or Name"
placeholder="Search by No. or Name" style="height: 40px;"> style="height: 40px;">
<div <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"> 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-gray"></i> <i class="ri-search-line text-gray"></i>
...@@ -384,7 +378,8 @@ ...@@ -384,7 +378,8 @@
<form class="space-y-3"> <form class="space-y-3">
<div class="sm:grid grid-cols-12 gap-x-6"> <div class="sm:grid grid-cols-12 gap-x-6">
<label class="col-span-3 ti-form-label text-primary mt-2">รหัสพนักงาน</label> <label class="col-span-3 ti-form-label text-primary mt-2">รหัสพนักงาน</label>
<input type="email" class="sm:col-span-6 ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" style="margin-left: 50px;" <input type="email"
class="sm:col-span-6 ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10"
placeholder=""> placeholder="">
</div> </div>
<div class="sm:grid grid-cols-12 gap-x-6"> <div class="sm:grid grid-cols-12 gap-x-6">
...@@ -392,26 +387,27 @@ ...@@ -392,26 +387,27 @@
<div class="col-span-4 relative mt-2"> <div class="col-span-4 relative mt-2">
<div> <div>
<div class="relative flex rounded-md"> <div class="relative flex rounded-md">
<input type="text" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10"> <input type="text"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
</div> </div>
</div> </div>
</div> </div>
<div class="flex col-span-4 relative mt-2"> <div class="flex col-span-4 relative mt-2">
<input type="password" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" placeholder=""> <input type="password"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10"
placeholder="">
</div> </div>
</div> </div>
<!-- <input type="email" class="sm:col-span-6 ti-form-input" style="margin-left: 50px;" placeholder=""> -->
<div class="sm:grid grid-cols-12 gap-x-6"> <div class="sm:grid grid-cols-12 gap-x-6">
<label class="col-span-3 ti-form-label text-primary mt-2">กลุ่มพนักงาน</label> <label class="col-span-3 ti-form-label text-primary mt-2">กลุ่มพนักงาน</label>
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -423,8 +419,7 @@ ...@@ -423,8 +419,7 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;">
</div> </div>
</div> </div>
<div class="sm:grid grid-cols-12 gap-x-6"> <div class="sm:grid grid-cols-12 gap-x-6">
...@@ -432,12 +427,11 @@ ...@@ -432,12 +427,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -449,12 +443,11 @@ ...@@ -449,12 +443,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -466,12 +459,11 @@ ...@@ -466,12 +459,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -483,12 +475,11 @@ ...@@ -483,12 +475,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -500,12 +491,11 @@ ...@@ -500,12 +491,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -517,12 +507,11 @@ ...@@ -517,12 +507,11 @@
<div class="col-span-6 sm:col-span-6 relative"> <div class="col-span-6 sm:col-span-6 relative">
<input type="text" id="hs-leading-button-add-on-with-icon-and-button" <input type="text" id="hs-leading-button-add-on-with-icon-and-button"
name="hs-leading-button-add-on-with-icon-and-button" name="hs-leading-button-add-on-with-icon-and-button"
class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10" class="ti-form-input ltr:pr-11 rtl:pl-11 rounded-md ltr:rounded-r-md rtl:rounded-l-md focus:z-10">
style="margin-left: 50px;"> <div
<div class="absolute inset-y-0 flex items-center z-0 ltr:pr-0 rtl:pl-0 cursor-pointer" class="absolute inset-y-0 ltr:right-0 rtl:left-0 flex items-center pointer-events-none z-20 ltr:pr-4 rtl:pl-4">
style="left: 330px;"> <svg class="h-4 w-4 text-gray-500 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" width="16"
<svg class="h-4 w-4 text-gray-400 dark:text-white/70" xmlns="http://www.w3.org/2000/svg" height="16" fill="currentColor" viewBox="0 0 16 16">
width="10" height="10" fill="currentColor" viewBox="0 0 16 16">
<path <path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /> d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg> </svg>
...@@ -531,13 +520,12 @@ ...@@ -531,13 +520,12 @@
</div> </div>
<!-- จัดปุ่มให้ตรงกับ Input --> <!-- จัดปุ่มให้ตรงกับ Input -->
<div class="sm:grid grid-cols-12 gap-x-6" style="margin-top: 40px;"> <div class="sm:grid grid-cols-12 gap-x-6" style="margin-bottom: 80px;">
<div class="col-span-3"></div> <div class="col-span-3"></div>
<div class="col-span-6 sm:col-span-6 flex space-x-4" <div class="col-span-6 sm:col-span-6 flex space-x-4">
style="margin-left: 50px; margin-bottom: 80px;">
<button type="button" <button type="button"
class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10" class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
data-hs-overlay="#sub-employee-registration-modal-add"> data-hs-overlay="#sub-employee-registration-modal-edit">
ย้อนกลับ ย้อนกลับ
</button> </button>
<a class="ti-btn ti-btn-success" href="javascript:void(0);" <a class="ti-btn ti-btn-success" href="javascript:void(0);"
...@@ -578,7 +566,7 @@ ...@@ -578,7 +566,7 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div id="sub-employee-registration-alert-add-modal" class="hs-overlay hidden ti-modal"> <div id="sub-employee-registration-alert-add-modal" class="hs-overlay hidden ti-modal">
<div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center"> <div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center">
...@@ -643,8 +631,7 @@ ...@@ -643,8 +631,7 @@
ย้อนกลับ ย้อนกลับ
</button> </button>
<a class="ti-btn ti-btn-success" href="javascript:void(0);" <a class="ti-btn ti-btn-success" href="javascript:void(0);"
data-hs-overlay="#sub-employee-registration-alert-edit-modal" data-hs-overlay="#sub-employee-registration-alert-edit-modal" (click)="addUser();showSuccessEdit()">
(click)="addUser();showSuccessEdit()">
บันทึกข้อมูล บันทึกข้อมูล
</a> </a>
</div> </div>
...@@ -679,8 +666,7 @@ ...@@ -679,8 +666,7 @@
ย้อนกลับ ย้อนกลับ
</button> </button>
<a class="ti-btn ti-btn-success" href="javascript:void(0);" <a class="ti-btn ti-btn-success" href="javascript:void(0);"
data-hs-overlay="#sub-employee-registration-alert-delete-modal" data-hs-overlay="#sub-employee-registration-alert-delete-modal" (click)="addUser();showSuccessDelete()">
(click)="addUser();showSuccessDelete()">
ลบข้อมูล ลบข้อมูล
</a> </a>
</div> </div>
......
...@@ -97,7 +97,7 @@ a.custom-link { ...@@ -97,7 +97,7 @@ a.custom-link {
} }
.ti-modal-content { .ti-modal-content {
width: 50%; width: 70%;
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
......
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