Skip to content

Commit

Permalink
Adicionando relatorio de horas teoricas
Browse files Browse the repository at this point in the history
  • Loading branch information
bztNTC committed Oct 25, 2024
1 parent 42fef53 commit 678e7e5
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import UsuarioCursistaDP from "pages/UsuarioCursistaDP";
import UsuarioCursistaDPEdicao from "pages/UsuarioCursistaDPEdicao";
import RelatorioHorasPraticasCursista from "pages/RelatorioHorasPraticasCursista";
import RelatorioOrientacao from "pages/RelatorioOrientacao";
import RelatorioHorasTeoricas from "pages/RelatorioHorasTeoricas";

const ProjectRoutes = () => {
let element = useRoutes([
Expand Down Expand Up @@ -37,6 +38,10 @@ const ProjectRoutes = () => {
path: "relatorio-orientacao", // Definindo o caminho da nova página
element: <RelatorioOrientacao />,
},
{
path: "relatorio-horas-teoricas", // Definindo o caminho da nova página
element: <RelatorioHorasTeoricas />,
},
]);

return element;
Expand Down
5 changes: 5 additions & 0 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ const Home = () => {
relatorio-orientacao
</Link>
</li>
<li style={{ marginBottom: "10px" }}>
<Link to="/relatorio-horas-teoricas" style={{ color: "#87CEFA", textDecoration: "none" }}>
relatorio-horas-teoricas
</Link>
</li>
</ul>
</div>
);
Expand Down
52 changes: 52 additions & 0 deletions src/pages/RelatorioHorasTeoricas/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
import React from 'react';
import { Box, Flex, Heading, Button, Input, VStack } from '@chakra-ui/react';
import { DownloadIcon } from '@chakra-ui/icons';
import Header from '../../components/Header';
import Sidebar1 from '../../components/Sidebar1';

const RelatorioHorasTeoricas = () => {
return (
<Flex direction="column" height="100vh">
<Header />
<Flex flex="1">
<Sidebar1 />
<Box flex="1" p="8" display="flex" justifyContent="center" alignItems="center">
<Box bg="white" p="8" borderRadius="md" boxShadow="md" width="400px">
{/* Título da Seção */}
<Heading size="md" mb="6" textAlign="center">Docente Ministrante</Heading>

{/* Formulário do Relatório de Horas Teóricas */}
<VStack spacing="6">
{/* Campo Nome */}
<Box w="100%">
<Heading size="xs" mb="2">Nome</Heading>
<Input placeholder="Nome do Docente" />
</Box>

{/* Campo Instituição */}
<Box w="100%">
<Heading size="xs" mb="2">Instituição</Heading>
<Input placeholder="Instituição" />
</Box>

{/* Campo Documento Excel */}
<Box w="100%">
<Heading size="xs" mb="2">Documento Excel</Heading>
<Button leftIcon={<DownloadIcon />} colorScheme="gray" variant="outline">
.xml
</Button>
</Box>

{/* Botão Enviar */}
<Box w="100%" textAlign="center">
<Button colorScheme="gray" width="100%">Enviar</Button>
</Box>
</VStack>
</Box>
</Box>
</Flex>
</Flex>
);
};

export default RelatorioHorasTeoricas;

0 comments on commit 678e7e5

Please sign in to comment.