diff --git a/anwendung/src/components/CourseNameInput.jsx b/anwendung/src/components/CourseNameInput.jsx new file mode 100644 index 0000000..aa100f3 --- /dev/null +++ b/anwendung/src/components/CourseNameInput.jsx @@ -0,0 +1,8 @@ +export default function CourseNameInput(){ + return( + <> +

Kursname

+ + + ) +} \ No newline at end of file diff --git a/anwendung/src/components/DozentSelector.jsx b/anwendung/src/components/DozentSelector.jsx new file mode 100644 index 0000000..7e7e9f8 --- /dev/null +++ b/anwendung/src/components/DozentSelector.jsx @@ -0,0 +1,27 @@ +export default function DozentSelector(){ + return( + <> +
+ + + + + + + + + + + + + + + + + + +
DozentModul
BehrendsAnwendungsprojekt
BimaWeb-E
+
+ + ) +} \ No newline at end of file diff --git a/anwendung/src/components/InputForm.jsx b/anwendung/src/components/InputForm.jsx new file mode 100644 index 0000000..8568694 --- /dev/null +++ b/anwendung/src/components/InputForm.jsx @@ -0,0 +1,17 @@ +import CourseNameInput from "@/components/CourseNameInput"; +import SemesterRangeInput from "@/components/SemesterRangeInput"; +import InputFormButtons from "@/components/InputFormButtons"; +import DozentSelector from "@/components/DozentSelector"; + +export default function InputForm() { + return ( + <> +
+ + + + +
+ + ) +} \ No newline at end of file diff --git a/anwendung/src/components/InputFormButtons.jsx b/anwendung/src/components/InputFormButtons.jsx new file mode 100644 index 0000000..342a8d5 --- /dev/null +++ b/anwendung/src/components/InputFormButtons.jsx @@ -0,0 +1,12 @@ +import Button from './Button'; + +export default function InputFormButtons() { + return ( + <> +
+
+ + ); +} \ No newline at end of file diff --git a/anwendung/src/components/SemesterRangeInput.jsx b/anwendung/src/components/SemesterRangeInput.jsx new file mode 100644 index 0000000..c76a61f --- /dev/null +++ b/anwendung/src/components/SemesterRangeInput.jsx @@ -0,0 +1,17 @@ +export default function SemesterRangeInput(){ + return( + <> +
+
+

Semesterstart

+

Semesterende

+
+
+ +

-

+ +
+
+ + ) +} \ No newline at end of file diff --git a/anwendung/src/pages/index.js b/anwendung/src/pages/index.js index d45797d..7b7cbdf 100644 --- a/anwendung/src/pages/index.js +++ b/anwendung/src/pages/index.js @@ -7,6 +7,8 @@ import WeekSelector from "@/components/WeekSelector"; import PopUp from "@/components/PopUp"; import CalenderView from "@/components/CalenderView"; import DateElement from "@/components/DateElement"; +import InputForm from "@/components/InputForm"; + const inter = Inter({subsets: ['latin']}) @@ -14,13 +16,13 @@ const inter = Inter({subsets: ['latin']}) export default function Home(p) { - return ( <> -
- - +
+ + +
) diff --git a/anwendung/src/styles/globals.css b/anwendung/src/styles/globals.css index ec7cbc8..287514f 100644 --- a/anwendung/src/styles/globals.css +++ b/anwendung/src/styles/globals.css @@ -62,6 +62,7 @@ Button /* Step Progress Bar */ + .step-container { display: flex; @@ -121,6 +122,9 @@ Step Progress Bar z-index: -1; } +/* +weekSelector +*/ .dateElement{ display: flex; @@ -291,11 +295,76 @@ Calender View } -.entry p -{ +.entry p { color: white; font-size: 16px; cursor: default; pointer-events: none; } +/* +inputForm + */ + +input { + border-width: 2px; + border-radius: 5px; +} + +.courseNameInput { + width: 300px; +} + +.semesterDateInput { + width: 150px; +} + +.semesterDateLables, .semesterDateInputPair { + display:flex; + flex-direction: row; + justify-content: left; +} + +.inputFieldSeperator { + width: 40px; + text-align: center; +} + +.semesterDateLable{ + width: 150px; + margin-right: 40px; +} + +.semesterRangeInput { + margin-top: 50px; +} + +.inputForm { + width: 600px; + height: 600px; + padding: 20px; + border: solid; + display: flex; + flex-direction: column; + +} + +#buttons { + align-self: flex-end; + display: flex; + flex-direction: row; + align-items: flex-end; +} + +.dozentSelector { + height: 350px; + border: solid; + margin-top: 20px; + width: 300px; + padding: 10px; + margin-bottom: 20px; +} + +th { + text-align: left; +} \ No newline at end of file