7 Commits

18 changed files with 436 additions and 429 deletions

3
.idea/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

7
.idea/encodings.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
</component>
</project>

12
.idea/misc.xml generated Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_19" default="true" project-jdk-name="openjdk-19" project-jdk-type="JavaSDK" />
</project>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

BIN
database.db Normal file

Binary file not shown.

View File

@@ -1,4 +1,4 @@
/*Richard Reiswich*/ /*Reshad Meher*/
package com.bib.essensbestellungsverwaltung; package com.bib.essensbestellungsverwaltung;
import javafx.fxml.FXML; import javafx.fxml.FXML;
@@ -15,7 +15,6 @@ import java.util.HashMap;
public class LoginController { public class LoginController {
@FXML @FXML
private TextField tfEmail; private TextField tfEmail;
@FXML @FXML
private PasswordField pfPassword; private PasswordField pfPassword;
@@ -28,15 +27,11 @@ public class LoginController {
if(benutzerMap.containsKey(email) && benutzerMap.containsValue(password)){ if(benutzerMap.containsKey(email) && benutzerMap.containsValue(password)){
FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("menue-view.fxml")); FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("menue-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 950,480); Scene scene = new Scene(fxmlLoader.load(), 950,480);
Stage stage = new Stage(); HelloApplication.primary.setScene(scene);
stage.setTitle("Essen Bestellung im Kindergarten");
stage.setScene(scene);
stage.show();
}else { }else {
Alert alert = new Alert(Alert.AlertType.ERROR,"Email oder Passwort ist falsch"); Alert alert = new Alert(Alert.AlertType.ERROR,"Email oder Passwort ist falsch");
alert.showAndWait(); alert.showAndWait();
} }
tfEmail.setText(""); tfEmail.setText("");
pfPassword.setText(""); pfPassword.setText("");
} }
@@ -44,10 +39,6 @@ public class LoginController {
protected void changeToSignUp() throws IOException { protected void changeToSignUp() throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("signUp-view.fxml")); FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("signUp-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 950,480); Scene scene = new Scene(fxmlLoader.load(), 950,480);
Stage stage = new Stage(); HelloApplication.primary.setScene(scene);
stage.setTitle("Essen Bestellung im Kindergarten");
stage.setScene(scene);
stage.show();
} }
} }

View File

@@ -0,0 +1,65 @@
/** Reshad Meher*/
package com.bib.essensbestellungsverwaltung;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextField;
import javafx.stage.Stage;
import java.io.IOException;
import java.util.HashMap;
public class SingUpController {
@FXML
private TextField tfEmail;
@FXML
private TextField tfBestätigungEmail;
@FXML
private PasswordField pfPasswort;
@FXML
private PasswordField pfBestätigungPassowrt;
private HashMap<String, String> benutzermap = new HashMap<>();
@FXML
private void onKontoErstellenBtClick(){
String email = tfEmail.getText();
String bestätigungEmail = tfBestätigungEmail.getText();
String passwort = pfPasswort.getText();
String bestätigungPasswort = pfBestätigungPassowrt.getText();
if(!(email.isEmpty() || bestätigungEmail.isEmpty() || passwort.isEmpty() && bestätigungEmail.isEmpty() || bestätigungPasswort.isEmpty())){
Alert alert;
if(bestätigungEmail.equals(email) && bestätigungPasswort.equals(passwort)){
alert = new Alert(Alert.AlertType.CONFIRMATION,"okay");
alert.showAndWait();
benutzermap.put(email,passwort);
System.out.println(benutzermap);
}else {
alert = new Alert(Alert.AlertType.ERROR,"Die Eingabe passt nicht.");
alert.showAndWait();
}
tfEmail.setText("");
tfBestätigungEmail.setText("");
pfPasswort.setText("");
pfBestätigungPassowrt.setText("");
}
else {
Alert alert = new Alert(Alert.AlertType.ERROR,"Eingabefield sind leer");
alert.showAndWait();
}
}
@FXML
private void onAnmeldenBtClick() throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("login-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 950,480);
HelloApplication.primary.setScene(scene);
}
public HashMap<String, String> getBenutzermap() {
return benutzermap;
}
}

