update 5 files

master
mahdi 3 years ago
parent bbd27322b8
commit 09ca4b94ef
  1. 2
      src/Views/Home/Main/index.js
  2. 4
      src/components/Tabels/ReactTable5/Location.js
  3. 3
      src/components/Tabels/ReactTable5/RenderRowSubComponent.js
  4. 18
      src/components/Tabels/ReactTable5/SendForm.js
  5. 10
      src/components/Timeline/TimeLine1/TimeLineItem.js

@ -21,7 +21,7 @@ function Main({ activeComponent }) {
)} )}
{/* <h2>Props</h2> */} {/* <h2>Props</h2> */}
{activeComponent?.props?.length > 0 && ( {activeComponent?.props?.length > 0 && (
<table className="w-full" style={{ direction: "ltr" }}> <table className="w-full ltr">
<thead> <thead>
<tr> <tr>
<th className="font-sansbold text-lg">Name</th> <th className="font-sansbold text-lg">Name</th>

@ -3,9 +3,7 @@ import React from "react";
const Location = () => { const Location = () => {
return ( return (
<div className="mx-2"> <div className="mx-2">
<span className="text-xs mr-2" style={{ color: "#65A9FF" }}> <span className="text-xs mr-2 text-[#65A9FF]">لوکیشن مد نظر:</span>
لوکیشن مد نظر:
</span>
<img <img
className="mt-1 mr-2 border border-blue-300 rounded" className="mt-1 mr-2 border border-blue-300 rounded"
src="images/ReactTable4map.svg" src="images/ReactTable4map.svg"

@ -11,8 +11,7 @@ const RenderRowSubComponent = ({ columns, row }) => {
${openModal ? "opacity-80" : "opacity-0 pointer-events-none"}`} ${openModal ? "opacity-80" : "opacity-0 pointer-events-none"}`}
> >
<div <div
className="absolute w-6/12 p-4 rounded" className="absolute w-6/12 p-4 rounded top-[10%]"
style={{ top: "10%" }}
onClick={(e) => e.stopPropagation()} onClick={(e) => e.stopPropagation()}
> >
<img src={row.filePic} className="w-52 mx-auto" /> <img src={row.filePic} className="w-52 mx-auto" />

@ -3,27 +3,15 @@ import React from "react";
const SendForm = () => { const SendForm = () => {
return ( return (
<div className="flex flex-col flex-1 mx-2"> <div className="flex flex-col flex-1 mx-2">
<span className="text-sm mb-4" style={{ color: "#65A9FF" }}> <span className="text-sm mb-4 text-[#65A9FF]">توضیحات:</span>
توضیحات:
</span>
<form className="flex flex-col "> <form className="flex flex-col ">
<input <input
placeholder="موضوع" placeholder="موضوع"
className="text-xs mb-2 placeholder-blue-300 rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" className="text-xs mb-2 placeholder-blue-300 bg-[#F8FBFF] text-[#00253A] border-[#C8DEF9] rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20"
style={{
backgroundColor: "#F8FBFF",
borderColor: "#C8DEF9",
color: "#00253A",
}}
/> />
<textarea <textarea
placeholder="متن" placeholder="متن"
className="resize-none w-full h-32 placeholder-blue-300 text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" className="resize-none bg-[#F8FBFF] text-[#00253A] border-[#C8DEF9] w-full h-32 placeholder-blue-300 text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20"
style={{
backgroundColor: "#F8FBFF",
borderColor: "#C8DEF9",
color: "#00253A",
}}
></textarea> ></textarea>
</form> </form>
</div> </div>

@ -2,14 +2,8 @@ import CircleInCircle from "../../MiniComponents/CircleInCircle";
import ProfilePicNextToEachOther from "../../Avatar/ProfilePicNextToEachOther"; import ProfilePicNextToEachOther from "../../Avatar/ProfilePicNextToEachOther";
const TimeLineItem = ({ data }) => ( const TimeLineItem = ({ data }) => (
<div <div className="timeline-item flex flex-row mt-5 w-1/2 self-end justify-start pr-[30px]">
className="timeline-item flex flex-row mt-5 w-1/2 self-end justify-start" <div className="max-w-full w-[400px] timeline-item-content relative bg-white rounded-md shadow-sm flex flex-col items-end border border-[#D6D6D6] ">
style={{ paddingRight: "30px" }}
>
<div
className="timeline-item-content relative bg-white rounded-md shadow-sm flex flex-col items-end border border-[#D6D6D6] "
style={{ maxWidth: "100%", width: "400px" }}
>
{/* top --> time & date */} {/* top --> time & date */}
<div <div
className={`w-full p-3 flex items-center justify-between ${ className={`w-full p-3 flex items-center justify-between ${

Loading…
Cancel
Save