From 00a7529c72f741c914d9d7c1eff334c44fa336e1 Mon Sep 17 00:00:00 2001 From: Vincent Alamelle Date: Wed, 3 May 2023 16:20:38 +0200 Subject: [PATCH] Removed update archived folder description --- .../classes.module.scss | 56 ---------------- .../UpdateFolderDescription/index.tsx | 67 ------------------- 2 files changed, 123 deletions(-) delete mode 100644 src/front/Components/Layouts/FolderArchived/UpdateFolderDescription/classes.module.scss delete mode 100644 src/front/Components/Layouts/FolderArchived/UpdateFolderDescription/index.tsx diff --git a/src/front/Components/Layouts/FolderArchived/UpdateFolderDescription/classes.module.scss b/src/front/Components/Layouts/FolderArchived/UpdateFolderDescription/classes.module.scss deleted file mode 100644 index cd3ceba2..00000000 --- a/src/front/Components/Layouts/FolderArchived/UpdateFolderDescription/classes.module.scss +++ /dev/null @@ -1,56 +0,0 @@ -@import "@Themes/constants.scss"; - -.root { - display: flex; - flex-direction: column; - min-height: 100%; - align-items: flex-start; - width: fit-content; - - .back-arrow { - margin-bottom: 24px; - } - - .form { - width: 100%; - - .content { - margin-top: 32px; - - >:not(:last-child) { - margin-bottom: 24px; - } - - } - - .button-container { - width: 100%; - display: flex; - text-align: center; - margin-top: 24px; - - .cancel-button { - display: flex; - margin-right: 32px; - } - - @media (max-width: $screen-m) { - display: flex; - flex-direction: column-reverse; - - .cancel-button { - margin-left: 0; - margin-top: 12px; - - >* { - flex: 1; - } - } - - >* { - width: 100%; - } - } - } - } -} \ No newline at end of file diff --git a/src/front/Components/Layouts/FolderArchived/UpdateFolderDescription/index.tsx b/src/front/Components/Layouts/FolderArchived/UpdateFolderDescription/index.tsx deleted file mode 100644 index 3416e816..00000000 --- a/src/front/Components/Layouts/FolderArchived/UpdateFolderDescription/index.tsx +++ /dev/null @@ -1,67 +0,0 @@ -import Button, { EButtonVariant } from "@Front/Components/DesignSystem/Button"; -import Form from "@Front/Components/DesignSystem/Form"; -import InputField from "@Front/Components/DesignSystem/Form/Elements/InputField"; -import Typography, { ITypo } from "@Front/Components/DesignSystem/Typography"; -import BackArrow from "@Front/Components/Elements/BackArrow"; -import DefaultNotaryDashboard, { IDashBoardFolder } from "@Front/Components/LayoutTemplates/DefaultNotaryDashboard"; -import { useRouter } from "next/router"; - -import BasePage from "../../Base"; -import classes from "./classes.module.scss"; -import Link from "next/link"; -import Module from "@Front/Config/Module"; - -type IProps = { - selectedFolderUid: string; -}; -type IState = { - selectedFolder: IDashBoardFolder | null; -}; -class UpdateFolderDescriptionClass extends BasePage { - constructor(props: IProps) { - super(props); - this.state = { - selectedFolder: null, - }; - this.onSelectedFolder = this.onSelectedFolder.bind(this); - } - public override render(): JSX.Element { - const backwardPath = Module.getInstance() - .get() - .modules.pages.Folder.pages.FolderInformation.props.path.replace("[folderUid]", this.props.selectedFolderUid); - return ( - -
-
- -
- Modifier la note du dossier - -
-
- -
- -
- - - - -
-
-
-
- ); - } - - private onSelectedFolder(folder: IDashBoardFolder): void { - this.setState({ selectedFolder: folder }); - } -} - -export default function UpdateFolderDescription() { - const router = useRouter(); - let { folderUid } = router.query; - folderUid = folderUid as string; - return ; -}