View File

@@ -2,8 +2,6 @@
<?import javafx.geometry.Insets?> <?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?> <?import javafx.scene.control.Button?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.image.Image?> <?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?> <?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.AnchorPane?>
@@ -11,9 +9,9 @@
<?import javafx.scene.layout.VBox?> <?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?> <?import javafx.scene.text.Font?>
<AnchorPane prefHeight="400.0" prefWidth="600.0" stylesheets="@adminMenue.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.AdminController"> <AnchorPane prefHeight="625.0" prefWidth="600.0" stylesheets="@adminMenue.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.AdminController">
<children> <children>
<VBox id="optionsContainer" layoutY="25.0" prefHeight="400.0" prefWidth="175.0"> <VBox id="optionsContainer" layoutY="25.0" prefHeight="600.0" prefWidth="300.0" stylesheets="@adminMenue.css">
<children> <children>
<HBox alignment="CENTER_LEFT" prefHeight="40.0" prefWidth="179.0"> <HBox alignment="CENTER_LEFT" prefHeight="40.0" prefWidth="179.0">
<children> <children>
@@ -22,9 +20,9 @@
<Image url="@pics/to-do-list.png" /> <Image url="@pics/to-do-list.png" />
</image> </image>
</ImageView> </ImageView>
<Button id="buttons" alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="25.0" prefWidth="145.0" style="-fx-background-color: transparent;" text="Tagesbestellungen" textFill="WHITE"> <Button id="buttons" alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="25.0" prefWidth="300.0" style="-fx-background-color: transparent;" text="Tagesbestellungen" textFill="WHITE">
<font> <font>
<Font size="14.0" /> <Font size="23.0" />
</font> </font>
</Button> </Button>
</children> </children>
@@ -39,9 +37,9 @@
<Image url="@pics/spreadsheet.png" /> <Image url="@pics/spreadsheet.png" />
</image> </image>
</ImageView> </ImageView>
<Button id="buttons" alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="25.0" prefWidth="145.0" style="-fx-background-color: transparent;" text="Monatsabrechnung" textFill="WHITE"> <Button id="buttons" alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="25.0" prefWidth="300.0" style="-fx-background-color: transparent;" text="Monatsabrechnung" textFill="WHITE">
<font> <font>
<Font size="14.0" /> <Font size="23.0" />
</font> </font>
</Button> </Button>
</children> </children>
@@ -56,9 +54,9 @@
<Image url="@pics/calendar.png" /> <Image url="@pics/calendar.png" />
</image> </image>
</ImageView> </ImageView>
<Button id="buttons" alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="25.0" prefWidth="145.0" style="-fx-background-color: transparent;" text="Wochenplan" textFill="WHITE"> <Button id="buttons" alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="25.0" prefWidth="300.0" style="-fx-background-color: transparent;" text="Wochenplan" textFill="WHITE">
<font> <font>
<Font size="14.0" /> <Font size="23.0" />
</font> </font>
</Button> </Button>
</children> </children>
@@ -73,9 +71,9 @@
<Image url="@pics/lunch.png" /> <Image url="@pics/lunch.png" />
</image> </image>
</ImageView> </ImageView>
<Button id="buttons" alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="25.0" prefWidth="145.0" style="-fx-background-color: transparent;" text="Mahlzeit" textFill="WHITE"> <Button id="buttons" alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="25.0" prefWidth="300.0" style="-fx-background-color: transparent;" text="Mahlzeit" textFill="WHITE">
<font> <font>
<Font size="14.0" /> <Font size="23.0" />
</font> </font>
</Button> </Button>
</children> </children>
@@ -90,9 +88,9 @@
<Image url="@pics/teamwork.png" /> <Image url="@pics/teamwork.png" />
</image> </image>
</ImageView> </ImageView>
<Button id="buttons" alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="25.0" prefWidth="145.0" style="-fx-background-color: transparent;" text="Mitarbeiter" textFill="WHITE"> <Button id="buttons" alignment="BASELINE_LEFT" mnemonicParsing="false" prefHeight="25.0" prefWidth="300.0" style="-fx-background-color: transparent;" text="Mitarbeiter" textFill="WHITE">
<font> <font>
<Font size="14.0" /> <Font size="23.0" />
</font> </font>
</Button> </Button>
</children> </children>
@@ -102,23 +100,10 @@
</HBox> </HBox>
</children> </children>
</VBox> </VBox>
<HBox id="optionsContainer" alignment="TOP_RIGHT" prefHeight="25.0" prefWidth="600.0" style="-fx-background-color: lightblue;"> <HBox id="optionsContainer" alignment="TOP_RIGHT" prefHeight="25.0" prefWidth="1200.0" style="-fx-background-color: lightblue;">
<children> <children>
<Button mnemonicParsing="false" style="-fx-background-color: transparent;" text="Hallo, [Nutzername]" textFill="WHITE" /> <Button mnemonicParsing="false" style="-fx-background-color: transparent;" text="Hallo, [Nutzername]" textFill="WHITE" />
</children></HBox> </children>
<TabPane layoutX="183.0" layoutY="31.0" prefHeight="378.0" prefWidth="408.0" tabClosingPolicy="UNAVAILABLE"> </HBox>
<tabs>
<Tab text="Untitled Tab 1">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
</content>
</Tab>
<Tab text="Untitled Tab 2">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
</content>
</Tab>
</tabs>
</TabPane>
</children> </children>
</AnchorPane> </AnchorPane>

