<?xml version="1.0" encoding="UTF-8"?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.PasswordField?> <?import javafx.scene.control.TextField?> <?import javafx.scene.image.Image?> <?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.BorderPane?> <?import javafx.scene.layout.ColumnConstraints?> <?import javafx.scene.layout.GridPane?> <?import javafx.scene.layout.Pane?> <?import javafx.scene.layout.RowConstraints?> <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> <?import javafx.scene.text.Text?> <BorderPane maxHeight="-Infinity" prefHeight="700.0" prefWidth="1100.0" style="-fx-background-color: transparent;" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="hoteldraft.SettingsController"> <left> <VBox maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="875.0" prefWidth="245.0" style="-fx-background-color: #1A374D; -fx-background-radius: 30 0 0 30;" BorderPane.alignment="CENTER"> <children> <Button alignment="CENTER" mnemonicParsing="false" onAction="#switchToLoggedIn" prefHeight="95.0" prefWidth="245.0" style="-fx-background-radius: 30 0 0 0;" stylesheets="@test.css" text="HOME" textAlignment="CENTER" textFill="#6998ab"> <font> <Font name="Century Gothic" size="36.0" /> </font> </Button> <Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" onAction="#switchToReservations" prefHeight="95.0" prefWidth="245.0" stylesheets="@test.css" text="RESERVATIONS" textAlignment="CENTER" textFill="#6998ab"> <font> <Font name="Century Gothic" size="28.0" /> </font> </Button> <Button alignment="CENTER" layoutX="10.0" layoutY="105.0" mnemonicParsing="false" onAction="#switchToRooms" prefHeight="95.0" prefWidth="245.0" stylesheets="@test.css" text="ROOMS" textAlignment="CENTER" textFill="#6998ab"> <font> <Font name="Century Gothic" size="36.0" /> </font> </Button> <Button alignment="CENTER" layoutX="10.0" layoutY="200.0" mnemonicParsing="false" onAction="#switchToServices" prefHeight="95.0" prefWidth="245.0" stylesheets="@test.css" text="SERVICES" textAlignment="CENTER" textFill="#6998ab"> <font> <Font name="Century Gothic" size="36.0" /> </font> </Button> <Button alignment="CENTER" layoutX="10.0" layoutY="295.0" mnemonicParsing="false" onAction="#switchToSearch" prefHeight="95.0" prefWidth="245.0" stylesheets="@test.css" text="SEARCH" textAlignment="CENTER" textFill="#6998ab"> <font> <Font name="Century Gothic" size="36.0" /> </font> </Button> <Button fx:id="settingsImgBtn" mnemonicParsing="false" onAction="#switchToSettings" style="-fx-translate-x: 10; -fx-translate-y: 140; -fx-background-color: transparent;"> <graphic> <ImageView fx:id="settingsImg" fitHeight="64.0" fitWidth="109.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@settings-symbol.png" /> </image> </ImageView> </graphic> </Button> </children> </VBox> </left> <center> <Pane prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #406882; -fx-background-radius: 0 30 30 0;" BorderPane.alignment="CENTER"> <children> <Label fx:id="exit" layoutX="820.0" layoutY="7.0" onMouseClicked="#close_app" styleClass="buttonText" stylesheets="@test.css" text="✖"> <font> <Font size="24.0" /> </font> </Label> <Label fx:id="minimize" layoutX="789.0" layoutY="3.0" onMouseClicked="#minimize_app" styleClass="buttonText" stylesheets="@test.css" text="🗕"> <font> <Font size="24.0" /> </font> </Label> <GridPane hgap="10.0" layoutX="25.0" layoutY="53.0" prefHeight="546.0" prefWidth="805.0" vgap="10.0"> <columnConstraints> <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> </columnConstraints> <rowConstraints> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> </rowConstraints> <children> <Label alignment="CENTER_RIGHT" prefHeight="41.0" prefWidth="201.0" text="Master key:" textAlignment="RIGHT" textFill="#b1d0e0"> <font> <Font name="Century Gothic" size="24.0" /> </font> </Label> <PasswordField fx:id="masterKeyTextfield" onKeyPressed="#enterCheckMasterKey" prefHeight="38.0" prefWidth="0.0" style="-fx-background-radius: 30;" GridPane.columnIndex="1" GridPane.columnSpan="2"> <font> <Font size="16.0" /> </font></PasswordField> <Button fx:id="submitMasterKey" alignment="CENTER" mnemonicParsing="false" onAction="#checkMasterKey" prefHeight="38.0" prefWidth="166.0" style="-fx-background-radius: 30 30 30 30;" styleClass="buttonText" stylesheets="@test.css" text="REQUEST ACCESS" GridPane.columnIndex="3"> <font> <Font name="Century Gothic" size="17.0" /> </font></Button> <Label fx:id="empIDLabel" alignment="CENTER_RIGHT" disable="true" layoutX="10.0" layoutY="13.0" prefHeight="41.0" prefWidth="211.0" text="Employee ID:" textAlignment="RIGHT" textFill="#b1d0e0" GridPane.rowIndex="2"> <font> <Font name="Century Gothic" size="22.0" /> </font> </Label> <Label fx:id="empNameLabel" alignment="CENTER_RIGHT" disable="true" layoutX="10.0" layoutY="125.0" prefHeight="41.0" prefWidth="211.0" text="Employee Name:" textAlignment="RIGHT" textFill="#b1d0e0" GridPane.rowIndex="3"> <font> <Font name="Century Gothic" size="22.0" /> </font> </Label> <Label fx:id="empPassLabel" alignment="CENTER_RIGHT" disable="true" layoutX="10.0" layoutY="181.0" prefHeight="41.0" prefWidth="211.0" text="Employee Password:" textAlignment="RIGHT" textFill="#b1d0e0" GridPane.rowIndex="4"> <font> <Font name="Century Gothic" size="19.0" /> </font> </Label> <TextField fx:id="empIDTextfield" disable="true" onKeyPressed="#enterAddEmployee" prefHeight="38.0" prefWidth="194.0" style="-fx-background-radius: 30;" GridPane.columnIndex="1" GridPane.rowIndex="2"> <font> <Font size="16.0" /> </font></TextField> <PasswordField fx:id="empPassTextfield" disable="true" onKeyPressed="#enterAddEmployee" prefHeight="38.0" prefWidth="194.0" style="-fx-background-radius: 30;" GridPane.columnIndex="1" GridPane.rowIndex="4"> <font> <Font size="16.0" /> </font></PasswordField> <Button fx:id="addEmpBtn" alignment="CENTER" disable="true" layoutX="622.0" layoutY="14.0" mnemonicParsing="false" onAction="#addEmployee" prefHeight="38.0" prefWidth="162.0" style="-fx-background-radius: 30 30 30 30;" styleClass="buttonText" stylesheets="@test.css" text="ADD EMPLOYEE" GridPane.columnIndex="2" GridPane.rowIndex="2"> <font> <Font name="Century Gothic" size="17.0" /> </font> </Button> <Text fx:id="masterKeyAlert" fill="RED" strokeType="OUTSIDE" strokeWidth="0.0" wrappingWidth="210.2705078125" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="1"> <font> <Font size="18.0" /> </font> </Text> <Text fx:id="addEmpAlert" fill="RED" layoutX="214.0" layoutY="96.0" strokeType="OUTSIDE" strokeWidth="0.0" style="-fx-translate-x: 8;" wrappingWidth="210.2705078125" GridPane.columnIndex="2" GridPane.columnSpan="2" GridPane.rowIndex="3"> <font> <Font size="18.0" /> </font> </Text> <Label fx:id="hotelNameLabel" alignment="CENTER_RIGHT" disable="true" layoutX="10.0" layoutY="13.0" prefHeight="41.0" prefWidth="201.0" text="Hotel Name:" textAlignment="RIGHT" textFill="#b1d0e0" GridPane.rowIndex="6"> <font> <Font name="Century Gothic" size="24.0" /> </font> </Label> <TextField fx:id="hotelNameTextfield" disable="true" prefHeight="38.0" prefWidth="0.0" style="-fx-background-radius: 30;" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="6"> <font> <Font size="16.0" /> </font></TextField> <Button fx:id="hotelNameBtn" alignment="CENTER" disable="true" layoutX="417.0" layoutY="126.0" mnemonicParsing="false" onAction="#changeHotelName" prefHeight="38.0" prefWidth="194.0" style="-fx-background-radius: 30 30 30 30;" styleClass="buttonText" stylesheets="@test.css" text="CHANGE NAME" GridPane.columnIndex="1" GridPane.rowIndex="7"> <font> <Font name="Century Gothic" size="17.0" /> </font> </Button> <Text fx:id="hotelNameAlert" fill="RED" layoutX="417.0" layoutY="208.0" strokeType="OUTSIDE" strokeWidth="0.0" style="-fx-translate-x: 8;" wrappingWidth="210.2705078125" GridPane.columnIndex="2" GridPane.rowIndex="7"> <font> <Font size="18.0" /> </font> </Text> <TextField fx:id="empNameTextfield" disable="true" onKeyPressed="#enterAddEmployee" prefHeight="38.0" prefWidth="194.0" style="-fx-background-radius: 30;" GridPane.columnIndex="1" GridPane.rowIndex="3"> <font> <Font size="16.0" /> </font> </TextField> </children> </GridPane> </children></Pane> </center> </BorderPane>