Compare commits
22 Commits
c12efe3061
...
bca930fb3c
| Author | SHA1 | Date | |
|---|---|---|---|
| bca930fb3c | |||
| 6125d48119 | |||
| 4350a1f1aa | |||
| 7558cbf8c4 | |||
| 3fa5a2ba45 | |||
| 2f37dba1a2 | |||
| db60da45d9 | |||
| a3f24af524 | |||
| 75dfe1f6aa | |||
| 25ff406b87 | |||
| e26fafeba3 | |||
| e2eaced0ea | |||
| 386c98bdc3 | |||
| b659dbd9ea | |||
| 117dae81e4 | |||
| 63c6d74434 | |||
| f0ab6efb36 | |||
| fc8a3ce109 | |||
| bb32c3925d | |||
| f7ea1aa60a | |||
| 59190cf086 | |||
| 09e7ba3695 |
@ -81,9 +81,22 @@ const ProjectDetails = () => {
|
|||||||
switch (activePill) {
|
switch (activePill) {
|
||||||
case "profile": {
|
case "profile": {
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
<div className="row ">
|
<div className="row ">
|
||||||
<div className="col-xl-4 col-lg-5 col-md-5 mt-5">
|
<div className="col-lg-4 col-md-5 mt-5">
|
||||||
<AboutProject ></AboutProject>
|
{/* About User */}
|
||||||
|
<AboutProject data={projectDetails}></AboutProject>
|
||||||
|
<ProjectOverview project={projectId} />
|
||||||
|
{/* About User */}
|
||||||
|
</div>
|
||||||
|
<div className="col-lg-8 col-md-5 mt-5">
|
||||||
|
{/* Profile Overview */}
|
||||||
|
<ProjectProgressChart
|
||||||
|
ShowAllProject="false"
|
||||||
|
DefaultRange="1M"
|
||||||
|
/>
|
||||||
|
{/* Profile Overview */}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-xl-4 col-lg-5 col-md-5 mt-5">
|
<div className="col-xl-4 col-lg-5 col-md-5 mt-5">
|
||||||
<ProjectOverview project={projectId} />
|
<ProjectOverview project={projectId} />
|
||||||
@ -123,8 +136,8 @@ const ProjectDetails = () => {
|
|||||||
}
|
}
|
||||||
case "directory": {
|
case "directory": {
|
||||||
return (
|
return (
|
||||||
<div className="row">
|
<div className="row mt-2">
|
||||||
<Directory IsPage={false} prefernceContacts={projects_Details.id} />
|
<Directory IsPage={false} prefernceContacts={projectDetails.id} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -265,8 +265,8 @@ const ProjectList = () => {
|
|||||||
|
|
||||||
{listView ? (
|
{listView ? (
|
||||||
<div className="card cursor-pointer">
|
<div className="card cursor-pointer">
|
||||||
<div className="card-body p-2">
|
<div className="card-body p-2" style={{ minHeight: "200px" }}>
|
||||||
<div className="table-responsive text-nowrap py-2 " style={{minHeight:"400px"}}>
|
<div className="table-responsive text-nowrap py-2">
|
||||||
<table className="table m-3">
|
<table className="table m-3">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -293,10 +293,6 @@ const ProjectList = () => {
|
|||||||
id: "b74da4c2-d07e-46f2-9919-e75e49b12731",
|
id: "b74da4c2-d07e-46f2-9919-e75e49b12731",
|
||||||
label: "Active",
|
label: "Active",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: "cdad86aa-8a56-4ff4-b633-9c629057dfef",
|
|
||||||
label:"In Progress"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "603e994b-a27f-4e5d-a251-f3d69b0498ba",
|
id: "603e994b-a27f-4e5d-a251-f3d69b0498ba",
|
||||||
label: "On Hold",
|
label: "On Hold",
|
||||||
@ -318,9 +314,7 @@ const ProjectList = () => {
|
|||||||
checked={selectedStatuses.includes(id)}
|
checked={selectedStatuses.includes(id)}
|
||||||
onChange={() => handleStatusChange(id)}
|
onChange={() => handleStatusChange(id)}
|
||||||
/>
|
/>
|
||||||
<label className="form-check-label">
|
<label className="form-check-label">{label}</label>
|
||||||
{label}
|
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
@ -336,11 +330,22 @@ const ProjectList = () => {
|
|||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody className="table-border-bottom-0 overflow-auto ">
|
<tbody className="table-border-bottom-0" style={{ height: "200px" }}>
|
||||||
{currentItems.length === 0 ? (
|
{currentItems.length === 0 ? (
|
||||||
<tr className="text-center">
|
<tr>
|
||||||
<td colSpan="12" rowSpan='12'style={{height:"200px"}} >
|
<td
|
||||||
No projects found
|
colSpan="12"
|
||||||
|
className="text-center"
|
||||||
|
style={{
|
||||||
|
verticalAlign: "middle",
|
||||||
|
height: "200px",
|
||||||
|
paddingTop: 0,
|
||||||
|
paddingBottom: 0,
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<div className="d-flex flex-column justify-content-center align-items-center h-100">
|
||||||
|
<p className="mb-0">No projects found</p>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
) : (
|
) : (
|
||||||
@ -354,8 +359,8 @@ const ProjectList = () => {
|
|||||||
)}
|
)}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>{" "}
|
</div>
|
||||||
</div>{" "}
|
</div>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="row">
|
<div className="row">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user