View File

@@ -3,10 +3,10 @@
-fx-background-color: rgba(85, 103, 136, 0.64); -fx-background-color: rgba(85, 103, 136, 0.64);
} }
#optionsContainer{ #buttons:pressed{
-fx-background-color: lightblue; -fx-background-color: #748d96;
} }
#optionsContainer{ #optionsContainer{
-fx-background-color: darkblue; -fx-background-color: lightblue;
} }

View File

@@ -2,6 +2,8 @@
<?import javafx.geometry.Insets?> <?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?> <?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.ListView?> <?import javafx.scene.control.ListView?>
<?import javafx.scene.control.TextField?> <?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.AnchorPane?>
@@ -10,7 +12,6 @@
<?import javafx.scene.text.Font?> <?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?> <?import javafx.scene.text.Text?>
<AnchorPane prefHeight="760.0" prefWidth="867.0" stylesheets="@child.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.ParentController"> <AnchorPane prefHeight="760.0" prefWidth="867.0" stylesheets="@child.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.ParentController">
<children> <children>
<Text layoutX="51.0" layoutY="90.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Kinder"> <Text layoutX="51.0" layoutY="90.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Kinder">
@@ -18,8 +19,35 @@
<Font size="58.0" /> <Font size="58.0" />
</font> </font>
</Text> </Text>
<HBox id="contentContainer" alignment="CENTER" layoutX="49.0" layoutY="170.0" prefHeight="250.0" prefWidth="770.0"> <HBox id="contentContainer" alignment="CENTER" layoutX="48.0" layoutY="244.0" prefHeight="250.0" prefWidth="770.0">
<children> <children>
<VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Name">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</Text>
<TextField prefWidth="97.0">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</TextField>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Geburtsdatum">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</Text>
<DatePicker prefHeight="26.0" prefWidth="226.0">
<VBox.margin>
<Insets top="13.0" />
</VBox.margin>
</DatePicker>
</children>
<HBox.margin>
<Insets left="15.0" right="15.0" />
</HBox.margin>
</VBox>
<VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0"> <VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
<children> <children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Alter"> <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Alter">
@@ -37,115 +65,11 @@
<Insets bottom="15.0" top="15.0" /> <Insets bottom="15.0" top="15.0" />
</VBox.margin> </VBox.margin>
</Text> </Text>
<TextField> <ComboBox prefHeight="26.0" prefWidth="230.0">
<VBox.margin> <VBox.margin>
<Insets bottom="15.0" top="15.0" /> <Insets top="13.0" />
</VBox.margin> </VBox.margin>
</TextField> </ComboBox>
</children>
<HBox.margin>
<Insets left="15.0" right="15.0" />
</HBox.margin>
</VBox>
<VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Geburtsdatum">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</Text>
<TextField prefWidth="97.0">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</TextField>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Sonstiges">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</Text>
<TextField>
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</TextField>
</children>
<HBox.margin>
<Insets left="15.0" right="15.0" />
</HBox.margin>
</VBox>
<VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Alergien">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</Text>
<ListView prefHeight="144.0" prefWidth="227.0" />
<TextField id="tfAddAllergy" promptText="Allergie hinzufügen">
<VBox.margin>
<Insets top="15.0" />
</VBox.margin>
</TextField>
</children>
<HBox.margin>
<Insets left="15.0" right="15.0" />
</HBox.margin>
</VBox>
</children>
</HBox>
<Text layoutX="49.0" layoutY="152.0" strokeType="OUTSIDE" strokeWidth="0.0" text="[Name des Kindes]" wrappingWidth="99.03515625" />
<HBox id="contentContainer" alignment="CENTER" layoutX="49.0" layoutY="464.0" prefHeight="250.0" prefWidth="770.0">
<children>
<VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Alter">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</Text>
<TextField prefWidth="97.0">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</TextField>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Gruppe">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</Text>
<TextField>
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</TextField>
</children>
<HBox.margin>
<Insets left="15.0" right="15.0" />
</HBox.margin>
</VBox>
<VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Geburtsdatum">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</Text>
<TextField prefWidth="97.0">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</TextField>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Sonstiges">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</Text>
<TextField>
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</TextField>
</children> </children>
<HBox.margin> <HBox.margin>
<Insets left="15.0" right="15.0" /> <Insets left="15.0" right="15.0" />
@@ -158,7 +82,7 @@
<Insets bottom="15.0" top="15.0" /> <Insets bottom="15.0" top="15.0" />
</VBox.margin> </VBox.margin>
</Text> </Text>
<ListView prefHeight="200.0" prefWidth="200.0" /> <ListView prefHeight="101.0" prefWidth="227.0" />
<TextField id="tfAddAllergy" promptText="Allergie hinzufügen"> <TextField id="tfAddAllergy" promptText="Allergie hinzufügen">
<VBox.margin> <VBox.margin>
<Insets top="15.0" /> <Insets top="15.0" />
@@ -171,7 +95,6 @@
</VBox> </VBox>
</children> </children>
</HBox> </HBox>
<Text layoutX="49.0" layoutY="433.0" strokeType="OUTSIDE" strokeWidth="0.0" text="[Name des Kindes]" wrappingWidth="99.03515625" /> <Button id="btAddChild" layoutX="360.0" layoutY="592.0" mnemonicParsing="false" prefHeight="26.0" prefWidth="146.0" text="Kind hinzufügen" />
<Button id="btAddChild" layoutX="382.0" layoutY="721.0" mnemonicParsing="false" text="Kind hinzufügen" />
</children> </children>
</AnchorPane> </AnchorPane>

