Merge branch 'frontend' into gruppDM
This commit is contained in:
		
						commit
						f5a4c3d0e5
					
				
					 19 changed files with 410 additions and 45 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| import BackButton from "../../Components/BackButton"; | ||||
| import BasicWindow from "../../Components/BasicWindow"; | ||||
| import Button from "../../Components/Button"; | ||||
| import Register from "../../Components/Register"; | ||||
| 
 | ||||
| function AdminAddUser(): JSX.Element { | ||||
|  | @ -11,13 +11,7 @@ function AdminAddUser(): JSX.Element { | |||
| 
 | ||||
|   const buttons = ( | ||||
|     <> | ||||
|       <Button | ||||
|         text="Back" | ||||
|         onClick={(): void => { | ||||
|           return; | ||||
|         }} | ||||
|         type="button" | ||||
|       /> | ||||
|       <BackButton /> | ||||
|     </> | ||||
|   ); | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,15 +1,12 @@ | |||
| import { useLocation } from "react-router-dom"; | ||||
| 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 = ( | ||||
|     <> | ||||
|       <h1 className="font-bold text-[30px] mb-[20px]">{useLocation().state}</h1> | ||||
|       <div className="border-4 border-black bg-white flex flex-col items-center h-[65vh] w-[50vw] rounded-3xl content-center overflow-scroll space-y-[10vh] p-[30px]"> | ||||
|         <p>Put relevant info on user from database here</p> | ||||
|       </div> | ||||
|       <UserProjectListAdmin /> | ||||
|     </> | ||||
|   ); | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| import BackButton from "../../Components/BackButton"; | ||||
| import BasicWindow from "../../Components/BasicWindow"; | ||||
| import TimeReport from "../../Components/NewWeeklyReport"; | ||||
| import BackButton from "../../Components/BackButton"; | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| import BackButton from "../../Components/BackButton"; | ||||
| import BasicWindow from "../../Components/BasicWindow"; | ||||
| import Button from "../../Components/Button"; | ||||
| import TimeReport from "../../Components/NewWeeklyReport"; | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| import React, { useState, createContext, useEffect } from "react"; | ||||
| import { useState, createContext, useEffect } from "react"; | ||||
| import { Project } from "../Types/goTypes"; | ||||
| import { api } from "../API/API"; | ||||
| import { Link } from "react-router-dom"; | ||||
|  | @ -62,6 +62,7 @@ function UserProjectPage(): JSX.Element { | |||
|   const buttons = <></>; | ||||
| 
 | ||||
|   return <BasicWindow content={content} buttons={buttons} />; | ||||
|   return <BasicWindow content={content} buttons={buttons} />; | ||||
| } | ||||
| 
 | ||||
| export default UserProjectPage; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Davenludd
						Davenludd