Essensbestellungsverwaltung/src/main/resources/com/bib/essensbestellungsverwaltung/login-view.fxml

74 lines
3.7 KiB
Plaintext
Raw Permalink Normal View History

2023-01-16 18:06:54 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.PasswordField?>
<?import javafx.scene.control.TextField?>
2023-01-16 23:09:16 +01:00
<?import javafx.scene.effect.Blend?>
2023-01-16 18:06:54 +01:00
<?import javafx.scene.layout.AnchorPane?>
2023-01-16 23:09:16 +01:00
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
2023-01-16 18:06:54 +01:00
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="750.0" prefWidth="1300.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>
2023-01-16 23:09:16 +01:00
</AnchorPane>