Compare commits
	
		
			8 Commits
		
	
	
		
			feat/kindE
			...
			7b7889fee4
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7b7889fee4 | |||
| a4ce206ec4 | |||
| a03a294260 | |||
| a7b192f256 | |||
| 
						 | 
					3a2288f8c8 | ||
| 
						 | 
					6ca54aa026 | ||
| 6fc28a0827 | |||
| 13bc9ae1dd | 
@@ -26,4 +26,9 @@ public class Allergy {
 | 
			
		||||
    public String getHandle() {
 | 
			
		||||
        return handle;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public String toString() {
 | 
			
		||||
        return getName();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -26,4 +26,9 @@ public class AllergySeverity {
 | 
			
		||||
    public String getSeverity() {
 | 
			
		||||
        return severity;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public String toString() {
 | 
			
		||||
        return getAllergy().getName() + " (" + getSeverity() + ")";
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,156 @@
 | 
			
		||||
/*Schulte*/
 | 
			
		||||
 | 
			
		||||
package com.bib.essensbestellungsverwaltung;
 | 
			
		||||
 | 
			
		||||
import javafx.collections.FXCollections;
 | 
			
		||||
import javafx.collections.ObservableList;
 | 
			
		||||
import javafx.event.ActionEvent;
 | 
			
		||||
import javafx.fxml.FXML;
 | 
			
		||||
import javafx.fxml.Initializable;
 | 
			
		||||
import javafx.scene.control.*;
 | 
			
		||||
 | 
			
		||||
import java.net.URL;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.Formattable;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import java.util.ResourceBundle;
 | 
			
		||||
 | 
			
		||||
public class ChildViewController implements Initializable {
 | 
			
		||||
 | 
			
		||||
    @FXML
 | 
			
		||||
    public TextField name;
 | 
			
		||||
    @FXML
 | 
			
		||||
    public TextField lastname;
 | 
			
		||||
    @FXML
 | 
			
		||||
    public TextField street;
 | 
			
		||||
    @FXML
 | 
			
		||||
    public TextField number;
 | 
			
		||||
    @FXML
 | 
			
		||||
    public TextField plz;
 | 
			
		||||
    @FXML
 | 
			
		||||
    public TextField city;
 | 
			
		||||
    //@FXML
 | 
			
		||||
    //public ComboBox group;
 | 
			
		||||
    //@FXML
 | 
			
		||||
    //public TextField age;
 | 
			
		||||
    //@FXML
 | 
			
		||||
    //public TextField allergies;
 | 
			
		||||
    @FXML
 | 
			
		||||
    public ListView allergiesList;
 | 
			
		||||
    ObservableList olAllergiesList;
 | 
			
		||||
    @FXML
 | 
			
		||||
    public ComboBox selectAllergy;
 | 
			
		||||
    @FXML
 | 
			
		||||
    public ComboBox selectAllergySeverity;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    @FXML
 | 
			
		||||
    protected void onBtClick(){
 | 
			
		||||
 | 
			
		||||
        boolean childData = false;
 | 
			
		||||
 | 
			
		||||
        String childName = name.getText();
 | 
			
		||||
        String childLastname = lastname.getText();
 | 
			
		||||
 | 
			
		||||
        String streetString = street.getText();
 | 
			
		||||
        String numberString = number.getText();
 | 
			
		||||
        String plzString = plz.getText();
 | 
			
		||||
        String cityString = city.getText();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        if(childName.isEmpty() || childLastname.isEmpty() || streetString.isEmpty() || numberString.isEmpty() ||plzString.isEmpty() || cityString.isEmpty()){
 | 
			
		||||
            Alert alert = new Alert(Alert.AlertType.ERROR);
 | 
			
		||||
            alert.setTitle("Felder");
 | 
			
		||||
            alert.setHeaderText("Eingabe unvollständig");
 | 
			
		||||
            alert.setContentText("Bitte füllen sie alle Felder aus");
 | 
			
		||||
            alert.showAndWait();
 | 
			
		||||
        }
 | 
			
		||||
        else childData = true;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        if(childData) {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            Address adress = AccountMgr.currentUser.getAddress();
 | 
			
		||||
 | 
			
		||||
            var olChildAllergyList = allergiesList.getItems();
 | 
			
		||||
            List<AllergySeverity> childAllergyList = new ArrayList<>();
 | 
			
		||||
            for (var o : olChildAllergyList) {
 | 
			
		||||
                childAllergyList.add((AllergySeverity) o);
 | 
			
		||||
            }
 | 
			
		||||
            ArrayList<AllergySeverity> allergySeverityArrayList = new ArrayList<>();
 | 
			
		||||
 | 
			
		||||
            /*for (AllergySeverity a : childAllergyList) {
 | 
			
		||||
                AllergySeverity aS = new AllergySeverity(a, )
 | 
			
		||||
            }          */                                       //Allergy Severity doesn't work in my case so the List will be left empty for now
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            Child child = new Child(childLastname, childName, adress, childAllergyList);
 | 
			
		||||
 | 
			
		||||
            System.out.println(AccountMgr.createChild(child));
 | 
			
		||||
 | 
			
		||||
            Alert alert = new Alert(Alert.AlertType.INFORMATION);
 | 
			
		||||
            alert.setTitle("Bestätigung");
 | 
			
		||||
            alert.setHeaderText("Bestätigung");
 | 
			
		||||
            alert.setContentText("Ihr Kind " + childName + " " + childLastname + " wurde Erfolgreich angelegt");
 | 
			
		||||
            alert.showAndWait();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public ArrayList<Allergy> allergyComboBox(){
 | 
			
		||||
        ArrayList<Allergy> allergyArrayList = new ArrayList<>();
 | 
			
		||||
        for (int i = 1; i < 23; i++){
 | 
			
		||||
            Allergy a =  FoodMgr.getAllergyById(i);
 | 
			
		||||
            allergyArrayList.add(a);
 | 
			
		||||
        }
 | 
			
		||||
        return allergyArrayList;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    @FXML
 | 
			
		||||
    public void addAllergy() {
 | 
			
		||||
 | 
			
		||||
        boolean allergyEmpty = (selectAllergy.getValue() == "Allergie Wählen");
 | 
			
		||||
        boolean severityEmpty = (selectAllergySeverity.getValue() == "Schwere");
 | 
			
		||||
 | 
			
		||||
        if(allergyEmpty || severityEmpty) {
 | 
			
		||||
            Alert alert = new Alert(Alert.AlertType.ERROR);
 | 
			
		||||
            alert.setTitle("Fehler");
 | 
			
		||||
            alert.setHeaderText("Ungültige Auswahl");
 | 
			
		||||
            alert.setContentText("Bitte Wählen Sie Allergie und schwere aus");
 | 
			
		||||
            alert.showAndWait();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        Allergy addedAllergy = (Allergy)selectAllergy.getValue();
 | 
			
		||||
        long addedSeverityId = Long.parseLong(selectAllergySeverity.getValue().toString().split(":")[0]);
 | 
			
		||||
        String addedSeverity = selectAllergySeverity.getValue().toString().split(":")[1];
 | 
			
		||||
        olAllergiesList.add(new AllergySeverity(addedAllergy,addedSeverityId,addedSeverity));
 | 
			
		||||
        allergiesList.setItems(olAllergiesList);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        selectAllergy.setValue("Allergie Wählen");
 | 
			
		||||
        selectAllergySeverity.setValue("Schwere");
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void initialize(URL url, ResourceBundle resourceBundle) {
 | 
			
		||||
        ObservableList<Allergy> olAll = FXCollections.observableArrayList(allergyComboBox());
 | 
			
		||||
        selectAllergy.setItems(olAll);
 | 
			
		||||
        //selectAllergy.getItems().addAll(allergyComboBox());
 | 
			
		||||
        olAllergiesList = FXCollections.observableArrayList();
 | 
			
		||||
 | 
			
		||||
        ObservableList olSev = FXCollections.observableArrayList();
 | 
			
		||||
        olSev.add("1:Harmlos");
 | 
			
		||||
        olSev.add("2:Warnung");
 | 
			
		||||
        olSev.add("3:Kritisch");
 | 
			
		||||
        selectAllergySeverity.setItems(olSev);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -12,55 +12,55 @@ import java.io.IOException;
 | 
			
		||||
 | 
			
		||||
public class SingUpController {
 | 
			
		||||
    @FXML
 | 
			
		||||
    private TextField tfName;
 | 
			
		||||
    private TextField tfLastName;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private TextField tfVorname;
 | 
			
		||||
    private TextField tfFirstName;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private TextField tfEmail;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private PasswordField pfPasswort;
 | 
			
		||||
    private PasswordField pfPassword;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private TextField tfPLZ;
 | 
			
		||||
    private TextField tfPostCode;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private TextField tfStadt;
 | 
			
		||||
    private TextField tfCity;
 | 
			
		||||
 | 
			
		||||
    @FXML
 | 
			
		||||
    private TextField tfStrasse;
 | 
			
		||||
    private TextField tfStreet;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private TextField tfHausnummer;
 | 
			
		||||
    private TextField tfHouseNumber;
 | 
			
		||||
    @FXML
 | 
			
		||||
    private void onKontoErstellenBtClick(){
 | 
			
		||||
        String name = tfName.getText();
 | 
			
		||||
        String vorname = tfVorname.getText();
 | 
			
		||||
        String lastName = tfLastName.getText();
 | 
			
		||||
        String firstName = tfFirstName.getText();
 | 
			
		||||
        String email = tfEmail.getText();
 | 
			
		||||
        String passwort = pfPasswort.getText();
 | 
			
		||||
        String plz = tfPLZ.getText();
 | 
			
		||||
        String stadt = tfStadt.getText();
 | 
			
		||||
        String strasse = tfStrasse.getText();
 | 
			
		||||
        String hausnummer = tfHausnummer.getText();
 | 
			
		||||
        String password = pfPassword.getText();
 | 
			
		||||
        String postCode = tfPostCode.getText();
 | 
			
		||||
        String city = tfCity.getText();
 | 
			
		||||
        String street = tfStreet.getText();
 | 
			
		||||
        String houseNumber = tfHouseNumber.getText();
 | 
			
		||||
        Alert alert;
 | 
			
		||||
        if(name.isEmpty() || vorname.isEmpty() || email.isEmpty() || passwort.isEmpty() || plz.isEmpty() ||
 | 
			
		||||
                stadt.isEmpty() || strasse.isEmpty() || hausnummer.isEmpty()){
 | 
			
		||||
        if(lastName.isEmpty() || firstName.isEmpty() || email.isEmpty() || password.isEmpty() || postCode.isEmpty() ||
 | 
			
		||||
                city.isEmpty() || street.isEmpty() || houseNumber.isEmpty()){
 | 
			
		||||
 | 
			
		||||
            if(name.isEmpty()){
 | 
			
		||||
            if(lastName.isEmpty()){
 | 
			
		||||
                alert = new Alert(Alert.AlertType.ERROR," Die Eingabefeld 'Name'  ist leer.");
 | 
			
		||||
                alert.showAndWait();
 | 
			
		||||
            } else if (vorname.isEmpty()) {
 | 
			
		||||
            } else if (firstName.isEmpty()) {
 | 
			
		||||
                alert = new Alert(Alert.AlertType.ERROR," Die Eingabefeld  'Vorname' ist leer.");
 | 
			
		||||
                alert.showAndWait();
 | 
			
		||||
            } else if (email.isEmpty()) {
 | 
			
		||||
                alert = new Alert(Alert.AlertType.ERROR," Die Eingabefeld 'E-Mail' ist leer.");
 | 
			
		||||
                alert.showAndWait();
 | 
			
		||||
            } else if (passwort.isEmpty()) {
 | 
			
		||||
            } else if (password.isEmpty()) {
 | 
			
		||||
                alert = new Alert(Alert.AlertType.ERROR," Die Eingabefeld 'Passwort' ist leer.");
 | 
			
		||||
                alert.showAndWait();
 | 
			
		||||
            } else if (plz.isEmpty()) {
 | 
			
		||||
            } else if (postCode.isEmpty()) {
 | 
			
		||||
                alert = new Alert(Alert.AlertType.ERROR," Die Eingabefeld 'Postleitzahl' ist leer.");
 | 
			
		||||
                alert.showAndWait();
 | 
			
		||||
            } else if (stadt.isEmpty()) {
 | 
			
		||||
            } else if (city.isEmpty()) {
 | 
			
		||||
                alert = new Alert(Alert.AlertType.ERROR," Die Eingabefeld 'Stadt' ist leer.");
 | 
			
		||||
                alert.showAndWait();
 | 
			
		||||
            } else if (strasse.isEmpty()) {
 | 
			
		||||
            } else if (street.isEmpty()) {
 | 
			
		||||
                alert = new Alert(Alert.AlertType.ERROR," Die Eingabefeld  'Straße' ist leer.");
 | 
			
		||||
                alert.showAndWait();
 | 
			
		||||
            }else {
 | 
			
		||||
@@ -69,8 +69,8 @@ public class SingUpController {
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        }else {
 | 
			
		||||
            Address newAdresse = new Address(strasse,hausnummer,plz,stadt);
 | 
			
		||||
            User newUser = new User(name,vorname,passwort,email,newAdresse);
 | 
			
		||||
            Address newAdresse = new Address(street,houseNumber,postCode,city);
 | 
			
		||||
            User newUser = new User(lastName,firstName,password,email,newAdresse);
 | 
			
		||||
            if(StartViewApplication.firstLaunch){
 | 
			
		||||
                long id = AccountMgr.createWorker(new Worker(newUser));
 | 
			
		||||
                if(id < 1) {
 | 
			
		||||
@@ -91,14 +91,14 @@ public class SingUpController {
 | 
			
		||||
                alert = new Alert(Alert.AlertType.CONFIRMATION,"Eltern Account erfolgreich erstellt");
 | 
			
		||||
                alert.showAndWait();
 | 
			
		||||
            }
 | 
			
		||||
            tfName.setText("");
 | 
			
		||||
            tfVorname.setText("");
 | 
			
		||||
            tfLastName.setText("");
 | 
			
		||||
            tfFirstName.setText("");
 | 
			
		||||
            tfEmail.setText("");
 | 
			
		||||
            pfPasswort.setText("");
 | 
			
		||||
            tfPLZ.setText("");
 | 
			
		||||
            tfStadt.setText("");
 | 
			
		||||
            tfStrasse.setText("");
 | 
			
		||||
            tfHausnummer.setText("");
 | 
			
		||||
            pfPassword.setText("");
 | 
			
		||||
            tfPostCode.setText("");
 | 
			
		||||
            tfCity.setText("");
 | 
			
		||||
            tfStreet.setText("");
 | 
			
		||||
            tfHouseNumber.setText("");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@ public class StartViewApplication extends Application {
 | 
			
		||||
    @Override
 | 
			
		||||
    public void start(Stage stage) throws IOException {
 | 
			
		||||
        FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource((firstLaunch) ? "signUp-view.fxml" : "login-view.fxml"));
 | 
			
		||||
        Scene scene = new Scene(fxmlLoader.load(), 1300, 750);
 | 
			
		||||
        Scene scene = new Scene(fxmlLoader.load(), 1200, 750);
 | 
			
		||||
        primary = stage;
 | 
			
		||||
        stage.setTitle("Essen Bestellung im Kindergarten");
 | 
			
		||||
        stage.setScene(scene);
 | 
			
		||||
 
 | 
			
		||||
@@ -1,28 +1,43 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<?import javafx.geometry.*?>
 | 
			
		||||
<?import javafx.scene.control.*?>
 | 
			
		||||
<?import javafx.scene.layout.*?>
 | 
			
		||||
<?import javafx.scene.text.*?>
 | 
			
		||||
<?import org.controlsfx.control.*?>
 | 
			
		||||
<?import javafx.geometry.Insets?>
 | 
			
		||||
<?import javafx.scene.control.Button?>
 | 
			
		||||
<?import javafx.scene.control.ComboBox?>
 | 
			
		||||
<?import javafx.scene.control.ListView?>
 | 
			
		||||
<?import javafx.scene.control.TextField?>
 | 
			
		||||
<?import javafx.scene.layout.AnchorPane?>
 | 
			
		||||
<?import javafx.scene.layout.HBox?>
 | 
			
		||||
<?import javafx.scene.layout.VBox?>
 | 
			
		||||
<?import javafx.scene.text.Font?>
 | 
			
		||||
<?import javafx.scene.text.Text?>
 | 
			
		||||
 | 
			
		||||
<AnchorPane prefHeight="700.0" prefWidth="950.0" stylesheets="@child.css" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.ChildController">
 | 
			
		||||
<AnchorPane prefHeight="700.0" prefWidth="950.0" stylesheets="@child.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.ChildViewController">
 | 
			
		||||
   <children>
 | 
			
		||||
      <Text layoutX="51.0" layoutY="90.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Kinder">
 | 
			
		||||
         <font>
 | 
			
		||||
            <Font size="58.0" />
 | 
			
		||||
         </font>
 | 
			
		||||
      </Text>
 | 
			
		||||
      <HBox id="contentContainer" alignment="CENTER" layoutX="8.0" layoutY="165.0" prefHeight="127.0" prefWidth="937.0">
 | 
			
		||||
      <HBox id="contentContainer" alignment="CENTER" layoutX="8.0" layoutY="165.0" prefHeight="331.0" prefWidth="937.0">
 | 
			
		||||
         <children>
 | 
			
		||||
            <VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
 | 
			
		||||
               <children>
 | 
			
		||||
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Vorname">
 | 
			
		||||
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Name">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </Text>
 | 
			
		||||
                  <TextField fx:id="firstName" prefWidth="97.0">
 | 
			
		||||
                  <TextField fx:id="name" prefWidth="97.0">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </TextField>
 | 
			
		||||
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nachname">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </Text>
 | 
			
		||||
                  <TextField fx:id="lastname" prefWidth="97.0">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
@@ -34,16 +49,66 @@
 | 
			
		||||
            </VBox>
 | 
			
		||||
            <VBox id="contentContainer" prefHeight="250.0" prefWidth="256.0">
 | 
			
		||||
               <children>
 | 
			
		||||
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nachname">
 | 
			
		||||
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Straße">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </Text>
 | 
			
		||||
                  <TextField fx:id="lastName" prefWidth="97.0">
 | 
			
		||||
                  <TextField fx:id="street" prefWidth="97.0">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </TextField>
 | 
			
		||||
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Hausnummer">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </Text>
 | 
			
		||||
                  <TextField fx:id="number" prefWidth="97.0">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </TextField>
 | 
			
		||||
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="PLZ">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </Text>
 | 
			
		||||
                  <TextField fx:id="plz" prefWidth="97.0">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </TextField>
 | 
			
		||||
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Stadt">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </Text>
 | 
			
		||||
                  <TextField fx:id="city" prefWidth="97.0">
 | 
			
		||||
                     <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="Allergien">
 | 
			
		||||
                     <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
                     </VBox.margin>
 | 
			
		||||
                  </Text>
 | 
			
		||||
                  <ListView fx:id="allergiesList" prefHeight="101.0" prefWidth="227.0" />
 | 
			
		||||
                  <HBox prefHeight="26.0" prefWidth="256.0">
 | 
			
		||||
                     <children>
 | 
			
		||||
                        <ComboBox fx:id="selectAllergy" prefWidth="150.0" promptText="Allergie wählen" />
 | 
			
		||||
                        <ComboBox fx:id="selectAllergySeverity" prefWidth="150.0" promptText="Schwere" />
 | 
			
		||||
                     </children>
 | 
			
		||||
                  </HBox>
 | 
			
		||||
                  <Button fx:id="addAllergy" mnemonicParsing="false" onAction="#addAllergy" prefHeight="25.0" prefWidth="171.0" text="Allergie hinzufügen" />
 | 
			
		||||
               </children>
 | 
			
		||||
               <HBox.margin>
 | 
			
		||||
                  <Insets left="15.0" right="15.0" />
 | 
			
		||||
@@ -51,19 +116,6 @@
 | 
			
		||||
            </VBox>
 | 
			
		||||
         </children>
 | 
			
		||||
      </HBox>
 | 
			
		||||
      <Button id="btAddChild" fx:id="kindHinzufügenButton" layoutX="779.0" layoutY="646.0" mnemonicParsing="false" onAction="#onKindHinzufügen" prefHeight="26.0" prefWidth="125.0" text="Kind hinzufügen" />
 | 
			
		||||
      <ChoiceBox fx:id="childChoiceBox" layoutX="704.0" layoutY="62.0" onAction="#onSelectChild" prefWidth="150.0" />
 | 
			
		||||
      <Label layoutX="704.0" layoutY="44.0" text="Kind" />
 | 
			
		||||
      <VBox id="contentContainer" layoutX="493.0" layoutY="330.0" prefHeight="250.0" prefWidth="256.0" spacing="20.0">
 | 
			
		||||
         <children>
 | 
			
		||||
            <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Allergien">
 | 
			
		||||
               <VBox.margin>
 | 
			
		||||
                  <Insets bottom="15.0" top="15.0" />
 | 
			
		||||
               </VBox.margin>
 | 
			
		||||
            </Text>
 | 
			
		||||
            <CheckComboBox fx:id="allergienComboBox" prefHeight="25.0" prefWidth="200.0" />
 | 
			
		||||
         </children>
 | 
			
		||||
      </VBox>
 | 
			
		||||
      <Button id="btAddChild" fx:id="kindLoeschenButton" layoutX="621.0" layoutY="646.0" mnemonicParsing="false" onAction="#onKindLoeschen" prefHeight="26.0" prefWidth="125.0" text="Kind löschen" />
 | 
			
		||||
      <Button id="btAddChild" layoutX="421.0" layoutY="587.0" mnemonicParsing="false" onAction="#onBtClick" prefHeight="26.0" prefWidth="125.0" text="Kind hinzufügen" />
 | 
			
		||||
   </children>
 | 
			
		||||
</AnchorPane>
 | 
			
		||||
 
 | 
			
		||||
@@ -8,17 +8,16 @@
 | 
			
		||||
<?import javafx.scene.layout.AnchorPane?>
 | 
			
		||||
<?import javafx.scene.layout.HBox?>
 | 
			
		||||
<?import javafx.scene.layout.VBox?>
 | 
			
		||||
<?import javafx.scene.shape.Circle?>
 | 
			
		||||
<?import javafx.scene.text.Font?>
 | 
			
		||||
<?import javafx.scene.text.Text?>
 | 
			
		||||
 | 
			
		||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.LoginController">
 | 
			
		||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="750.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.LoginController">
 | 
			
		||||
    <children>
 | 
			
		||||
      <VBox alignment="CENTER" prefHeight="400.0" prefWidth="265.0" style="-fx-background-color: lightblue;">
 | 
			
		||||
        <VBox alignment="CENTER" prefHeight="750.0" prefWidth="400.0" style="-fx-background-color: lightblue;">
 | 
			
		||||
            <children>
 | 
			
		||||
                <Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="Essensbestellung">
 | 
			
		||||
                    <font>
 | 
			
		||||
                  <Font name="Yu Gothic Light" size="26.0" />
 | 
			
		||||
                        <Font name="Yu Gothic Light" size="35.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                </Text>
 | 
			
		||||
            </children>
 | 
			
		||||
@@ -26,12 +25,9 @@
 | 
			
		||||
                <Insets bottom="150.0" />
 | 
			
		||||
            </padding>
 | 
			
		||||
        </VBox>
 | 
			
		||||
      <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="#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 alignment="CENTER" layoutX="400.0" prefHeight="750.0" prefWidth="900.0" style="-fx-background-color: white;">
 | 
			
		||||
            <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" promptText="Email" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
 | 
			
		||||
                    <VBox.margin>
 | 
			
		||||
                        <Insets bottom="15.0" left="25.0" right="25.0" top="25.0" />
 | 
			
		||||
                    </VBox.margin>
 | 
			
		||||
@@ -39,24 +35,33 @@
 | 
			
		||||
                        <Blend />
 | 
			
		||||
                    </effect>
 | 
			
		||||
                    <font>
 | 
			
		||||
                  <Font name="Microsoft Tai Le" size="12.0" />
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="20.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                </TextField>
 | 
			
		||||
            <PasswordField promptText="Passwort" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;" fx:id="pfPassword">
 | 
			
		||||
                <PasswordField fx:id="pfPassword" promptText="Passwort" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
 | 
			
		||||
                    <VBox.margin>
 | 
			
		||||
                        <Insets bottom="25.0" left="25.0" right="25.0" top="15.0" />
 | 
			
		||||
                    </VBox.margin>
 | 
			
		||||
                    <font>
 | 
			
		||||
                  <Font name="Microsoft Tai Le Bold" size="12.0" />
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="20.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                </PasswordField>
 | 
			
		||||
                <HBox alignment="CENTER" prefHeight="30.0" prefWidth="238.0">
 | 
			
		||||
                    <children>
 | 
			
		||||
                  <Button mnemonicParsing="false" prefHeight="25.0" prefWidth="106.0" style="-fx-background-radius: 25; -fx-background-color: lightblue;" text="Login" textFill="WHITE" onAction="#onBtLoginClick">
 | 
			
		||||
                        <Button mnemonicParsing="false" onAction="#onBtLoginClick" prefHeight="45.0" prefWidth="118.0" style="-fx-background-radius: 25; -fx-background-color: lightblue;" text="Login" textFill="WHITE">
 | 
			
		||||
                            <font>
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="12.0" />
 | 
			
		||||
                     </font></Button>
 | 
			
		||||
                  <Button id="btSignUp" mnemonicParsing="false" prefHeight="25.0" prefWidth="101.0" style="-fx-background-color: tranparent;" text="Sign up" textFill="#7c7b7b" underline="true" onAction="#changeToSignUp" />
 | 
			
		||||
                                <Font name="Microsoft Tai Le Bold" size="18.0" />
 | 
			
		||||
                            </font>
 | 
			
		||||
                            <HBox.margin>
 | 
			
		||||
                                <Insets right="15.0" />
 | 
			
		||||
                            </HBox.margin></Button>
 | 
			
		||||
                        <Button id="btSignUp" mnemonicParsing="false" onAction="#changeToSignUp" prefHeight="25.0" prefWidth="101.0" style="-fx-background-color: tranparent;" text="Sign up" textFill="#7c7b7b" underline="true">
 | 
			
		||||
                            <font>
 | 
			
		||||
                                <Font size="15.0" />
 | 
			
		||||
                            </font>
 | 
			
		||||
                            <HBox.margin>
 | 
			
		||||
                                <Insets left="15.0" />
 | 
			
		||||
                            </HBox.margin></Button>
 | 
			
		||||
                    </children>
 | 
			
		||||
                </HBox>
 | 
			
		||||
            </children>
 | 
			
		||||
@@ -64,7 +69,5 @@
 | 
			
		||||
                <Insets bottom="65.0" left="45.0" right="45.0" top="45.0" />
 | 
			
		||||
            </padding>
 | 
			
		||||
        </VBox>
 | 
			
		||||
      <Circle fill="#1469b895" layoutX="133.0" layoutY="368.0" radius="106.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" />
 | 
			
		||||
      <Circle fill="#0088ff82" layoutX="77.0" layoutY="276.0" radius="53.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" />
 | 
			
		||||
    </children>
 | 
			
		||||
</AnchorPane>
 | 
			
		||||
 
 | 
			
		||||
@@ -17,10 +17,9 @@
 | 
			
		||||
                <Font size="28.0" />
 | 
			
		||||
            </font>
 | 
			
		||||
        </Label>
 | 
			
		||||
        <Button id="btLogin" fx: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">
 | 
			
		||||
        <HBox layoutX="220.0" layoutY="87.0" prefHeight="414.0" prefWidth="688.0" stylesheets="@menue.css">
 | 
			
		||||
            <children>
 | 
			
		||||
                <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
 | 
			
		||||
                <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;" styleClass="container">
 | 
			
		||||
                    <children>
 | 
			
		||||
                        <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Montag" textAlignment="CENTER">
 | 
			
		||||
                            <VBox.margin>
 | 
			
		||||
@@ -32,9 +31,12 @@
 | 
			
		||||
                        </Label>
 | 
			
		||||
                        <VBox prefHeight="200.0" prefWidth="100.0">
 | 
			
		||||
                            <children>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Mahlzeit 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Mahlzeit 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" text="Keine Mahlzeit">
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" stylesheets="@menue.css" text="Mahlzeit 1">
 | 
			
		||||
                                    <VBox.margin>
 | 
			
		||||
                                        <Insets />
 | 
			
		||||
                                    </VBox.margin></Button>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" stylesheets="@menue.css" text="Mahlzeit 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoMealMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" stylesheets="@menue.css" text="Keine Mahlzeit">
 | 
			
		||||
                                    <VBox.margin>
 | 
			
		||||
                                        <Insets bottom="20.0" />
 | 
			
		||||
                                    </VBox.margin>
 | 
			
		||||
@@ -43,14 +45,14 @@
 | 
			
		||||
                        </VBox>
 | 
			
		||||
                        <VBox prefHeight="200.0" prefWidth="100.0">
 | 
			
		||||
                            <children>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Dessert 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Dessert 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoDessertMon" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" text="kein Dessert" />
 | 
			
		||||
                            </children>
 | 
			
		||||
                        </VBox>
 | 
			
		||||
                    </children>
 | 
			
		||||
                </VBox>
 | 
			
		||||
                <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
 | 
			
		||||
                <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;" styleClass="container">
 | 
			
		||||
                    <children>
 | 
			
		||||
                        <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Dienstag" textAlignment="CENTER">
 | 
			
		||||
                            <VBox.margin>
 | 
			
		||||
@@ -62,9 +64,9 @@
 | 
			
		||||
                        </Label>
 | 
			
		||||
                        <VBox prefHeight="200.0" prefWidth="100.0">
 | 
			
		||||
                            <children>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Mahlzeit 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Mahlzeit 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoMealTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" text="Keine Mahlzeit">
 | 
			
		||||
                                    <VBox.margin>
 | 
			
		||||
                                        <Insets bottom="20.0" />
 | 
			
		||||
                                    </VBox.margin>
 | 
			
		||||
@@ -73,14 +75,14 @@
 | 
			
		||||
                        </VBox>
 | 
			
		||||
                        <VBox prefHeight="200.0" prefWidth="100.0">
 | 
			
		||||
                            <children>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Dessert 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Dessert 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoDessertTue" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" text="kein Dessert" />
 | 
			
		||||
                            </children>
 | 
			
		||||
                        </VBox>
 | 
			
		||||
                    </children>
 | 
			
		||||
                </VBox>
 | 
			
		||||
                <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
 | 
			
		||||
                <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;" styleClass="container">
 | 
			
		||||
                    <children>
 | 
			
		||||
                        <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Mittwoch" textAlignment="CENTER">
 | 
			
		||||
                            <VBox.margin>
 | 
			
		||||
@@ -92,9 +94,9 @@
 | 
			
		||||
                        </Label>
 | 
			
		||||
                        <VBox prefHeight="200.0" prefWidth="100.0">
 | 
			
		||||
                            <children>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Mahlzeit 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Mahlzeit 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoMealWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" text="Keine Mahlzeit">
 | 
			
		||||
                                    <VBox.margin>
 | 
			
		||||
                                        <Insets bottom="20.0" />
 | 
			
		||||
                                    </VBox.margin>
 | 
			
		||||
@@ -103,14 +105,14 @@
 | 
			
		||||
                        </VBox>
 | 
			
		||||
                        <VBox prefHeight="200.0" prefWidth="100.0">
 | 
			
		||||
                            <children>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Dessert 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Dessert 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoDessertWed" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" text="kein Dessert" />
 | 
			
		||||
                            </children>
 | 
			
		||||
                        </VBox>
 | 
			
		||||
                    </children>
 | 
			
		||||
                </VBox>
 | 
			
		||||
                <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
 | 
			
		||||
                <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;" styleClass="container">
 | 
			
		||||
                    <children>
 | 
			
		||||
                        <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Donnerstag" textAlignment="CENTER">
 | 
			
		||||
                            <VBox.margin>
 | 
			
		||||
@@ -122,9 +124,9 @@
 | 
			
		||||
                        </Label>
 | 
			
		||||
                        <VBox prefHeight="200.0" prefWidth="100.0">
 | 
			
		||||
                            <children>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Mahlzeit 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Mahlzeit 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoMealThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" text="Keine Mahlzeit">
 | 
			
		||||
                                    <VBox.margin>
 | 
			
		||||
                                        <Insets bottom="20.0" />
 | 
			
		||||
                                    </VBox.margin>
 | 
			
		||||
@@ -133,14 +135,14 @@
 | 
			
		||||
                        </VBox>
 | 
			
		||||
                        <VBox prefHeight="200.0" prefWidth="100.0">
 | 
			
		||||
                            <children>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Dessert 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Dessert 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoDessertThu" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" text="kein Dessert" />
 | 
			
		||||
                            </children>
 | 
			
		||||
                        </VBox>
 | 
			
		||||
                    </children>
 | 
			
		||||
                </VBox>
 | 
			
		||||
                <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
 | 
			
		||||
                <VBox prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;" styleClass="container">
 | 
			
		||||
                    <children>
 | 
			
		||||
                        <Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Freitag" textAlignment="CENTER">
 | 
			
		||||
                            <VBox.margin>
 | 
			
		||||
@@ -152,9 +154,9 @@
 | 
			
		||||
                        </Label>
 | 
			
		||||
                        <VBox prefHeight="200.0" prefWidth="100.0">
 | 
			
		||||
                            <children>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Mahlzeit 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="Keine Mahlzeit">
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Mahlzeit 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Mahlzeit 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoMealFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" text="Keine Mahlzeit">
 | 
			
		||||
                                    <VBox.margin>
 | 
			
		||||
                                        <Insets bottom="20.0" />
 | 
			
		||||
                                    </VBox.margin>
 | 
			
		||||
@@ -163,9 +165,9 @@
 | 
			
		||||
                        </VBox>
 | 
			
		||||
                        <VBox prefHeight="200.0" prefWidth="100.0">
 | 
			
		||||
                            <children>
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" text="Dessert 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" text="kein Dessert" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btFirstDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Dessert 1" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btSecondDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="78.0" prefWidth="218.0" styleClass="btFood" text="Dessert 2" />
 | 
			
		||||
                                <Button id="btFoodChoice" fx:id="btNoDessertFri" alignment="CENTER" mnemonicParsing="false" onAction="#setButtonActive" prefHeight="20.0" prefWidth="170.0" styleClass="btFood" text="kein Dessert" />
 | 
			
		||||
                            </children>
 | 
			
		||||
                        </VBox>
 | 
			
		||||
                    </children>
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,6 @@
 | 
			
		||||
    -fx-background-radius: 25;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#btPlaceOrder:hover{
 | 
			
		||||
    -fx-border-width: 0;
 | 
			
		||||
    -fx-text-fill: black;
 | 
			
		||||
@@ -23,14 +22,16 @@
 | 
			
		||||
#cbChooseChild{
 | 
			
		||||
    -fx-background-color: lightgray;
 | 
			
		||||
}
 | 
			
		||||
.btFood{
 | 
			
		||||
    -fx-background-color: transparent;
 | 
			
		||||
 | 
			
		||||
.container{
 | 
			
		||||
    -fx-padding: 10%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.btFood.active{
 | 
			
		||||
    -fx-background-color: rgba(97, 97, 232, 0.3);
 | 
			
		||||
    -fx-background-radius: 25;
 | 
			
		||||
.sidebar-nav_button{
 | 
			
		||||
    -fx-border-width: 0px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.sidebar-nav_button.active {
 | 
			
		||||
    -fx-background-color: #4e92b4;
 | 
			
		||||
    -fx-border-width: 0px;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,70 +1,60 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<?import javafx.geometry.Insets?>
 | 
			
		||||
<?import javafx.geometry.*?>
 | 
			
		||||
<?import javafx.scene.control.*?>
 | 
			
		||||
<?import javafx.scene.image.*?>
 | 
			
		||||
<?import javafx.scene.layout.*?>
 | 
			
		||||
<?import javafx.scene.text.Font?>
 | 
			
		||||
<BorderPane fx:id="contentView" prefHeight="750.0" prefWidth="1200.0" stylesheets="@menue.css"
 | 
			
		||||
            xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1"
 | 
			
		||||
            fx:controller="com.bib.essensbestellungsverwaltung.ParentMenuController">
 | 
			
		||||
<?import javafx.scene.text.*?>
 | 
			
		||||
 | 
			
		||||
<BorderPane fx:id="contentView" prefHeight="750.0" prefWidth="1200.0" stylesheets="@menue.css" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.ParentMenuController">
 | 
			
		||||
    <left>
 | 
			
		||||
        <VBox alignment="TOP_CENTER" prefHeight="750.0" prefWidth="350.0" spacing="10.0"
 | 
			
		||||
              style="-fx-background-color: #69b6ff; -fx-padding: 20;" BorderPane.alignment="CENTER">
 | 
			
		||||
        <VBox alignment="TOP_CENTER" prefHeight="750.0" prefWidth="350.0" spacing="10.0" style="-fx-background-color: #ADD8E6FF; -fx-padding: 20;" BorderPane.alignment="CENTER">
 | 
			
		||||
            <children>
 | 
			
		||||
                <Button fx:id="essensplanButton" alignment="CENTER_LEFT" mnemonicParsing="false"
 | 
			
		||||
                        onMouseClicked="#onEssensplanClick" prefHeight="60.0" prefWidth="250.0"
 | 
			
		||||
                        styleClass="sidebar-nav_button" text="Essensplan">
 | 
			
		||||
                <Button fx:id="essensplanButton" alignment="CENTER_LEFT" mnemonicParsing="false" onMouseClicked="#onEssensplanClick" prefHeight="60.0" prefWidth="250.0" styleClass="sidebar-nav_button" text="Essensplan">
 | 
			
		||||
                    <font>
 | 
			
		||||
                        <Font size="20.0"/>
 | 
			
		||||
                        <Font size="20.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                    <graphic>
 | 
			
		||||
                        <ImageView fitHeight="35.0" fitWidth="35.0" pickOnBounds="true" preserveRatio="true">
 | 
			
		||||
                            <image>
 | 
			
		||||
                                <Image url="@pics/menu.png"/>
 | 
			
		||||
                                <Image url="@pics/menu.png" />
 | 
			
		||||
                            </image>
 | 
			
		||||
                        </ImageView>
 | 
			
		||||
                    </graphic>
 | 
			
		||||
                </Button>
 | 
			
		||||
                <Button fx:id="kinderButton" alignment="CENTER_LEFT" mnemonicParsing="false"
 | 
			
		||||
                        onMouseClicked="#onKinderClick" prefHeight="60.0" prefWidth="250.0"
 | 
			
		||||
                        styleClass="sidebar-nav_button" text="Kinder">
 | 
			
		||||
                <Button fx:id="kinderButton" alignment="CENTER_LEFT" mnemonicParsing="false" onMouseClicked="#onKinderClick" prefHeight="60.0" prefWidth="250.0" styleClass="sidebar-nav_button" text="Kinder">
 | 
			
		||||
                    <font>
 | 
			
		||||
                        <Font size="20.0"/>
 | 
			
		||||
                        <Font size="20.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                    <graphic>
 | 
			
		||||
                        <ImageView fitHeight="35.0" fitWidth="35.0" pickOnBounds="true" preserveRatio="true">
 | 
			
		||||
                            <image>
 | 
			
		||||
                                <Image url="@pics/little-kid.png"/>
 | 
			
		||||
                                <Image url="@pics/little-kid.png" />
 | 
			
		||||
                            </image>
 | 
			
		||||
                        </ImageView>
 | 
			
		||||
                    </graphic>
 | 
			
		||||
                </Button>
 | 
			
		||||
                <Button fx:id="bestellungButton" alignment="CENTER_LEFT" mnemonicParsing="false"
 | 
			
		||||
                        onMouseClicked="#onBestellungClick" prefHeight="60.0" prefWidth="250.0"
 | 
			
		||||
                        styleClass="sidebar-nav_button" text="Bestellung">
 | 
			
		||||
                <Button fx:id="bestellungButton" alignment="CENTER_LEFT" mnemonicParsing="false" onMouseClicked="#onBestellungClick" prefHeight="60.0" prefWidth="250.0" styleClass="sidebar-nav_button" text="Bestellung">
 | 
			
		||||
                    <font>
 | 
			
		||||
                        <Font size="20.0"/>
 | 
			
		||||
                        <Font size="20.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                    <graphic>
 | 
			
		||||
                        <ImageView fitHeight="35.0" fitWidth="35.0" pickOnBounds="true" preserveRatio="true">
 | 
			
		||||
                            <image>
 | 
			
		||||
                                <Image url="@pics/shopping-list.png"/>
 | 
			
		||||
                                <Image url="@pics/shopping-list.png" />
 | 
			
		||||
                            </image>
 | 
			
		||||
                        </ImageView>
 | 
			
		||||
                    </graphic>
 | 
			
		||||
                </Button>
 | 
			
		||||
                <Region VBox.vgrow="ALWAYS"/>
 | 
			
		||||
                <Button fx:id="einstellungenButton" alignment="CENTER_LEFT" layoutX="10.0" layoutY="130.0"
 | 
			
		||||
                        mnemonicParsing="false" onMouseClicked="#onEinstellungenClick" prefHeight="60.0"
 | 
			
		||||
                        prefWidth="250.0" styleClass="sidebar-nav_button" text="Einstellungen">
 | 
			
		||||
                <Region VBox.vgrow="ALWAYS" />
 | 
			
		||||
                <Button fx:id="einstellungenButton" alignment="CENTER_LEFT" layoutX="10.0" layoutY="130.0" mnemonicParsing="false" onMouseClicked="#onEinstellungenClick" prefHeight="60.0" prefWidth="250.0" styleClass="sidebar-nav_button" text="Einstellungen">
 | 
			
		||||
                    <font>
 | 
			
		||||
                        <Font size="20.0"/>
 | 
			
		||||
                        <Font size="20.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                    <graphic>
 | 
			
		||||
                        <ImageView fitHeight="35.0" fitWidth="35.0" pickOnBounds="true" preserveRatio="true">
 | 
			
		||||
                            <image>
 | 
			
		||||
                                <Image url="@pics/setting.png"/>
 | 
			
		||||
                                <Image url="@pics/setting.png" />
 | 
			
		||||
                            </image>
 | 
			
		||||
                        </ImageView>
 | 
			
		||||
                    </graphic>
 | 
			
		||||
@@ -73,22 +63,20 @@
 | 
			
		||||
        </VBox>
 | 
			
		||||
    </left>
 | 
			
		||||
    <top>
 | 
			
		||||
        <HBox alignment="CENTER_RIGHT" prefHeight="50.0" prefWidth="1200.0" style="-fx-background-color: #69b6ff;"
 | 
			
		||||
              BorderPane.alignment="CENTER">
 | 
			
		||||
        <HBox alignment="CENTER_RIGHT" prefHeight="50.0" prefWidth="1200.0" style="-fx-background-color: #ADD8E6FF;" BorderPane.alignment="CENTER">
 | 
			
		||||
            <children>
 | 
			
		||||
                <Button mnemonicParsing="false" onMouseClicked="#onAusloggenClick" styleClass="sidebar-nav_button"
 | 
			
		||||
                        text="Ausloggen">
 | 
			
		||||
                <Button mnemonicParsing="false" onMouseClicked="#onAusloggenClick" styleClass="sidebar-nav_button" text="Ausloggen">
 | 
			
		||||
                    <opaqueInsets>
 | 
			
		||||
                        <Insets/>
 | 
			
		||||
                        <Insets />
 | 
			
		||||
                    </opaqueInsets>
 | 
			
		||||
                </Button>
 | 
			
		||||
            </children>
 | 
			
		||||
            <padding>
 | 
			
		||||
                <Insets right="20.0"/>
 | 
			
		||||
                <Insets right="20.0" />
 | 
			
		||||
            </padding>
 | 
			
		||||
        </HBox>
 | 
			
		||||
    </top>
 | 
			
		||||
    <center>
 | 
			
		||||
        <AnchorPane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER"/>
 | 
			
		||||
        <AnchorPane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER" />
 | 
			
		||||
    </center>
 | 
			
		||||
</BorderPane>
 | 
			
		||||
 
 | 
			
		||||
@@ -8,46 +8,30 @@
 | 
			
		||||
<?import javafx.scene.layout.AnchorPane?>
 | 
			
		||||
<?import javafx.scene.layout.HBox?>
 | 
			
		||||
<?import javafx.scene.layout.VBox?>
 | 
			
		||||
<?import javafx.scene.shape.Circle?>
 | 
			
		||||
<?import javafx.scene.text.Font?>
 | 
			
		||||
<?import javafx.scene.text.Text?>
 | 
			
		||||
 | 
			
		||||
<AnchorPane maxHeight="-400" maxWidth="-600" minHeight="-400" minWidth="-600" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.SingUpController">
 | 
			
		||||
<AnchorPane maxHeight="750.0" maxWidth="1200.0" minHeight="750.0" minWidth="1200.0" prefHeight="750.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.SingUpController">
 | 
			
		||||
    <children>
 | 
			
		||||
        <VBox alignment="CENTER" prefHeight="400.0" prefWidth="265.0" style="-fx-background-color: lightblue;">
 | 
			
		||||
        <VBox layoutX="400.0" prefHeight="750.0" prefWidth="800.0" style="-fx-background-color: white;">
 | 
			
		||||
            <children>
 | 
			
		||||
                <Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="Essensbestellung">
 | 
			
		||||
                    <font>
 | 
			
		||||
                        <Font name="Yu Gothic Light" size="26.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                </Text>
 | 
			
		||||
            </children>
 | 
			
		||||
            <padding>
 | 
			
		||||
                <Insets bottom="150.0" />
 | 
			
		||||
            </padding>
 | 
			
		||||
        </VBox>
 | 
			
		||||
        <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="#93c4f23d" layoutY="258.0" radius="106.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" />
 | 
			
		||||
        <VBox layoutX="262.0" prefHeight="400.0" prefWidth="364.0" style="-fx-background-color: white;">
 | 
			
		||||
            <children>
 | 
			
		||||
                <TextField fx:id="tfName" 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;">
 | 
			
		||||
                <TextField fx:id="tfLastName" 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>
 | 
			
		||||
                        <Blend />
 | 
			
		||||
                    </effect>
 | 
			
		||||
                    <font>
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="12.0" />
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="20.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                    <VBox.margin>
 | 
			
		||||
                        <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
 | 
			
		||||
                    </VBox.margin>
 | 
			
		||||
                </TextField>
 | 
			
		||||
                <TextField fx:id="tfVorname" promptText="Vorname" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
 | 
			
		||||
                <TextField fx:id="tfFirstName" promptText="Vorname" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
 | 
			
		||||
                    <effect>
 | 
			
		||||
                        <Blend />
 | 
			
		||||
                    </effect>
 | 
			
		||||
                    <font>
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="12.0" />
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="20.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                    <VBox.margin>
 | 
			
		||||
                        <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
 | 
			
		||||
@@ -58,15 +42,15 @@
 | 
			
		||||
                        <Blend />
 | 
			
		||||
                    </effect>
 | 
			
		||||
                    <font>
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="12.0" />
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="20.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                    <VBox.margin>
 | 
			
		||||
                        <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
 | 
			
		||||
                    </VBox.margin>
 | 
			
		||||
                </TextField>
 | 
			
		||||
                <PasswordField fx:id="pfPasswort" accessibleRole="TEXT_FIELD" promptText="Passwort" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
 | 
			
		||||
                <PasswordField fx:id="pfPassword" accessibleRole="TEXT_FIELD" promptText="Passwort" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
 | 
			
		||||
                    <font>
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="12.0" />
 | 
			
		||||
                        <Font name="Microsoft Tai Le Bold" size="20.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                    <opaqueInsets>
 | 
			
		||||
                        <Insets />
 | 
			
		||||
@@ -80,51 +64,60 @@
 | 
			
		||||
                </PasswordField>
 | 
			
		||||
                <HBox prefHeight="100.0" prefWidth="200.0">
 | 
			
		||||
                    <children>
 | 
			
		||||
                        <TextField  fx:id="tfPLZ" prefHeight="35.0" prefWidth="92.0" promptText="PLZ" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
 | 
			
		||||
                        <TextField fx:id="tfPostCode" 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 name="Microsoft Tai Le Bold" size="20.0" />
 | 
			
		||||
                            </font>
 | 
			
		||||
                        </TextField>
 | 
			
		||||
                        <TextField fx:id="tfStadt" prefHeight="35.0" prefWidth="182.0" promptText="Stadt" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
 | 
			
		||||
                        <TextField fx:id="tfCity" 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 name="Microsoft Tai Le Bold" size="20.0" />
 | 
			
		||||
                            </font>
 | 
			
		||||
                        </TextField>
 | 
			
		||||
                    </children>
 | 
			
		||||
                </HBox>
 | 
			
		||||
                <HBox prefHeight="100.0" prefWidth="200.0">
 | 
			
		||||
                    <children>
 | 
			
		||||
                        <TextField  fx:id="tfStrasse" 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;">
 | 
			
		||||
                        <TextField fx:id="tfStreet" 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 name="Microsoft Tai Le Bold" size="20.0" />
 | 
			
		||||
                            </font>
 | 
			
		||||
                        </TextField>
 | 
			
		||||
                        <TextField  fx:id="tfHausnummer" prefHeight="27.0" prefWidth="99.0" promptText="Hausnummer" style="-fx-background-color: transparent; -fx-border-color: lightgray; -fx-border-width: 0 0 1 0;">
 | 
			
		||||
                        <TextField fx:id="tfHouseNumber" prefHeight="43.0" prefWidth="155.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 name="Microsoft Tai Le Bold" size="20.0" />
 | 
			
		||||
                            </font>
 | 
			
		||||
                        </TextField>
 | 
			
		||||
                    </children>
 | 
			
		||||
                </HBox>
 | 
			
		||||
                <HBox alignment="CENTER" prefHeight="30.0" prefWidth="238.0">
 | 
			
		||||
                    <children>
 | 
			
		||||
                        <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">
 | 
			
		||||
                        <Button mnemonicParsing="false" onAction="#onKontoErstellenBtClick" prefHeight="48.0" prefWidth="137.0" style="-fx-background-radius: 25; -fx-background-color: lightblue;" text="Konto erstellen" textFill="WHITE">
 | 
			
		||||
                            <font>
 | 
			
		||||
                                <Font name="Microsoft Tai Le Bold" size="12.0" />
 | 
			
		||||
                            </font></Button>
 | 
			
		||||
                        <Button id="btSignUp" mnemonicParsing="false" onAction="#onAnmeldenBtClick" prefHeight="25.0" prefWidth="101.0" style="-fx-background-color: tranparent;" text="Anmelden" textFill="#7c7b7b" underline="true" />
 | 
			
		||||
                                <Font name="Microsoft Tai Le Bold" size="15.0" />
 | 
			
		||||
                            </font>
 | 
			
		||||
                            <HBox.margin>
 | 
			
		||||
                                <Insets right="15.0" />
 | 
			
		||||
                            </HBox.margin></Button>
 | 
			
		||||
                        <Button id="btSignUp" mnemonicParsing="false" onAction="#onAnmeldenBtClick" prefHeight="25.0" prefWidth="101.0" style="-fx-background-color: tranparent;" text="Anmelden" textFill="#7c7b7b" underline="true">
 | 
			
		||||
                            <font>
 | 
			
		||||
                                <Font size="15.0" />
 | 
			
		||||
                            </font>
 | 
			
		||||
                            <HBox.margin>
 | 
			
		||||
                                <Insets left="15.0" />
 | 
			
		||||
                            </HBox.margin></Button>
 | 
			
		||||
                    </children>
 | 
			
		||||
                    <opaqueInsets>
 | 
			
		||||
                        <Insets top="15.0" />
 | 
			
		||||
@@ -135,10 +128,20 @@
 | 
			
		||||
                </HBox>
 | 
			
		||||
            </children>
 | 
			
		||||
            <padding>
 | 
			
		||||
                <Insets bottom="65.0" left="45.0" right="45.0" top="45.0" />
 | 
			
		||||
                <Insets bottom="65.0" left="45.0" right="45.0" top="150.0" />
 | 
			
		||||
            </padding>
 | 
			
		||||
        </VBox>
 | 
			
		||||
        <VBox alignment="CENTER" prefHeight="750.0" prefWidth="400.0" style="-fx-background-color: lightblue;">
 | 
			
		||||
            <children>
 | 
			
		||||
                <Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="Essensbestellung">
 | 
			
		||||
                    <font>
 | 
			
		||||
                        <Font name="Yu Gothic Light" size="35.0" />
 | 
			
		||||
                    </font>
 | 
			
		||||
                </Text>
 | 
			
		||||
            </children>
 | 
			
		||||
            <padding>
 | 
			
		||||
                <Insets bottom="150.0" />
 | 
			
		||||
            </padding>
 | 
			
		||||
        </VBox>
 | 
			
		||||
        <Circle fill="#1469b895" layoutX="133.0" layoutY="368.0" radius="106.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" />
 | 
			
		||||
        <Circle fill="#0088ff82" layoutX="77.0" layoutY="276.0" radius="53.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="0.0" />
 | 
			
		||||
    </children>
 | 
			
		||||
</AnchorPane>
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@
 | 
			
		||||
 | 
			
		||||
<BorderPane fx:id="contentView" prefHeight="750.0" prefWidth="1200.0" stylesheets="@menue.css" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.WorkerMenuController">
 | 
			
		||||
    <left>
 | 
			
		||||
        <VBox alignment="TOP_CENTER" prefHeight="750.0" prefWidth="350.0" spacing="10.0" style="-fx-background-color: #69b6ff; -fx-padding: 20;" BorderPane.alignment="CENTER">
 | 
			
		||||
        <VBox alignment="TOP_CENTER" prefHeight="750.0" prefWidth="350.0" spacing="10.0" style="-fx-background-color: #ADD8E6FF; -fx-padding: 20;" BorderPane.alignment="CENTER">
 | 
			
		||||
            <children>
 | 
			
		||||
                <Button fx:id="tagesbestellungButton" alignment="CENTER_LEFT" mnemonicParsing="false" onMouseClicked="#onTagesbestellungenClick" prefHeight="60.0" prefWidth="250.0" styleClass="sidebar-nav_button" text="Tagesbestellung">
 | 
			
		||||
                    <font>
 | 
			
		||||
@@ -94,7 +94,7 @@
 | 
			
		||||
        </VBox>
 | 
			
		||||
    </left>
 | 
			
		||||
    <top>
 | 
			
		||||
        <HBox alignment="CENTER_RIGHT" prefHeight="50.0" prefWidth="1200.0" style="-fx-background-color: #69b6ff;" BorderPane.alignment="CENTER">
 | 
			
		||||
        <HBox alignment="CENTER_RIGHT" prefHeight="50.0" prefWidth="1200.0" style="-fx-background-color: #ADD8E6FF;" BorderPane.alignment="CENTER">
 | 
			
		||||
            <children>
 | 
			
		||||
                <Button mnemonicParsing="false" onMouseClicked="#onAusloggenClick" styleClass="sidebar-nav_button" text="Ausloggen">
 | 
			
		||||
                    <opaqueInsets>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user