Job actions

This commit is contained in:
CHIEFSOFT\ameye
2023-06-10 10:38:22 -04:00
parent ba8213d120
commit d279e707dc
7 changed files with 17 additions and 12 deletions
@@ -2,8 +2,8 @@ import React from 'react'
function CurrentJobAction() { function CurrentJobAction() {
return ( return (
<div className=''> <div className='job-action'>
<p className="my-3 py-1 text-base"> <p className="my-3 py-1 text-base active-owner">
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400"> <table className="w-full text-sm text-left text-gray-500 dark:text-gray-400">
<tbody> <tbody>
<tr className="bg-white dark:bg-dark-white border-b dark:border-[#5356fb29] hover:bg-gray-50"> <tr className="bg-white dark:bg-dark-white border-b dark:border-[#5356fb29] hover:bg-gray-50">
@@ -33,12 +33,11 @@ function CurrentTaskAction({jobDetails}) {
} }
return ( return (
<div className=''> <div className='job-action'>
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400 active-worker">
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400">
<tbody> <tbody>
<tr className="bg-white dark:bg-dark-white border-b dark:border-[#5356fb29] hover:bg-gray-50"> <tr className="bg-white dark:bg-dark-white border-b dark:border-[#5356fb29] hover:bg-gray-50">
<td className=" py-4"> <td>
<div className="flex space-x-2 items-center w-full"> <div className="flex space-x-2 items-center w-full">
<div className="flex flex-col flex-[0.9]"> <div className="flex flex-col flex-[0.9]">
<h1 className="font-bold text-xl text-dark-gray dark:text-white"> <h1 className="font-bold text-xl text-dark-gray dark:text-white">
@@ -48,7 +47,7 @@ function CurrentTaskAction({jobDetails}) {
</div> </div>
</td> </td>
<td className="text-right py-4 px-2"> <td className="text-right px-2">
<div className="flex justify-center items-center"> <div className="flex justify-center items-center">
<button onClick={popUpHandler} type="button" className="w-20 h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white"> <button onClick={popUpHandler} type="button" className="w-20 h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white">
Set Status Set Status
@@ -2,7 +2,7 @@ import React from 'react'
function PastDueJobAction() { function PastDueJobAction() {
return ( return (
<div className=''> <div className='job-action'>
<p className="my-3 py-1 text-base"> <p className="my-3 py-1 text-base">
Waiting for the completion message from the client before you can approve. Owner True & PastDue Waiting for the completion message from the client before you can approve. Owner True & PastDue
</p> </p>
@@ -2,7 +2,7 @@ import React from 'react'
function PastDueTaskAction() { function PastDueTaskAction() {
return ( return (
<div className=''> <div className='job-action'>
<p className="my-3 py-1 text-base"> <p className="my-3 py-1 text-base">
Waiting for the completion message from the client before you can approve. Worker True & PastDue Waiting for the completion message from the client before you can approve. Worker True & PastDue
</p> </p>
@@ -2,9 +2,9 @@ import React from 'react'
function ReviewJobAction() { function ReviewJobAction() {
return ( return (
<div className=''> <div className='job-action'>
<p className="my-3 py-1 text-base"> <p className="my-3 py-1 text-base">
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400"> <table className="w-full text-sm text-left text-gray-500 dark:text-gray-400 review-owner">
<tbody> <tbody>
<tr className="bg-white dark:bg-dark-white border-b dark:border-[#5356fb29] hover:bg-gray-50"> <tr className="bg-white dark:bg-dark-white border-b dark:border-[#5356fb29] hover:bg-gray-50">
<td className=" py-4"> <td className=" py-4">
@@ -2,7 +2,7 @@ import React from 'react'
function ReviewTaskAction() { function ReviewTaskAction() {
return ( return (
<div className=''> <div className='job-action'>
<p className="my-3 py-1 text-base"> <p className="my-3 py-1 text-base">
Waiting for the completion message from the client before you can approve. Worker True & Review Job Waiting for the completion message from the client before you can approve. Worker True & Review Job
</p> </p>
+6
View File
@@ -9,6 +9,12 @@
font-family: "Product Sans"; font-family: "Product Sans";
src: url("./assets/fonts/Product Sans Bold.ttf"); src: url("./assets/fonts/Product Sans Bold.ttf");
} }
.job-action{
background-color: lightgoldenrodyellow;
height: 100px;
border-radius: 15px;
}
.msg_box{ .msg_box{
background-color: aliceblue; background-color: aliceblue;
margin: 5px; margin: 5px;