Changed header alignment to left-aligned in Project list view, employee list view and master view
This commit is contained in:
parent
51e61aac79
commit
c3fd891b8a
@ -185,7 +185,7 @@
|
|||||||
height: 2.2rem;
|
height: 2.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table > thead > tr :first-child {
|
/* .table > thead > tr :first-child {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-left: 50px !important;
|
padding-left: 50px;
|
||||||
}
|
} */
|
||||||
|
@ -375,7 +375,29 @@ const EmployeeList = () => {
|
|||||||
aria-label="User: activate to sort column ascending"
|
aria-label="User: activate to sort column ascending"
|
||||||
aria-sort="descending"
|
aria-sort="descending"
|
||||||
>
|
>
|
||||||
Name
|
<div className="text-start ms-6">Name</div>
|
||||||
|
</th>
|
||||||
|
<th
|
||||||
|
className="sorting sorting_desc d-none d-sm-table-cell"
|
||||||
|
tabIndex="0"
|
||||||
|
aria-controls="DataTables_Table_0"
|
||||||
|
rowSpan="1"
|
||||||
|
colSpan="1"
|
||||||
|
aria-label="User: activate to sort column ascending"
|
||||||
|
aria-sort="descending"
|
||||||
|
>
|
||||||
|
<div className="text-start ms-5">Email</div>
|
||||||
|
</th>
|
||||||
|
<th
|
||||||
|
className="sorting sorting_desc d-none d-sm-table-cell"
|
||||||
|
tabIndex="0"
|
||||||
|
aria-controls="DataTables_Table_0"
|
||||||
|
rowSpan="1"
|
||||||
|
colSpan="1"
|
||||||
|
aria-label="User: activate to sort column ascending"
|
||||||
|
aria-sort="descending"
|
||||||
|
>
|
||||||
|
<div className="text-start ms-5">Contact</div>
|
||||||
</th>
|
</th>
|
||||||
<th
|
<th
|
||||||
className="sorting sorting_desc d-none d-sm-table-cell"
|
className="sorting sorting_desc d-none d-sm-table-cell"
|
||||||
@ -386,29 +408,7 @@ const EmployeeList = () => {
|
|||||||
aria-label="User: activate to sort column ascending"
|
aria-label="User: activate to sort column ascending"
|
||||||
aria-sort="descending"
|
aria-sort="descending"
|
||||||
>
|
>
|
||||||
Email
|
<div className="text-start ms-5">Role</div>
|
||||||
</th>
|
|
||||||
<th
|
|
||||||
className="sorting sorting_desc d-none d-sm-table-cell"
|
|
||||||
tabIndex="0"
|
|
||||||
aria-controls="DataTables_Table_0"
|
|
||||||
rowSpan="1"
|
|
||||||
colSpan="1"
|
|
||||||
aria-label="User: activate to sort column ascending"
|
|
||||||
aria-sort="descending"
|
|
||||||
>
|
|
||||||
Contact
|
|
||||||
</th>
|
|
||||||
<th
|
|
||||||
className="sorting sorting_desc d-none d-sm-table-cell"
|
|
||||||
tabIndex="0"
|
|
||||||
aria-controls="DataTables_Table_0"
|
|
||||||
rowSpan="1"
|
|
||||||
colSpan="1"
|
|
||||||
aria-label="User: activate to sort column ascending"
|
|
||||||
aria-sort="descending"
|
|
||||||
>
|
|
||||||
Role
|
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
<th
|
<th
|
||||||
|
@ -72,8 +72,8 @@ const MasterTable = ({ data, columns, loading, handleModalData }) => {
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th> {selectedMaster === "Activity" ? "Activity" : "Name"}</th>
|
<th className="text-start"> {selectedMaster === "Activity" ? "Activity" : "Name"}</th>
|
||||||
<th> {selectedMaster === "Activity" ? "Unit" : "Description"}</th>
|
<th className="text-start"> {selectedMaster === "Activity" ? "Unit" : "Description"}</th>
|
||||||
<th className={` ${!hasMasterPermission && "d-none"}`}>
|
<th className={` ${!hasMasterPermission && "d-none"}`}>
|
||||||
Actions
|
Actions
|
||||||
</th>
|
</th>
|
||||||
|
@ -266,7 +266,7 @@ const ProjectList = () => {
|
|||||||
<th className="text-start" colSpan={5}>
|
<th className="text-start" colSpan={5}>
|
||||||
Project Name
|
Project Name
|
||||||
</th>
|
</th>
|
||||||
<th className="mx-2">Project Manger</th>
|
<th className="mx-2 text-start">Project Manger</th>
|
||||||
<th className="mx-2">START DATE</th>
|
<th className="mx-2">START DATE</th>
|
||||||
<th className="mx-2">DEADLINE</th>
|
<th className="mx-2">DEADLINE</th>
|
||||||
<th className="mx-2">Task</th>
|
<th className="mx-2">Task</th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user