View File

@@ -46,12 +46,12 @@
<Insets top="20.0" /> <Insets top="20.0" />
</HBox.margin> </HBox.margin>
</Label> </Label>
<RadioButton mnemonicParsing="false" text="Dessert"> <RadioButton mnemonicParsing="false" text="Hauptgericht">
<HBox.margin> <HBox.margin>
<Insets left="35.0" top="20.0" /> <Insets left="35.0" top="20.0" />
</HBox.margin> </HBox.margin>
</RadioButton> </RadioButton>
<RadioButton mnemonicParsing="false" text="Kein Dessert"> <RadioButton mnemonicParsing="false" text="Dessert">
<HBox.margin> <HBox.margin>
<Insets left="50.0" top="20.0" /> <Insets left="50.0" top="20.0" />
</HBox.margin> </HBox.margin>

View File

@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<AnchorPane prefHeight="536.0" prefWidth="929.0" style="-fx-background-color: lightblue;" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.MenueController">
<children>
<Label alignment="CENTER" layoutX="14.0" layoutY="14.0" prefHeight="35.0" prefWidth="895.0" text="Essenbestellung">
<font>
<Font size="28.0"/>
</font>
</Label>
<Button alignment="CENTER" layoutX="868.0" layoutY="61.0" mnemonicParsing="false" style="-fx-background-color: white;" text="Login" />
<VBox layoutX="14.0" layoutY="100.0" prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<children>
<Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Montag" textAlignment="CENTER">
<VBox.margin>
<Insets bottom="10.0" />
</VBox.margin>
<font>
<Font size="18.0" />
</font>
</Label>
<Label prefHeight="18.0" prefWidth="180.0" text="Hauptgericht" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Button">
<VBox.margin>
<Insets />
</VBox.margin>
</Button>
<Label prefHeight="18.0" prefWidth="174.0" text="Dessert">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Label>
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Button" />
</children>
</VBox>
<VBox layoutX="194.0" layoutY="100.0" prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<children>
<Label alignment="CENTER" prefHeight="18.0" prefWidth="210.0" text="Dienstag">
<font>
<Font size="18.0" />
</font>
</Label>
<Label prefHeight="18.0" prefWidth="182.0" text="Hauptgericht">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Label>
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Button" />
<Label prefHeight="18.0" prefWidth="183.0" text="Dessert">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Label>
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Button" />
</children>
</VBox>
<VBox layoutX="554.0" layoutY="100.0" prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<children>
<Label alignment="CENTER" prefHeight="18.0" prefWidth="214.0" text="Donnerstag">
<font>
<Font size="18.0" />
</font>
</Label>
<Label prefHeight="18.0" prefWidth="178.0" text="Hauptgericht">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Label>
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
<Label prefHeight="18.0" prefWidth="186.0" text="Dessert">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Label>
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
</children>
</VBox>
<VBox layoutX="374.0" layoutY="100.0" prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<children>
<Label alignment="CENTER" prefHeight="18.0" prefWidth="212.0" text="Mittwoch">
<font>
<Font size="18.0" />
</font>
</Label>
<Label prefHeight="18.0" prefWidth="176.0" text="Hauptgericht">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Label>
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
<Label prefHeight="18.0" prefWidth="177.0" text="Dessert">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Label>
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
</children>
</VBox>
<VBox layoutX="734.0" layoutY="100.0" prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<children>
<Label alignment="CENTER" prefHeight="18.0" prefWidth="200.0" text="Freitag">
<font>
<Font size="18.0" />
</font>
</Label>
<Label prefHeight="18.0" prefWidth="190.0" text="Hauptgericht">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Label>
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
<Label prefHeight="18.0" prefWidth="190.0" text="Dessert">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Label>
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
</children>
</VBox>
</children>
</AnchorPane>

