|
|
|
import React from "react";
|
|
|
|
|
|
|
|
import "./index.scss";
|
|
|
|
|
|
|
|
import BreadCrumb from "../BreadCrumb";
|
|
|
|
import SearchBox from "../SearchBox";
|
|
|
|
import TitleSubtitle from "../TitleSubtitle";
|
|
|
|
import CardHolder from "../CardHolder";
|
|
|
|
import ButtonNewDesign from "../ButtonNewDesign";
|
|
|
|
import Playlist from "../Playlist";
|
|
|
|
import Folderlists from "../Folderlist";
|
|
|
|
import UploadFile from "../UploadFile";
|
|
|
|
|
|
|
|
import graySearchIcon from "./images/gray-search-icon.svg";
|
|
|
|
import arrowLeft from "./images/arrow-left.svg";
|
|
|
|
import BasicTable from "../ReactTable4/index";
|
|
|
|
import SemiDonut from "../SemiDonut";
|
|
|
|
|
|
|
|
const FileManager = () => {
|
|
|
|
return (
|
|
|
|
<div style={{ backgroundColor: "#FBFBFB" }} className="flex flex-row">
|
|
|
|
{/* ? right Section */}
|
|
|
|
<div className="w-9/12">
|
|
|
|
<div className="px-7 py-5">
|
|
|
|
{/* ? breadCrumb */}
|
|
|
|
<div className="mb-5">
|
|
|
|
<BreadCrumb />
|
|
|
|
</div>
|
|
|
|
{/* ? pageTitle & searchbox */}
|
|
|
|
<div className="flex flex-row justify-between">
|
|
|
|
{/* ? pageTitle */}
|
|
|
|
<TitleSubtitle titleBorderClassName={"ml-2"} />
|
|
|
|
|
|
|
|
{/* ? searchbox */}
|
|
|
|
<div className="self-end">
|
|
|
|
<SearchBox
|
|
|
|
borderClr={"#EEEEEE"}
|
|
|
|
backgroundColor={"#fff"}
|
|
|
|
inputWidth={"100%"}
|
|
|
|
placeHolderColor={"placeholder-gray-300"}
|
|
|
|
searchIcon={graySearchIcon}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/* cardHolder */}
|
|
|
|
<Playlist />
|
|
|
|
</div>
|
|
|
|
<div className="bg-white">
|
|
|
|
<div className="flex flex-col px-7 py-5">
|
|
|
|
{/* pageTitleSubTitle & Buttons */}
|
|
|
|
<div className="flex flex-row item-center justify-between">
|
|
|
|
{/* ? pageTitle */}
|
|
|
|
<div className="flex-1">
|
|
|
|
<TitleSubtitle titleBorderClassName={"ml-2"} />
|
|
|
|
</div>
|
|
|
|
{/* buttons */}
|
|
|
|
<div className="flex flex-row item-center justify-between self-center gap-2">
|
|
|
|
<ButtonNewDesign
|
|
|
|
bgColor={"bg-blue-500"}
|
|
|
|
bgHoverColor={"hover:bg-blue-600"}
|
|
|
|
iconBgColor={null}
|
|
|
|
textColor={"text-white"}
|
|
|
|
border={"border"}
|
|
|
|
borderColor={"border-blue-500"}
|
|
|
|
borderRadius={"rounded"}
|
|
|
|
fontSize={"text-xs"}
|
|
|
|
paddingX={"p-3"}
|
|
|
|
paddingY={"p-3"}
|
|
|
|
icon={true}
|
|
|
|
buttonIcon={arrowLeft}
|
|
|
|
/>
|
|
|
|
<ButtonNewDesign
|
|
|
|
bgColor={"bg-blue-100"}
|
|
|
|
bgHoverColor={"hover:bg-blue-600"}
|
|
|
|
iconBgColor={null}
|
|
|
|
textColor={"text-blue-900"}
|
|
|
|
border={"border"}
|
|
|
|
borderColor={"border-blue-500"}
|
|
|
|
borderRadius={"rounded"}
|
|
|
|
fontSize={"text-xs"}
|
|
|
|
paddingX={"p-3"}
|
|
|
|
paddingY={"p-3"}
|
|
|
|
icon={true}
|
|
|
|
buttonIcon={arrowLeft}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/* folderLists */}
|
|
|
|
<Folderlists />
|
|
|
|
{/* ? pageTitle */}
|
|
|
|
<div
|
|
|
|
className="mt-5 rounded-lg shadow-md w-full"
|
|
|
|
style={{ backgroundColor: "#FBFBFB" }}
|
|
|
|
>
|
|
|
|
{/* <TitleSubtitle /> */}
|
|
|
|
<BasicTable />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/* left Section */}
|
|
|
|
<div className="w-3/12 py-5 flex flex-col">
|
|
|
|
<TitleSubtitle subTitle={false} titleBorderClassName={"ml-2"} />
|
|
|
|
|
|
|
|
<SemiDonut />
|
|
|
|
<div className="px-4" style={{ marginTop: "-113px" }}>
|
|
|
|
<TitleSubtitle subTitle={false} titleBorderClassName={"ml-2"} />
|
|
|
|
<div className="flex flex-col items-center justify-center">
|
|
|
|
{/* {[0, 1, 2].map((item, index) => (
|
|
|
|
<CardHolder />
|
|
|
|
))} */}
|
|
|
|
<CardHolder /> <UploadFile />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default FileManager;
|