|
|
|
@ -97,7 +97,7 @@ const PopupCard = ({ selectedChecklist, buttons }) => { |
|
|
|
|
<span className="text-sm mr-2">چک لیست ها</span> |
|
|
|
|
</div> |
|
|
|
|
{/* progress bar */} |
|
|
|
|
<div className="flex flex-row items-center mt-3"> |
|
|
|
|
<div className="flex flex-row items-center my-3"> |
|
|
|
|
<div className="bg-[#DBDBDB77] h-2 w-full rounded"> |
|
|
|
|
<div |
|
|
|
|
className="bg-[#06BACE] h-2 rounded transition delay-150" |
|
|
|
@ -116,22 +116,24 @@ const PopupCard = ({ selectedChecklist, buttons }) => { |
|
|
|
|
borderClassname={`border-2 border-[#06BACE] `} |
|
|
|
|
inputClassname={`px-4 py-2 text-[#0F0543] focus:bg-white`} |
|
|
|
|
activePlaceholderClass={"text-[#06BACE] bg-white"} |
|
|
|
|
/>{" "} |
|
|
|
|
{selectedChecklist.slice(0, 3).map((item, index) => ( |
|
|
|
|
<div key={index} className=""> |
|
|
|
|
<input |
|
|
|
|
disabled={checklist >= 100} |
|
|
|
|
type="checkbox" |
|
|
|
|
className="form-checkbox text-blue-500" |
|
|
|
|
onClick={(e) => |
|
|
|
|
e.target.checked |
|
|
|
|
? setChecklist(checklist + 10) |
|
|
|
|
: setChecklist(checklist - 10) |
|
|
|
|
} |
|
|
|
|
/> |
|
|
|
|
<span className="text-sm mr-2">{item.title}</span> |
|
|
|
|
</div> |
|
|
|
|
))} |
|
|
|
|
/> |
|
|
|
|
<div className="mt-3"> |
|
|
|
|
{selectedChecklist.slice(0, 3).map((item, index) => ( |
|
|
|
|
<div key={index} className=""> |
|
|
|
|
<input |
|
|
|
|
disabled={checklist >= 100} |
|
|
|
|
type="checkbox" |
|
|
|
|
className="form-checkbox text-blue-500" |
|
|
|
|
onClick={(e) => |
|
|
|
|
e.target.checked |
|
|
|
|
? setChecklist(checklist + 10) |
|
|
|
|
: setChecklist(checklist - 10) |
|
|
|
|
} |
|
|
|
|
/> |
|
|
|
|
<span className="text-sm mr-2">{item.title}</span> |
|
|
|
|
</div> |
|
|
|
|
))} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{/* left */} |
|
|
|
@ -169,10 +171,13 @@ const PopupCard = ({ selectedChecklist, buttons }) => { |
|
|
|
|
</div> |
|
|
|
|
{/* divider */} |
|
|
|
|
<div className="border border-[#DBDBDB77] rounded my-5 w-full"></div> |
|
|
|
|
<span className="text-xs text-[#B3B3B3] mb-3 text-light "> |
|
|
|
|
پیوست ها |
|
|
|
|
</span> |
|
|
|
|
<div className="relative flex flex-row items-center justify-around border-2 border-dashed border-[#65A9FF] w-full p-4 rounded-md"> |
|
|
|
|
<TitleSubtitle |
|
|
|
|
title={false} |
|
|
|
|
subTitle={"پیوست ها"} |
|
|
|
|
subtitleBorderClassName={""} |
|
|
|
|
subtitleClassName={"text-[#B3B3B3]"} |
|
|
|
|
/> |
|
|
|
|
<div className="mt-3 relative flex flex-row items-center justify-around border-2 border-dashed border-[#65A9FF] w-full p-4 rounded-md"> |
|
|
|
|
<img src={documentCloud} alt="" /> |
|
|
|
|
<input |
|
|
|
|
type="file" |
|
|
|
@ -186,8 +191,6 @@ const PopupCard = ({ selectedChecklist, buttons }) => { |
|
|
|
|
</span> |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
{/* divider */} |
|
|
|
|
<div className="border border-[#DBDBDB77] rounded my-5 w-full"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|