Views erstellt
This commit is contained in:
parent
a7bcaf13ce
commit
dd69909b16
@ -1,14 +1,156 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import java.lang.*?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import java.util.*?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.*?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.control.TextField?>
|
||||||
<?import javafx.scene.layout.*?>
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
|
<?import javafx.scene.layout.HBox?>
|
||||||
<AnchorPane xmlns="http://javafx.com/javafx"
|
<?import javafx.scene.layout.VBox?>
|
||||||
xmlns:fx="http://javafx.com/fxml"
|
<?import javafx.scene.text.Font?>
|
||||||
fx:controller="com.bib.essensbestellungsverwaltung.AdminController"
|
|
||||||
prefHeight="400.0" prefWidth="600.0">
|
|
||||||
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="479.0" prefWidth="719.0" stylesheets="@createCoworker.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
|
<children>
|
||||||
|
<Label layoutX="301.0" layoutY="49.0" />
|
||||||
|
<Label layoutX="230.0" layoutY="30.0" prefHeight="28.0" prefWidth="220.0" text="Mitarbeiter hinzufügen">
|
||||||
|
<font>
|
||||||
|
<Font size="18.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
<VBox layoutX="119.0" layoutY="95.0" prefHeight="317.0" prefWidth="331.0">
|
||||||
|
<children>
|
||||||
|
<HBox prefHeight="43.0" prefWidth="331.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="17.0" prefWidth="116.0" text="Nachname">
|
||||||
|
<font>
|
||||||
|
<Font size="16.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
<TextField prefHeight="25.0" prefWidth="194.0" />
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="60.0" prefWidth="331.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="35.0" prefWidth="118.0" text="Vorname">
|
||||||
|
<padding>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</padding>
|
||||||
|
<font>
|
||||||
|
<Font size="16.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
<TextField prefHeight="25.0" prefWidth="193.0">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</TextField>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="100.0" prefWidth="200.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="35.0" prefWidth="116.0" text="Straße">
|
||||||
|
<font>
|
||||||
|
<Font size="16.0" />
|
||||||
|
</font>
|
||||||
|
<padding>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</padding>
|
||||||
|
</Label>
|
||||||
|
<TextField prefHeight="25.0" prefWidth="195.0">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</TextField>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="100.0" prefWidth="200.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="25.0" prefWidth="118.0" text="Hausnummer">
|
||||||
|
<font>
|
||||||
|
<Font size="16.0" />
|
||||||
|
</font>
|
||||||
|
<padding>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</padding>
|
||||||
|
</Label>
|
||||||
|
<TextField prefHeight="25.0" prefWidth="87.0">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</TextField>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="24.0" prefWidth="331.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="25.0" prefWidth="118.0" text="PLZ">
|
||||||
|
<font>
|
||||||
|
<Font size="16.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
<TextField prefHeight="25.0" prefWidth="87.0">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets />
|
||||||
|
</HBox.margin>
|
||||||
|
</TextField>
|
||||||
|
</children>
|
||||||
|
<padding>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</padding>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="100.0" prefWidth="200.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="35.0" prefWidth="120.0" text="Stadt">
|
||||||
|
<font>
|
||||||
|
<Font size="16.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
<TextField prefHeight="13.0" prefWidth="194.0">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</TextField>
|
||||||
|
</children>
|
||||||
|
<padding>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</padding>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="100.0" prefWidth="200.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="35.0" prefWidth="117.0" text="Email">
|
||||||
|
<font>
|
||||||
|
<Font size="16.0" />
|
||||||
|
</font>
|
||||||
|
<padding>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</padding>
|
||||||
|
</Label>
|
||||||
|
<TextField prefHeight="25.0" prefWidth="196.0">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</TextField>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="100.0" prefWidth="200.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="35.0" prefWidth="122.0" text="Passwort">
|
||||||
|
<font>
|
||||||
|
<Font size="16.0" />
|
||||||
|
</font>
|
||||||
|
<padding>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</padding>
|
||||||
|
</Label>
|
||||||
|
<TextField prefHeight="25.0" prefWidth="194.0">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="10.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</TextField>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
</children>
|
||||||
|
</VBox>
|
||||||
|
<Button id="btCreateCoworker" layoutX="119.0" layoutY="412.0" mnemonicParsing="false" prefHeight="44.0" prefWidth="158.0" text="Mitarbeiter hinzufügen" />
|
||||||
|
<Button id="btCancelCoworker" layoutX="357.0" layoutY="412.0" mnemonicParsing="false" prefHeight="44.0" prefWidth="158.0" text="Abbrechen" />
|
||||||
|
</children>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
#btCreateCoworker {
|
||||||
|
-fx-background-color: lightblue;
|
||||||
|
-fx-text-fill: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#btCreateCoworker:hover{
|
||||||
|
-fx-underline: true;
|
||||||
|
-fx-text-fill: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#btCancelCoworker{
|
||||||
|
-fx-background-color: transparent;
|
||||||
|
-fx-underline: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
#btCancelCoworker:hover{
|
||||||
|
-fx-text-fill: lightblue;
|
||||||
|
}
|
@ -1,14 +1,102 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import java.lang.*?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import java.util.*?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.*?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.control.RadioButton?>
|
||||||
<?import javafx.scene.layout.*?>
|
<?import javafx.scene.control.TextArea?>
|
||||||
|
<?import javafx.scene.control.TextField?>
|
||||||
<AnchorPane xmlns="http://javafx.com/javafx"
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
xmlns:fx="http://javafx.com/fxml"
|
<?import javafx.scene.layout.HBox?>
|
||||||
fx:controller="com.bib.essensbestellungsverwaltung.AdminController"
|
<?import javafx.scene.layout.VBox?>
|
||||||
prefHeight="400.0" prefWidth="600.0">
|
<?import javafx.scene.text.Font?>
|
||||||
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="521.0" prefWidth="731.0" stylesheets="@createFood.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
|
<children>
|
||||||
|
<Label alignment="CENTER" layoutX="234.0" layoutY="29.0" prefHeight="44.0" prefWidth="237.0" text="Gericht hinzufügen">
|
||||||
|
<font>
|
||||||
|
<Font size="18.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
<VBox layoutX="112.0" layoutY="73.0" prefHeight="389.0" prefWidth="459.0">
|
||||||
|
<children>
|
||||||
|
<HBox prefHeight="75.0" prefWidth="459.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="33.0" prefWidth="121.0" text="Name des Gerichts" />
|
||||||
|
<TextField prefHeight="25.0" prefWidth="290.0">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</TextField>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="75.0" prefWidth="459.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="33.0" prefWidth="121.0" text="Beschreibung" />
|
||||||
|
<TextArea prefHeight="75.0" prefWidth="290.0" />
|
||||||
|
</children>
|
||||||
|
<padding>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</padding>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="75.0" prefWidth="459.0">
|
||||||
|
<children>
|
||||||
|
<Label text="Art des Gerichts">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="20.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</Label>
|
||||||
|
<RadioButton mnemonicParsing="false" text="Dessert">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets left="35.0" top="20.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</RadioButton>
|
||||||
|
<RadioButton mnemonicParsing="false" text="Kein Dessert">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets left="50.0" top="20.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</RadioButton>
|
||||||
|
</children>
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets />
|
||||||
|
</VBox.margin>
|
||||||
|
<padding>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</padding>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="75.0" prefWidth="459.0">
|
||||||
|
<children>
|
||||||
|
<Label text="Typ">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="20.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</Label>
|
||||||
|
<RadioButton mnemonicParsing="false" prefHeight="17.0" prefWidth="91.0" text="Vegetarisch">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets left="100.0" top="20.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</RadioButton>
|
||||||
|
<RadioButton mnemonicParsing="false" text="Vegan">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets left="20.0" top="20.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</RadioButton>
|
||||||
|
<RadioButton mnemonicParsing="false" text="Fleisch">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets left="40.0" top="20.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</RadioButton>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="76.0" prefWidth="459.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="41.0" prefWidth="171.0" text="Allergien mit Komma getrennt" />
|
||||||
|
<TextArea prefHeight="76.0" prefWidth="246.0" />
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
</children>
|
||||||
|
</VBox>
|
||||||
|
<Button id="btCreateFood" layoutX="106.0" layoutY="457.0" mnemonicParsing="false" prefHeight="50.0" prefWidth="145.0" text="Hinzufügen" />
|
||||||
|
<Button id="btCancelFood" layoutX="366.0" layoutY="457.0" mnemonicParsing="false" prefHeight="50.0" prefWidth="162.0" text="Abbrechen" />
|
||||||
|
</children>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
#btCreateFood {
|
||||||
|
-fx-background-color: lightblue;
|
||||||
|
-fx-text-fill: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#btCreateFood:hover{
|
||||||
|
-fx-underline: true;
|
||||||
|
-fx-text-fill: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#btCancelFood{
|
||||||
|
-fx-background-color: transparent;
|
||||||
|
-fx-underline: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
#btCancelFood:hover{
|
||||||
|
-fx-text-fill: lightblue;
|
||||||
|
}
|
@ -1,14 +1,87 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import java.lang.*?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import java.util.*?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.*?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.control.TextField?>
|
||||||
<?import javafx.scene.layout.*?>
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
|
<?import javafx.scene.layout.HBox?>
|
||||||
<AnchorPane xmlns="http://javafx.com/javafx"
|
<?import javafx.scene.layout.VBox?>
|
||||||
xmlns:fx="http://javafx.com/fxml"
|
<?import javafx.scene.text.Font?>
|
||||||
fx:controller="com.bib.essensbestellungsverwaltung.AdminController"
|
|
||||||
prefHeight="400.0" prefWidth="600.0">
|
|
||||||
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="599.0" prefWidth="900.0" stylesheets="@createFoodplan.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
|
<children>
|
||||||
|
<Label layoutX="359.0" layoutY="36.0" text="Essensplan erstellen">
|
||||||
|
<font>
|
||||||
|
<Font size="18.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
<VBox layoutX="134.0" layoutY="124.0" prefHeight="327.0" prefWidth="632.0">
|
||||||
|
<children>
|
||||||
|
<HBox prefHeight="50.0" prefWidth="632.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="17.0" prefWidth="133.0" text="Datum JJJJ-MMM-TT">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</Label>
|
||||||
|
<TextField />
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="50.0" prefWidth="632.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="17.0" prefWidth="133.0" text="Veganes Hauptgericht">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</Label>
|
||||||
|
<TextField>
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets />
|
||||||
|
</HBox.margin>
|
||||||
|
</TextField>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="50.0" prefWidth="632.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="17.0" prefWidth="133.0" text="Zweites Hauptgericht">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</Label>
|
||||||
|
<TextField>
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets />
|
||||||
|
</HBox.margin>
|
||||||
|
</TextField>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="50.0" prefWidth="632.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="17.0" prefWidth="133.0" text="Veganes Dessert">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets />
|
||||||
|
</HBox.margin>
|
||||||
|
<padding>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</padding>
|
||||||
|
</Label>
|
||||||
|
<TextField />
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox prefHeight="50.0" prefWidth="632.0">
|
||||||
|
<children>
|
||||||
|
<Label prefHeight="17.0" prefWidth="133.0" text="Zweites Dessert">
|
||||||
|
<padding>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</padding>
|
||||||
|
</Label>
|
||||||
|
<TextField />
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
</children>
|
||||||
|
</VBox>
|
||||||
|
<Button id="btCreateFoodplan" layoutX="112.0" layoutY="427.0" mnemonicParsing="false" prefHeight="68.0" prefWidth="133.0" text="Plan erstellen" />
|
||||||
|
<Button id="btCancelFoodplan" layoutX="299.0" layoutY="427.0" mnemonicParsing="false" prefHeight="68.0" prefWidth="133.0" text="Abbrechen" />
|
||||||
|
</children>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
#btCreateFoodplan {
|
||||||
|
-fx-background-color: lightblue;
|
||||||
|
-fx-text-fill: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#btCreateFoodplan:hover{
|
||||||
|
-fx-underline: true;
|
||||||
|
-fx-text-fill: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#btCancelFoodplan{
|
||||||
|
-fx-background-color: transparent;
|
||||||
|
-fx-underline: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
#btCancelFoodplan:hover{
|
||||||
|
-fx-text-fill: lightblue;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user