View File

@@ -3,324 +3,137 @@
<?import javafx.geometry.Insets?> <?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?> <?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?> <?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?> <?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?> <?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?> <?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<AnchorPane prefHeight="760.0" prefWidth="867.0" stylesheets="@menue.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.MenueController"> <AnchorPane prefHeight="600.0" prefWidth="900.0" stylesheets="@menue.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.MenueController">
<children> <children>
<HBox alignment="CENTER" layoutX="50.0" layoutY="27.0" prefHeight="648.0" prefWidth="791.0"> <Label alignment="CENTER" layoutX="14.0" layoutY="14.0" prefHeight="35.0" prefWidth="895.0" text="Essenbestellung">
<font>
<Font size="28.0" />
</font>
</Label>
<Button id="btLogin" alignment="CENTER" layoutX="848.0" layoutY="34.0" mnemonicParsing="false" text="Login" />
<HBox layoutX="220.0" layoutY="87.0" prefHeight="414.0" prefWidth="688.0">
<children> <children>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0"> <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<children> <children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Montag" textAlignment="CENTER" wrappingWidth="120.0"> <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Montag" textAlignment="CENTER">
<VBox.margin> <VBox.margin>
<Insets /> <Insets bottom="10.0" />
</VBox.margin> </VBox.margin>
<font> <font>
<Font size="23.0" /> <Font size="18.0" />
</font> </font>
</Text> </Label>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1"> <Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
<VBox.margin> <VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <Insets bottom="20.0" />
</VBox.margin> </VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
<VBox.margin>
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets left="25.0" right="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
<padding>
<Insets left="25.0" right="25.0" />
</padding>
</Button> </Button>
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
</children> </children>
<HBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</HBox.margin>
</VBox> </VBox>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0"> <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<children> <children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Dienstag" textAlignment="CENTER" wrappingWidth="120.0"> <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Dienstag" textAlignment="CENTER">
<VBox.margin> <VBox.margin>
<Insets /> <Insets bottom="10.0" />
</VBox.margin> </VBox.margin>
<font> <font>
<Font size="23.0" /> <Font size="18.0" />
</font> </font>
</Text> </Label>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1"> <Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
<VBox.margin> <VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <Insets bottom="20.0" />
</VBox.margin> </VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
<VBox.margin>
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets left="25.0" right="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
<padding>
<Insets left="25.0" right="25.0" />
</padding>
</Button> </Button>
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
</children> </children>
<HBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</HBox.margin>
</VBox> </VBox>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0"> <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<children> <children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Mittwoch" textAlignment="CENTER" wrappingWidth="120.0"> <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Mittwoch" textAlignment="CENTER">
<VBox.margin> <VBox.margin>
<Insets /> <Insets bottom="10.0" />
</VBox.margin> </VBox.margin>
<font> <font>
<Font size="23.0" /> <Font size="18.0" />
</font> </font>
</Text> </Label>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1"> <Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
<VBox.margin> <VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <Insets bottom="20.0" />
</VBox.margin> </VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
<VBox.margin>
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets left="25.0" right="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
<padding>
<Insets left="25.0" right="25.0" />
</padding>
</Button> </Button>
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
</children> </children>
<HBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</HBox.margin>
</VBox> </VBox>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0"> <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<children> <children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Donnerstag" textAlignment="CENTER" wrappingWidth="120.0"> <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Donnerstag" textAlignment="CENTER">
<VBox.margin> <VBox.margin>
<Insets /> <Insets bottom="10.0" />
</VBox.margin> </VBox.margin>
<font> <font>
<Font size="23.0" /> <Font size="18.0" />
</font> </font>
</Text> </Label>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1"> <Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
<VBox.margin> <VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <Insets bottom="20.0" />
</VBox.margin> </VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
<VBox.margin>
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets left="25.0" right="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
<padding>
<Insets left="25.0" right="25.0" />
</padding>
</Button> </Button>
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
</children> </children>
<HBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</HBox.margin>
</VBox> </VBox>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="135.0"> <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
<children> <children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Freitag" textAlignment="CENTER" wrappingWidth="120.0"> <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Freitag" textAlignment="CENTER">
<VBox.margin> <VBox.margin>
<Insets /> <Insets bottom="10.0" />
</VBox.margin> </VBox.margin>
<font> <font>
<Font size="23.0" /> <Font size="18.0" />
</font> </font>
</Text> </Label>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 1"> <Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
<VBox.margin> <VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> <Insets bottom="20.0" />
</VBox.margin> </VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Gericht 2">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
<VBox.margin>
<Insets bottom="55.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets left="25.0" right="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 1">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="Dessert 2">
<VBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</VBox.margin>
<padding>
<Insets bottom="25.0" left="20.0" right="20.0" top="25.0" />
</padding>
</Button>
<Button id="btFoodChoice" mnemonicParsing="false" text="ablehen">
<padding>
<Insets left="25.0" right="25.0" />
</padding>
</Button> </Button>
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
<Button id="btFoodChoice" alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
</children> </children>
<HBox.margin>
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
</HBox.margin>
</VBox> </VBox>
</children> </children>
</HBox> </HBox>
<Button id="btPlaceOrder" layoutX="378.0" layoutY="675.0" mnemonicParsing="false" prefHeight="53.0" prefWidth="134.0" text="Jetzt Bestellen" /> <Button id="btPlaceOrder" layoutX="379.0" layoutY="527.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="150.0" text="Bestellung abschicken" />
<ComboBox id="cbChooseChild" layoutX="63.0" layoutY="689.0" prefWidth="150.0" promptText="Kind auswählen" /> <ComboBox id="cbChooseChild" layoutX="29.0" layoutY="34.0" prefWidth="150.0" promptText="Wähle Kind" stylesheets="@menue.css" />
<Text layoutX="650.0" layoutY="711.0" strokeType="OUTSIDE" strokeWidth="0.0" text="[Gesambetrag]" wrappingWidth="168.0"> <ListView id="lvShowDescription" layoutX="20.0" layoutY="115.0" prefHeight="370.0" prefWidth="200.0" />
<font>
<Font size="24.0" />
</font>
</Text>
</children> </children>
</AnchorPane> </AnchorPane>

