added style for manage media task page

This commit was merged in pull request #684.
This commit is contained in:
victorAnumudu
2024-03-28 17:48:00 +01:00
parent 4c208e8a58
commit c04b909489
8 changed files with 64 additions and 50 deletions
@@ -60,20 +60,30 @@ function CurrentTaskAction({jobDetails}) {
}
return (
<div className='job-action dark:bg-black'>
<div className="w-full text-sm text-left text-gray-500 active-worker ">
<div className="flex space-x-2 items-center w-full task_action_panel">
<div>
I completed this task and ready for review and acceptance.
</div>
</div>
<div className='dark:bg-black'>
<div className="w-full text-sm text-left text-gray-500">
{jobDetails.job_type == 'MEDIA' ?
<div className="flex justify-center items-center">
<button onClick={popUpHandler} type="button" className="w-[150px] h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white">
Send for Review
<button onClick={popUpHandler} type="button" className="custom-btn btn-gradient text-white">
I have completed this task
</button>
</div>
:
<div className='job-action active-worker'>
<div className="flex space-x-2 items-center w-full task_action_panel">
<div>
I completed this task and ready for review and acceptance.
</div>
</div>
<div className="flex justify-center items-center">
<button onClick={popUpHandler} type="button" className="custom-btn btn-gradient text-white">
Send for Review
</button>
</div>
</div>
}
</div>
{popUp && (