From c04b909489f8054b667574f578fa94f567a7661a Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Thu, 28 Mar 2024 17:48:00 +0100 Subject: [PATCH] added style for manage media task page --- .env | 2 +- .env.development | 2 +- .env.production | 2 +- .../MyActiveJobs/ActiveJobMessageMedia.jsx | 2 +- .../MyActiveJobs/ActiveJobsMedia.jsx | 60 ++++++++++--------- .../JobActions/CurrentTaskAction.jsx | 30 ++++++---- src/components/VideoCom/VideoElement.jsx | 2 +- src/views/ManageActiveJobs.jsx | 14 +++-- 8 files changed, 64 insertions(+), 50 deletions(-) diff --git a/.env b/.env index 3532055..405a541 100644 --- a/.env +++ b/.env @@ -117,4 +117,4 @@ REACT_APP_SHOW_ACCOUNT_DASH=1 REACT_APP_SHOW_SLIDER_BANNERS=0 # FOR MEDIA LINK -REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com ' \ No newline at end of file +REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com' \ No newline at end of file diff --git a/.env.development b/.env.development index 18cf90f..3598525 100644 --- a/.env.development +++ b/.env.development @@ -85,4 +85,4 @@ REACT_APP_SHOW_ACCOUNT_DASH=1 REACT_APP_SHOW_SLIDER_BANNERS=0 # FOR MEDIA LINK -REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com ' \ No newline at end of file +REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com' \ No newline at end of file diff --git a/.env.production b/.env.production index 22e5082..851b7a1 100644 --- a/.env.production +++ b/.env.production @@ -91,4 +91,4 @@ REACT_APP_SHOW_ACCOUNT_DASH=1 REACT_APP_SHOW_SLIDER_BANNERS=0 # FOR MEDIA LINK -REACT_APP_MEDIA_LINK='https://media.wrenchboard.com ' \ No newline at end of file +REACT_APP_MEDIA_LINK='https://media.wrenchboard.com' \ No newline at end of file diff --git a/src/components/MyActiveJobs/ActiveJobMessageMedia.jsx b/src/components/MyActiveJobs/ActiveJobMessageMedia.jsx index a156072..23c4e40 100644 --- a/src/components/MyActiveJobs/ActiveJobMessageMedia.jsx +++ b/src/components/MyActiveJobs/ActiveJobMessageMedia.jsx @@ -8,7 +8,7 @@ import SelectBox from "../Helpers/SelectBox"; export default function ActiveJobMessageMedia({ activeJobMesList }) { return (
-
+
diff --git a/src/components/MyActiveJobs/ActiveJobsMedia.jsx b/src/components/MyActiveJobs/ActiveJobsMedia.jsx index ab244a7..d894e64 100644 --- a/src/components/MyActiveJobs/ActiveJobsMedia.jsx +++ b/src/components/MyActiveJobs/ActiveJobsMedia.jsx @@ -312,21 +312,23 @@ function ActiveJobsMedia(props) {
- +
-
-

- {props?.details && props.details.job_to} -

-
-

- Description:{" "} -

-

- {props?.details && props.details.description} -

+
+
+

+ {props?.details && props.details.job_to} +

+
+

+ Description:{" "} +

+

+ {props?.details && props.details.description} +

+
@@ -397,13 +399,13 @@ function ActiveJobsMedia(props) {
{/* TEXTAREA SECTION */} -
+
@@ -505,7 +507,7 @@ function ActiveJobsMedia(props) { diff --git a/src/components/MyActiveJobs/JobActions/CurrentTaskAction.jsx b/src/components/MyActiveJobs/JobActions/CurrentTaskAction.jsx index fec474e..eb8b393 100644 --- a/src/components/MyActiveJobs/JobActions/CurrentTaskAction.jsx +++ b/src/components/MyActiveJobs/JobActions/CurrentTaskAction.jsx @@ -60,20 +60,30 @@ function CurrentTaskAction({jobDetails}) { } return ( -
- -
-
-
- I completed this task and ready for review and acceptance. -
-
+
+
+ {jobDetails.job_type == 'MEDIA' ?
-
+ : +
+
+
+ I completed this task and ready for review and acceptance. +
+
+ +
+ +
+
+ }
{popUp && ( diff --git a/src/components/VideoCom/VideoElement.jsx b/src/components/VideoCom/VideoElement.jsx index c195ab0..148ea8a 100644 --- a/src/components/VideoCom/VideoElement.jsx +++ b/src/components/VideoCom/VideoElement.jsx @@ -14,7 +14,7 @@ export default function VideoElement({videoId}) { return ( ) diff --git a/src/views/ManageActiveJobs.jsx b/src/views/ManageActiveJobs.jsx index d2dc4eb..8776f31 100644 --- a/src/views/ManageActiveJobs.jsx +++ b/src/views/ManageActiveJobs.jsx @@ -61,22 +61,24 @@ function ManageActiveJobs() { setDetails(state); getActiveJobMesList(); }, [activeJobMesListReload, chatMessageList]); -console.log('Opps', details) + return ( <> - {/* {details.job_type == 'TASK' ? */} - - {/* : - - } */} + : + null + } ); }