57 lines
2.7 KiB
XML
57 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import de.jensd.fx.glyphs.icons525.Icons525View?>
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.PasswordField?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
<HBox alignment="CENTER" prefHeight="600.0" prefWidth="1000.0" stylesheets="@Login.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.demo3.AdminLoginController">
|
|
<children>
|
|
<VBox alignment="CENTER" prefHeight="600.0" prefWidth="300.0" styleClass="left-form" stylesheets="@Login.css" HBox.hgrow="ALWAYS">
|
|
<children>
|
|
<Icons525View glyphName="USER" size="100" text="" />
|
|
<Label styleClass="label-form" stylesheets="@Login.css" text="Delivery Planner">
|
|
<font>
|
|
<Font name="System Bold" size="23.0" />
|
|
</font>
|
|
</Label>
|
|
<Label styleClass="label-form" stylesheets="@Login.css" text="Admin">
|
|
<font>
|
|
<Font name="System Bold" size="20.0" />
|
|
</font>
|
|
</Label>
|
|
<Label styleClass="label-form" stylesheets="@Login.css" text="Console">
|
|
<font>
|
|
<Font name="System Bold" size="20.0" />
|
|
</font>
|
|
</Label>
|
|
</children>
|
|
</VBox>
|
|
<VBox alignment="CENTER" prefHeight="600.0" prefWidth="500.0" spacing="20.0" styleClass="right-form" stylesheets="@Login.css" HBox.hgrow="ALWAYS">
|
|
<children>
|
|
<Label styleClass="label-form" stylesheets="@Login.css" text="Welcome Back!">
|
|
<font>
|
|
<Font name="System Bold" size="30.0" />
|
|
</font>
|
|
</Label>
|
|
<Label fx:id="errorField" textFill="RED" />
|
|
<TextField fx:id="email" maxWidth="200.0" prefHeight="34.0" prefWidth="149.0" promptText="email" />
|
|
<PasswordField fx:id="password" maxWidth="200.0" prefHeight="34.0" prefWidth="149.0" promptText="password" />
|
|
<Button fx:id="loginBtn" maxWidth="200.0" mnemonicParsing="false" prefHeight="34.0" prefWidth="149.0" styleClass="label-form" text="login">
|
|
<font>
|
|
<Font name="System Bold" size="12.0" />
|
|
</font>
|
|
</Button>
|
|
</children>
|
|
<padding>
|
|
<Insets left="30.0" right="30.0" />
|
|
</padding>
|
|
</VBox>
|
|
</children>
|
|
</HBox>
|