View File

@@ -1,6 +1,5 @@
#btFoodChoice{ #btFoodChoice{
-fx-background-color: transparent; -fx-background-color: transparent;
} }
#btFoodChoice:hover{ #btFoodChoice:hover{
@@ -13,6 +12,16 @@
-fx-background-radius: 25; -fx-background-radius: 25;
} }
#btLogin{
-fx-background-color: #9ac1ce;
-fx-text-fill: white;
}
#btLogin:hover{
-fx-underline: true;
-fx-text-fill: black;
}
#btPlaceOrder:hover{ #btPlaceOrder:hover{
-fx-border-width: 0; -fx-border-width: 0;
@@ -21,5 +30,11 @@
} }
#cbChooseChild{ #cbChooseChild{
-fx-background-color: lightgray; -fx-background-color: #9ac1ce;
-fx-prompt-text-fill: white;
}
#btFoodChoice:hover{
-fx-underline: true;
-fx-text-fill: black;
} }

View File

@@ -75,7 +75,7 @@
</padding></VBox> </padding></VBox>
<HBox id="contentContainer2" alignment="CENTER_RIGHT" prefHeight="40.0" prefWidth="1200.0" stylesheets="@parentMenue.css"> <HBox id="contentContainer2" alignment="CENTER_RIGHT" prefHeight="40.0" prefWidth="1200.0" stylesheets="@parentMenue.css">
<children> <children>
<Button id="btLogOut" mnemonicParsing="false" text="Abmelden" /> <Button id="btLogOut" mnemonicParsing="false" stylesheets="@parentMenue.css" text="Abmelden" />
</children> </children>
</HBox> </HBox>
</children> </children>

