Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import java.lang.*?>
- <?import javafx.geometry.*?>
- <?import javafx.scene.control.*?>
- <?import javafx.scene.layout.*?>
- <?import javafx.scene.text.*?>
- <?import javafx.geometry.Insets?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.ChoiceBox?>
- <?import javafx.scene.control.Label?>
- <?import javafx.scene.control.PasswordField?>
- <?import javafx.scene.control.TextField?>
- <?import javafx.scene.layout.HBox?>
- <?import javafx.scene.layout.StackPane?>
- <?import javafx.scene.layout.VBox?>
- <?import javafx.scene.text.Font?>
- <?import javafx.scene.text.Text?>
- <StackPane xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
- <children>
- <HBox id="root" alignment="CENTER" fillHeight="false" maxHeight="400.0" maxWidth="550.0" minHeight="400.0" minWidth="550.0" prefHeight="400.0" prefWidth="550.0" spacing="20.0" styleClass="root">
- <children>
- <VBox alignment="CENTER">
- <children>
- <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Yuconz Employment Record System" textAlignment="CENTER" wrappingWidth="198.13671875" HBox.hgrow="ALWAYS">
- <font>
- <Font name="System Bold" size="20.0" />
- </font>
- </Text>
- </children>
- </VBox>
- <VBox alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="272.0" HBox.hgrow="ALWAYS">
- <children>
- <VBox>
- <children>
- <HBox>
- <children>
- <Label fx:id="UsernameLabel" text="Username:" />
- </children>
- <padding>
- <Insets bottom="10.0" top="10.0" />
- </padding>
- </HBox>
- <HBox>
- <children>
- <TextField fx:id="Username" maxWidth="400.0" promptText="Username" HBox.hgrow="SOMETIMES" />
- </children>
- </HBox>
- </children>
- <VBox.margin>
- <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
- </VBox.margin>
- </VBox>
- <VBox>
- <children>
- <HBox layoutX="10.0" layoutY="159.0">
- <children>
- <Label fx:id="PasswordLabel" text="Password:" />
- </children>
- <padding>
- <Insets bottom="10.0" top="10.0" />
- </padding>
- </HBox>
- <HBox alignment="CENTER_LEFT">
- <children>
- <PasswordField fx:id="Password" maxWidth="400.0" promptText="Password" HBox.hgrow="SOMETIMES" VBox.vgrow="ALWAYS" />
- </children>
- </HBox>
- </children>
- <VBox.margin>
- <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
- </VBox.margin>
- </VBox>
- <VBox>
- <children>
- <HBox layoutX="10.0" layoutY="159.0">
- <children>
- <Label fx:id="RoleLabel" text="Role:" />
- </children>
- <padding>
- <Insets bottom="10.0" top="10.0" />
- </padding>
- </HBox>
- <HBox alignment="CENTER_LEFT">
- <children>
- <ChoiceBox fx:id="Role" maxWidth="400.0" HBox.hgrow="SOMETIMES" />
- </children>
- </HBox>
- </children>
- <VBox.margin>
- <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
- </VBox.margin>
- </VBox>
- <VBox>
- <children>
- <HBox layoutX="10.0" layoutY="159.0">
- <padding>
- <Insets bottom="10.0" top="10.0" />
- </padding>
- <children>
- <Button fx:id="LoginBtn" defaultButton="true" mnemonicParsing="false" prefWidth="400.0" text="Login" HBox.hgrow="SOMETIMES" />
- </children>
- <VBox.margin>
- <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
- </VBox.margin>
- </HBox>
- </children>
- </VBox>
- <VBox>
- <children>
- <HBox alignment="CENTER" layoutX="10.0" layoutY="159.0">
- <children>
- <Label fx:id="ErrorMessage" style="-fx-background-color: pink;" />
- </children>
- <padding>
- <Insets bottom="10.0" top="10.0" />
- </padding>
- <VBox.margin>
- <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
- </VBox.margin>
- </HBox>
- </children>
- </VBox>
- </children>
- <HBox.margin>
- <Insets />
- </HBox.margin>
- <padding>
- <Insets top="60.0" />
- </padding>
- </VBox>
- </children>
- <padding>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
- </padding>
- </HBox>
- <VBox mouseTransparent="true" prefHeight="200.0" prefWidth="100.0">
- <children>
- <Label mouseTransparent="true" text="Test Accounts: (username, password, superiority, department)" />
- <Label mouseTransparent="true" text="000001, passworda, Director / Manager, HR" />
- <Label mouseTransparent="true" text="000002, passwordb, Director / Manager, ADMINISTRATION" />
- <Label mouseTransparent="true" text="000003, password1, Director, SALES_AND_MARKETING" />
- <Label mouseTransparent="true" text="000004, password2, Director, SERVICES_DELIVERY" />
- <Label mouseTransparent="true" text="000005, cool, Manager, SERVICES_DELIVERY" />
- <Label mouseTransparent="true" text="000006, securepassword, Manager, SALES_AND_MARKETING" />
- <Label mouseTransparent="true" text="000007, uniofkent, Employee, SALES_AND_MARKETING" />
- <Label mouseTransparent="true" text="000008, gleniris, Employee, HR" />
- <Label mouseTransparent="true" text="000009, cornwallis, Employee, ADMINISTRATION" />
- </children>
- </VBox>
- </children>
- <padding>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
- </padding>
- </StackPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement