Compare commits
No commits in common. "7b7889fee4651a51973df48f4502ab41b9e9c3a2" and "a03a29426016cc4b2af579892eb8a20cebfed2e4" have entirely different histories.
7b7889fee4
...
a03a294260
@ -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(), 1200, 750);
|
||||
Scene scene = new Scene(fxmlLoader.load(), 1300, 750);
|
||||
primary = stage;
|
||||
stage.setTitle("Essen Bestellung im Kindergarten");
|
||||
stage.setScene(scene);
|
||||
|
@ -8,66 +8,63 @@
|
||||
<?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="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="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>
|
||||
<VBox alignment="CENTER" layoutX="400.0" prefHeight="750.0" prefWidth="900.0" style="-fx-background-color: white;">
|
||||
<children>
|
||||
<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>
|
||||
<effect>
|
||||
<Blend />
|
||||
</effect>
|
||||
<font>
|
||||
<Font name="Microsoft Tai Le Bold" size="20.0" />
|
||||
</font>
|
||||
</TextField>
|
||||
<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="20.0" />
|
||||
</font>
|
||||
</PasswordField>
|
||||
<HBox alignment="CENTER" prefHeight="30.0" prefWidth="238.0">
|
||||
<children>
|
||||
<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="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>
|
||||
<padding>
|
||||
<Insets bottom="65.0" left="45.0" right="45.0" top="45.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
</children>
|
||||
<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">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="400.0" prefWidth="265.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>
|
||||
</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 alignment="CENTER" layoutX="263.0" prefHeight="400.0" prefWidth="338.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">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="25.0" right="25.0" top="25.0" />
|
||||
</VBox.margin>
|
||||
<effect>
|
||||
<Blend />
|
||||
</effect>
|
||||
<font>
|
||||
<Font name="Microsoft Tai Le" size="12.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">
|
||||
<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>
|
||||
</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">
|
||||
<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" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<padding>
|
||||
<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>
|
||||
|
@ -174,7 +174,7 @@
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<Button id="btPlaceOrder" fx:id="btSaveOrder" layoutX="379.0" layoutY="527.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="150.0" text="Bestellung abschicken" />
|
||||
<Button id="btPlaceOrder" fx:id="btSaveOrder" layoutX="379.0" layoutY="527.0" mnemonicParsing="false" onAction="#placeOrder" prefHeight="40.0" prefWidth="150.0" text="Bestellung abschicken" />
|
||||
<ComboBox id="cbChooseChild" fx:id="cbPickChild" layoutX="29.0" layoutY="34.0" prefWidth="150.0" promptText="Wähle Kind" stylesheets="@menue.css" />
|
||||
<ListView id="lvShowDescription" fx:id="lvFoodInfo" layoutX="20.0" layoutY="115.0" prefHeight="370.0" prefWidth="200.0" />
|
||||
</children>
|
||||
|
Loading…
Reference in New Issue
Block a user