View File

@@ -29,9 +29,9 @@
<Circle fill="#67b5ff2e" layoutX="-23.0" layoutY="368.0" radius="100.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" /> <Circle fill="#67b5ff2e" layoutX="-23.0" layoutY="368.0" radius="100.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" />
<Circle fill="#69b6ffb0" layoutX="235.0" layoutY="310.0" radius="158.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" /> <Circle fill="#69b6ffb0" layoutX="235.0" layoutY="310.0" radius="158.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" />
<Circle fill="#93c4f23d" layoutY="258.0" radius="106.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" /> <Circle fill="#93c4f23d" layoutY="258.0" radius="106.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" />
<VBox alignment="CENTER" layoutX="263.0" prefHeight="400.0" prefWidth="338.0" style="-fx-background-color: white;"> <VBox layoutX="262.0" prefHeight="400.0" prefWidth="364.0" style="-fx-background-color: white;">
<children> <children>
<TextField promptText="Email" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;" fx:id="tfEmail"> <TextField fx:id="tfEmail" alignment="TOP_LEFT" prefHeight="26.0" prefWidth="282.0" promptText="Name" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
<effect> <effect>
<Blend /> <Blend />
</effect> </effect>
@@ -42,7 +42,7 @@
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</VBox.margin> </VBox.margin>
</TextField> </TextField>
<TextField promptText="Email bestätigen" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;" fx:id="tfBestätigungEmail"> <TextField fx:id="tfBestätigungEmail" promptText="Vorname" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
<effect> <effect>
<Blend /> <Blend />
</effect> </effect>
@@ -53,7 +53,7 @@
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</VBox.margin> </VBox.margin>
</TextField> </TextField>
<PasswordField promptText="Passwort" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;" fx:id="pfPasswort"> <PasswordField fx:id="pfPasswort" accessibleRole="TEXT_FIELD" promptText="Email" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
<font> <font>
<Font name="Microsoft Tai Le Bold" size="12.0" /> <Font name="Microsoft Tai Le Bold" size="12.0" />
</font> </font>
@@ -67,7 +67,7 @@
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</VBox.margin> </VBox.margin>
</PasswordField> </PasswordField>
<PasswordField promptText="Passwort bestätigen" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;" fx:id="pfBestätigungPassowrt"> <PasswordField fx:id="pfBestätigungPassowrt" promptText="Passwort" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
<font> <font>
<Font name="Microsoft Tai Le Bold" size="12.0" /> <Font name="Microsoft Tai Le Bold" size="12.0" />
</font> </font>
@@ -81,13 +81,53 @@
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</VBox.margin> </VBox.margin>
</PasswordField> </PasswordField>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<TextField prefHeight="35.0" prefWidth="92.0" promptText="PLZ" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
<HBox.margin>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</HBox.margin>
<font>
<Font name="Microsoft Tai Le Bold" size="12.0" />
</font>
</TextField>
<TextField prefHeight="35.0" prefWidth="182.0" promptText="Stadt" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
<HBox.margin>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</HBox.margin>
<font>
<Font name="Microsoft Tai Le Bold" size="12.0" />
</font>
</TextField>
</children>
</HBox>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<TextField prefHeight="27.0" prefWidth="134.0" promptText="Straße" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
<HBox.margin>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</HBox.margin>
<font>
<Font name="Microsoft Tai Le Bold" size="12.0" />
</font>
</TextField>
<TextField prefHeight="27.0" prefWidth="99.0" promptText="Hausnummer" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
<HBox.margin>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</HBox.margin>
<font>
<Font name="Microsoft Tai Le Bold" size="12.0" />
</font>
</TextField>
</children>
</HBox>
<HBox alignment="CENTER" prefHeight="30.0" prefWidth="238.0"> <HBox alignment="CENTER" prefHeight="30.0" prefWidth="238.0">
<children> <children>
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="106.0" style="-fx-background-radius: 25; -fx-background-color: lightblue;" text="Konto erstellen" textFill="WHITE" onAction="#onKontoErstellenBtClick"> <Button mnemonicParsing="false" onAction="#onKontoErstellenBtClick" prefHeight="25.0" prefWidth="106.0" style="-fx-background-radius: 25; -fx-background-color: lightblue;" text="Konto erstellen" textFill="WHITE">
<font> <font>
<Font name="Microsoft Tai Le Bold" size="12.0" /> <Font name="Microsoft Tai Le Bold" size="12.0" />
</font></Button> </font></Button>
<Button id="btSignUp" mnemonicParsing="false" prefHeight="25.0" prefWidth="101.0" style="-fx-background-color: tranparent;" text="Anmelden" textFill="#7c7b7b" underline="true" onAction="#onAnmeldenBtClick"/> <Button id="btSignUp" mnemonicParsing="false" onAction="#onAnmeldenBtClick" prefHeight="25.0" prefWidth="101.0" style="-fx-background-color: tranparent;" text="Anmelden" textFill="#7c7b7b" underline="true" />
</children> </children>
<opaqueInsets> <opaqueInsets>
<Insets top="15.0" /> <Insets top="15.0" />