Removed unused files
This commit is contained in:
		
							parent
							
								
									0c8a394f74
								
							
						
					
					
						commit
						e7911574be
					
				
					 4 changed files with 0 additions and 107 deletions
				
			
		| 
						 | 
					@ -1,23 +0,0 @@
 | 
				
			||||||
import BackButton from "../../Components/BackButton";
 | 
					 | 
				
			||||||
import BasicWindow from "../../Components/BasicWindow";
 | 
					 | 
				
			||||||
import Button from "../../Components/Button";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
function AdminProjectManageMembers(): JSX.Element {
 | 
					 | 
				
			||||||
  const content = <></>;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  const buttons = (
 | 
					 | 
				
			||||||
    <>
 | 
					 | 
				
			||||||
      <Button
 | 
					 | 
				
			||||||
        text="Add Member"
 | 
					 | 
				
			||||||
        onClick={(): void => {
 | 
					 | 
				
			||||||
          return;
 | 
					 | 
				
			||||||
        }}
 | 
					 | 
				
			||||||
        type="button"
 | 
					 | 
				
			||||||
      />
 | 
					 | 
				
			||||||
      <BackButton />
 | 
					 | 
				
			||||||
    </>
 | 
					 | 
				
			||||||
  );
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  return <BasicWindow content={content} buttons={buttons} />;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
export default AdminProjectManageMembers;
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,33 +0,0 @@
 | 
				
			||||||
import { useParams } from "react-router-dom";
 | 
					 | 
				
			||||||
import { api } from "../../API/API";
 | 
					 | 
				
			||||||
import BackButton from "../../Components/BackButton";
 | 
					 | 
				
			||||||
import BasicWindow from "../../Components/BasicWindow";
 | 
					 | 
				
			||||||
import Button from "../../Components/Button";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
async function handleDeleteProject(
 | 
					 | 
				
			||||||
  projectName: string,
 | 
					 | 
				
			||||||
  token: string,
 | 
					 | 
				
			||||||
): Promise<void> {
 | 
					 | 
				
			||||||
  await api.removeProject(projectName, token);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
function AdminProjectPage(): JSX.Element {
 | 
					 | 
				
			||||||
  const content = <></>;
 | 
					 | 
				
			||||||
  const { projectName } = useParams();
 | 
					 | 
				
			||||||
  const token = localStorage.getItem("accessToken");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  const buttons = (
 | 
					 | 
				
			||||||
    <>
 | 
					 | 
				
			||||||
      <Button
 | 
					 | 
				
			||||||
        text="Delete"
 | 
					 | 
				
			||||||
        onClick={() => handleDeleteProject(projectName, token)}
 | 
					 | 
				
			||||||
        type="button"
 | 
					 | 
				
			||||||
      />
 | 
					 | 
				
			||||||
      <BackButton />
 | 
					 | 
				
			||||||
    </>
 | 
					 | 
				
			||||||
  );
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  return <BasicWindow content={content} buttons={buttons} />;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
export default AdminProjectPage;
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,23 +0,0 @@
 | 
				
			||||||
import BackButton from "../../Components/BackButton";
 | 
					 | 
				
			||||||
import BasicWindow from "../../Components/BasicWindow";
 | 
					 | 
				
			||||||
import Button from "../../Components/Button";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
function AdminProjectViewMemberInfo(): JSX.Element {
 | 
					 | 
				
			||||||
  const content = <></>;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  const buttons = (
 | 
					 | 
				
			||||||
    <>
 | 
					 | 
				
			||||||
      <Button
 | 
					 | 
				
			||||||
        text="Remove"
 | 
					 | 
				
			||||||
        onClick={(): void => {
 | 
					 | 
				
			||||||
          return;
 | 
					 | 
				
			||||||
        }}
 | 
					 | 
				
			||||||
        type="button"
 | 
					 | 
				
			||||||
      />
 | 
					 | 
				
			||||||
      <BackButton />
 | 
					 | 
				
			||||||
    </>
 | 
					 | 
				
			||||||
  );
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  return <BasicWindow content={content} buttons={buttons} />;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
export default AdminProjectViewMemberInfo;
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,28 +0,0 @@
 | 
				
			||||||
import BasicWindow from "../../Components/BasicWindow";
 | 
					 | 
				
			||||||
import Button from "../../Components/Button";
 | 
					 | 
				
			||||||
import BackButton from "../../Components/BackButton";
 | 
					 | 
				
			||||||
import UserProjectListAdmin from "../../Components/UserProjectListAdmin";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
function AdminViewUserInfo(): JSX.Element {
 | 
					 | 
				
			||||||
  const content = (
 | 
					 | 
				
			||||||
    <>
 | 
					 | 
				
			||||||
      <UserProjectListAdmin />
 | 
					 | 
				
			||||||
    </>
 | 
					 | 
				
			||||||
  );
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  const buttons = (
 | 
					 | 
				
			||||||
    <>
 | 
					 | 
				
			||||||
      <Button
 | 
					 | 
				
			||||||
        text="Delete"
 | 
					 | 
				
			||||||
        onClick={(): void => {
 | 
					 | 
				
			||||||
          return;
 | 
					 | 
				
			||||||
        }}
 | 
					 | 
				
			||||||
        type="button"
 | 
					 | 
				
			||||||
      />
 | 
					 | 
				
			||||||
      <BackButton />
 | 
					 | 
				
			||||||
    </>
 | 
					 | 
				
			||||||
  );
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  return <BasicWindow content={content} buttons={buttons} />;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
export default AdminViewUserInfo;
 | 
					 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue