Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.geometry.*?>
- <?import javafx.scene.text.*?>
- <?import javafx.scene.control.*?>
- <?import java.lang.*?>
- <?import javafx.scene.layout.*?>
- <?import javafx.scene.layout.AnchorPane?>
- <AnchorPane maxHeight="1080.0" maxWidth="1920.0" minHeight="480.0" minWidth="640.0" prefHeight="720.0" prefWidth="1280.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="GUI.view.CtrlrCustomer">
- <children>
- <Label alignment="CENTER" layoutX="510.0" layoutY="31.0" prefHeight="63.0" prefWidth="248.0" text="Customer menu!" textAlignment="CENTER">
- <font>
- <Font size="25.0" />
- </font>
- </Label>
- <Label fx:id="HelloUser" alignment="CENTER" layoutX="515.0" layoutY="56.0" prefHeight="63.0" text="" textAlignment="CENTER">
- <font>
- <Font size="25.0" />
- </font>
- </Label>
- <Button layoutX="803.0" layoutY="47.0" mnemonicParsing="false" onMouseReleased="#LogOff" text="Log out">
- <font>
- <Font size="15.0" />
- </font>
- </Button>
- <AnchorPane fx:id="PageEmployees" layoutX="7.0" layoutY="128.0" prefHeight="619.0" prefWidth="1280.0" AnchorPane.bottomAnchor="-34.0" AnchorPane.leftAnchor="7.0" AnchorPane.rightAnchor="-7.0" AnchorPane.topAnchor="128.0">
- <children>
- <Label layoutX="14.0" layoutY="14.0" text="Make a Booking">
- <font>
- <Font size="34.0" />
- </font>
- </Label>
- <ComboBox fx:id="BusinessDropDown" layoutX="50.0" layoutY="64.0" onAction="#FindBus" prefHeight="25.0" prefWidth="300.0" promptText="Please Select a Business" />
- <Button fx:id="searchButton" layoutX="50.0" layoutY="245.0" mnemonicParsing="false" onAction="#makeBooking" text="Make Booking" visible="false" />
- <ComboBox fx:id="BookingType" layoutX="50.0" layoutY="98.0" onAction="#findType" prefHeight="25.0" prefWidth="300.0" promptText="Please Select a Business" visible="false" />
- <Label fx:id="BookingError" layoutX="50.0" layoutY="238.0" text="Requested Booking Start Time Unavailable" textFill="RED" visible="false" />
- <Label fx:id="BookingSuc" layoutX="50.0" layoutY="238.0" text="Booking Created Sucessfully" textFill="GREEN" visible="false" />
- <TextField fx:id="hh" layoutX="234.0" layoutY="147.0" prefHeight="25.0" prefWidth="46.0" promptText="HH" visible="false" />
- <TextField fx:id="mm" layoutX="304.0" layoutY="147.0" prefHeight="25.0" prefWidth="46.0" promptText="MM" visible="false" />
- <ComboBox fx:id="daysWeek" layoutX="50.0" layoutY="189.0" prefHeight="25.0" prefWidth="300.0" promptText="Please select day of week" visible="false" />
- <ComboBox fx:id="weekNo" layoutX="380.0" layoutY="189.0" prefHeight="25.0" prefWidth="300.0" promptText="Please select week" visible="false" />
- <ComboBox fx:id="emp" layoutX="380.0" layoutY="147.0" prefHeight="25.0" prefWidth="300.0" promptText="Please select desired employee" visible="false" />
- <Label fx:id="desStartTime" layoutX="50.0" layoutY="147.0" prefHeight="25.0" prefWidth="131.0" text="Desired Start Time" visible="false">
- <font>
- <Font size="16.0" />
- </font>
- </Label>
- </children>
- </AnchorPane>
- <AnchorPane fx:id="PageEmployeeBookings" layoutX="185.0" layoutY="119.0" prefHeight="580.0" prefWidth="899.0" visible="false" AnchorPane.bottomAnchor="21.0">
- <children>
- <Label layoutX="393.0" layoutY="11.0" text="Bookings">
- <font>
- <Font size="35.0" />
- </font>
- </Label>
- <Button fx:id="EmployeeBookingsBack" layoutX="29.0" layoutY="24.0" mnemonicParsing="false" text="<- Back">
- <font>
- <Font size="16.0" />
- </font>
- </Button>
- <AnchorPane prefHeight="465.0" prefWidth="870.0" AnchorPane.leftAnchor="29.0" AnchorPane.topAnchor="71.0">
- <children>
- <HBox fx:id="BookingsTable" prefHeight="465.0" prefWidth="870.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
- <children>
- <VBox alignment="TOP_CENTER" prefHeight="477.0" prefWidth="120.0">
- <children>
- <Pane prefHeight="45.0" prefWidth="120.0" />
- <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Monday">
- <font>
- <Font size="22.0" />
- </font>
- </Label>
- <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Tuesday">
- <font>
- <Font size="22.0" />
- </font>
- </Label>
- <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Wednesday">
- <font>
- <Font size="22.0" />
- </font>
- </Label>
- <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Thursday">
- <font>
- <Font size="22.0" />
- </font>
- </Label>
- <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Friday">
- <font>
- <Font size="22.0" />
- </font>
- </Label>
- <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Saturday">
- <font>
- <Font size="22.0" />
- </font>
- </Label>
- <Label alignment="CENTER" maxWidth="120.0" prefHeight="60.0" text="Sunday">
- <font>
- <Font size="22.0" />
- </font>
- </Label>
- </children>
- </VBox>
- <VBox fx:id="VBoxMornShifts1" alignment="CENTER_LEFT" prefHeight="465.0" prefWidth="750.0">
- <children>
- <Label prefHeight="45.0" prefWidth="749.0" text="07:00 ||| 11:00 ||| 15:00 ||| 19:00">
- <font>
- <Font size="30.0" />
- </font>
- </Label>
- <HBox fx:id="BookingsMonday" prefHeight="60.0" prefWidth="750.0" />
- <HBox fx:id="BookingsTuesday" prefHeight="60.0" prefWidth="200.0" />
- <HBox fx:id="BookingsWednesday" prefHeight="60.0" prefWidth="200.0" />
- <HBox fx:id="BookingsThursday" prefHeight="60.0" prefWidth="200.0" />
- <HBox fx:id="BookingsFriday" prefHeight="60.0" prefWidth="200.0" />
- <HBox fx:id="BookingsSaturday" prefHeight="60.0" prefWidth="200.0" />
- <HBox fx:id="BookingsSunday" prefHeight="60.0" prefWidth="200.0" />
- </children>
- </VBox>
- </children>
- </HBox>
- <AnchorPane fx:id="AddEmpBookingPage" layoutX="-6.0" prefHeight="515.0" prefWidth="870.0" visible="false">
- <children>
- <HBox layoutX="25.0" layoutY="54.0" prefHeight="243.0" prefWidth="833.0">
- <children>
- <VBox alignment="CENTER_RIGHT" prefHeight="243.0" prefWidth="281.0">
- <children>
- <Label text="Business:">
- <font>
- <Font size="30.0" />
- </font>
- <padding>
- <Insets bottom="15.0" />
- </padding>
- </Label>
- <Label text="Employee">
- <font>
- <Font size="30.0" />
- </font>
- <padding>
- <Insets bottom="15.0" />
- </padding>
- </Label>
- <Label text="Type:">
- <font>
- <Font size="30.0" />
- </font>
- <padding>
- <Insets bottom="15.0" />
- </padding>
- </Label>
- <Label text="Week:">
- <font>
- <Font size="30.0" />
- </font>
- <padding>
- <Insets bottom="15.0" />
- </padding>
- </Label>
- <Label text="Day:">
- <font>
- <Font size="30.0" />
- </font>
- <padding>
- <Insets bottom="15.0" />
- </padding>
- </Label>
- <Label text="Time:">
- <font>
- <Font size="30.0" />
- </font>
- <padding>
- <Insets bottom="15.0" />
- </padding>
- </Label>
- </children>
- </VBox>
- <VBox alignment="CENTER_LEFT" prefHeight="243.0" prefWidth="554.0">
- <children>
- <ComboBox fx:id="CBBusiness" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~Business~~">
- <VBox.margin>
- <Insets bottom="15.0" left="10.0" />
- </VBox.margin>
- </ComboBox>
- <ComboBox fx:id="CBEmployee" disable="true" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~Employee~~">
- <VBox.margin>
- <Insets bottom="15.0" left="10.0" />
- </VBox.margin>
- </ComboBox>
- <ComboBox fx:id="CBType" disable="true" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~Type~~">
- <VBox.margin>
- <Insets bottom="15.0" left="10.0" />
- </VBox.margin>
- </ComboBox>
- <ComboBox fx:id="CBWeek" disable="true" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~WeekNo~~">
- <VBox.margin>
- <Insets bottom="15.0" left="10.0" />
- </VBox.margin>
- </ComboBox>
- <ComboBox fx:id="CBDay" disable="true" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~Weekday~~">
- <VBox.margin>
- <Insets bottom="15.0" left="10.0" />
- </VBox.margin>
- </ComboBox>
- <ComboBox fx:id="CBTime" disable="true" minWidth="432.0" prefHeight="25.0" prefWidth="540.0" promptText="~~Time~~">
- <VBox.margin>
- <Insets bottom="15.0" left="10.0" />
- </VBox.margin>
- </ComboBox>
- </children>
- </VBox>
- </children>
- </HBox>
- <Label layoutX="341.0" layoutY="14.0" text="Make a booking">
- <font>
- <Font size="28.0" />
- </font>
- </Label>
- <Button fx:id="MakeBookingClear" layoutX="305.0" layoutY="447.0" mnemonicParsing="false" text="Clear">
- <font>
- <Font size="20.0" />
- </font>
- </Button>
- <Button fx:id="CreateBooking" disable="true" layoutX="520.0" layoutY="447.0" mnemonicParsing="false" text="Create Booking">
- <font>
- <Font size="20.0" />
- </font>
- </Button>
- </children>
- </AnchorPane>
- </children>
- </AnchorPane>
- <Button fx:id="BookingEmpSwitchView" alignment="CENTER" contentDisplay="CENTER" layoutX="701.0" layoutY="15.0" mnemonicParsing="false" text="Add Booking">
- <font>
- <Font size="20.0" />
- </font>
- </Button>
- </children></AnchorPane>
- <Button layoutX="157.0" layoutY="35.0" mnemonicParsing="false" onAction="#SwitchViews" text="Switch veiws" />
- </children>
- </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement