diff --git a/frontend/src/components/BildeOpplastning.tsx b/frontend/src/components/BildeOpplastning.tsx index f3eb29b..345dfa3 100644 --- a/frontend/src/components/BildeOpplastning.tsx +++ b/frontend/src/components/BildeOpplastning.tsx @@ -1,5 +1,5 @@ import { FileImageIcon, UploadIcon } from "@navikt/aksel-icons" -import { Button } from "@navikt/ds-react" +import { Button, Heading } from "@navikt/ds-react" /** @@ -10,6 +10,9 @@ import { Button } from "@navikt/ds-react" const BildeOpplastning = () => { return(
+ + Skjermbilder +
props.setOpen(false)} diff --git a/frontend/src/components/RedigeringsVerktoy.tsx b/frontend/src/components/RedigeringsVerktoy.tsx index 6a9c8e5..9b7c2f9 100644 --- a/frontend/src/components/RedigeringsVerktoy.tsx +++ b/frontend/src/components/RedigeringsVerktoy.tsx @@ -3,6 +3,7 @@ import { TextField, Textarea, RadioGroup, Radio, Button, Switch } from "@navikt/ import { useState } from "react" import { FeilmeldingsInnholdInterface } from "../interface" import axios from "axios" +import Skillelinje from "./Skillelinje" interface redigeringsInterface extends FeilmeldingsInnholdInterface { reset: () => void @@ -53,6 +54,7 @@ const RedigeringsVerktoy = (props: redigeringsInterface) => { value={beskrivelse} onChange={e => setBeskrivelse(e.target.value)} /> + {setArbeidsstatus(arbeidsstatus)}} @@ -62,6 +64,7 @@ const RedigeringsVerktoy = (props: redigeringsInterface) => { Feilen jobbes med Feilen er fikset + setHaster(!haster)}> Saken haster @@ -87,4 +90,4 @@ const RedigeringsVerktoy = (props: redigeringsInterface) => {
) } -export default RedigeringsVerktoy; \ No newline at end of file +export default RedigeringsVerktoy; diff --git a/frontend/src/components/Skillelinje.tsx b/frontend/src/components/Skillelinje.tsx new file mode 100644 index 0000000..1df1ccd --- /dev/null +++ b/frontend/src/components/Skillelinje.tsx @@ -0,0 +1,8 @@ + + +const Skillelinje = () => { + return ( +
+ ) +} +export default Skillelinje \ No newline at end of file diff --git a/frontend/src/pages/feil.tsx b/frontend/src/pages/feil.tsx index 2cbd365..f962b90 100644 --- a/frontend/src/pages/feil.tsx +++ b/frontend/src/pages/feil.tsx @@ -7,6 +7,7 @@ import { useState } from "react"; import BildeOpplastning from "../components/BildeOpplastning"; import Header from "../components/Header"; import { useNavigate } from "react-router-dom"; +import Skillelinje from "../components/Skillelinje"; export default function Feil() { const [tittel, setTittel] = useState(""); @@ -85,7 +86,9 @@ export default function Feil() { description="Detaljert beskrivelse av problemet" onChange={e => setBeskrivelse(e.target.value)} /> + +
{status != 0 ? handleAlerts() : <>}