<?xml version="1.0" encoding="UTF-8"?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.ListView?> <?import javafx.scene.image.Image?> <?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.BorderPane?> <?import javafx.scene.layout.HBox?> <?import javafx.scene.layout.Pane?> <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> <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.ServicesController"> <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="TOP_LEFT"> <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="875.0" prefWidth="783.0" style="-fx-background-color: #406882; -fx-background-radius: 0 30 30 0;" stylesheets="@test.css" BorderPane.alignment="CENTER"> <children> <HBox layoutX="38.0" layoutY="47.0" prefHeight="571.0" prefWidth="784.0" style="-fx-border-color: #B1D0E0; -fx-background-radius: 20; -fx-border-radius: 20;"> <children> <VBox prefHeight="569.0" prefWidth="71.0"> <children> <Label prefHeight="39.0" prefWidth="59.0" styleClass="font" stylesheets="@test.css" text="ROOM" textFill="#b1d0e0" translateX="10.0"> <font> <Font name="Arial" size="17.0" /> </font> </Label> <ListView fx:id="roomList" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="530.0" prefWidth="71.0" style="-fx-background-radius: 0 0 0 20;" /> </children> </VBox> <VBox layoutX="239.0" layoutY="11.0" prefHeight="569.0" prefWidth="104.0"> <children> <Label prefHeight="39.0" prefWidth="110.0" styleClass="font" text="FOOD" textFill="#b1d0e0" translateX="5.0"> <font> <Font name="Arial" size="18.0" /> </font> </Label> <ListView fx:id="foodList" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="530.0" prefWidth="105.0" /> </children> </VBox> <VBox layoutX="374.0" layoutY="11.0" prefHeight="569.0" prefWidth="186.0"> <children> <Label prefHeight="39.0" prefWidth="126.0" styleClass="font" text="SPA" textFill="#b1d0e0" translateX="5.0"> <font> <Font name="Arial" size="18.0" /> </font> </Label> <ListView fx:id="spaList" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="530.0" prefWidth="188.0" /> </children> </VBox> <VBox prefHeight="569.0" prefWidth="86.0"> <children> <Label prefHeight="39.0" prefWidth="126.0" styleClass="font" text="GYM" textFill="#b1d0e0" translateX="5.0"> <font> <Font name="Arial" size="18.0" /> </font> </Label> <ListView fx:id="gymList" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="530.0" prefWidth="98.0" /> </children> </VBox> <VBox prefHeight="569.0" prefWidth="81.0"> <children> <Label prefHeight="39.0" prefWidth="126.0" styleClass="font" text="TRANSF" textFill="#b1d0e0" translateX="5.0"> <font> <Font name="Arial" size="18.0" /> </font> </Label> <ListView fx:id="transfList" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="530.0" prefWidth="81.0" /> </children> </VBox> <VBox prefHeight="569.0" prefWidth="86.0"> <children> <Label prefHeight="39.0" prefWidth="126.0" styleClass="font" text="DR" textFill="#b1d0e0" translateX="5.0"> <font> <Font name="Arial" size="18.0" /> </font> </Label> <ListView fx:id="drList" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="530.0" prefWidth="98.0" /> </children> </VBox> <VBox prefHeight="569.0" prefWidth="86.0"> <children> <Label prefHeight="39.0" prefWidth="126.0" styleClass="font" text="CLEAN" textFill="#b1d0e0" translateX="5.0"> <font> <Font name="Arial" size="18.0" /> </font> </Label> <ListView fx:id="cleanList" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="530.0" prefWidth="98.0" /> </children> </VBox> <VBox prefHeight="569.0" prefWidth="86.0"> <children> <Label prefHeight="39.0" prefWidth="144.0" styleClass="font" text="FLOWER" textFill="#b1d0e0" translateX="5.0"> <font> <Font name="Arial" size="18.0" /> </font> </Label> <ListView fx:id="flowerList" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="530.0" prefWidth="98.0" style="-fx-background-radius: 0 0 20 0;" /> </children> </VBox> </children> </HBox> <Button layoutX="275.0" layoutY="639.0" mnemonicParsing="false" onAction="#switchToNewServices" prefHeight="25.0" prefWidth="313.0" style="-fx-background-color: #1A374D; -fx-background-radius: 30 30 30 30;" styleClass="buttonText" stylesheets="@test.css" text="MAKE A NEW SERVICE" textAlignment="CENTER" textFill="#b1d0e0"> <font> <Font name="Century Gothic" size="20.0" /> </font> </Button> <Label fx:id="exit" layoutX="820.0" layoutY="7.0" onMouseClicked="#close_app" stylesheets="@test.css" text="✖"> <font> <Font size="24.0" /> </font> </Label> <Label fx:id="minimize" layoutX="789.0" layoutY="3.0" onMouseClicked="#minimize_app" stylesheets="@test.css" text="🗕"> <font> <Font size="24.0" /> </font> </Label> <Button layoutX="654.0" layoutY="639.0" mnemonicParsing="false" onAction="#delete" prefHeight="39.0" prefWidth="151.0" style="-fx-background-color: #1A374D; -fx-background-radius: 30 30 30 30;" styleClass="buttonText" stylesheets="@test.css" text="DELETE" textAlignment="CENTER" textFill="#b1d0e0"> <font> <Font name="Century Gothic" size="20.0" /> </font> </Button> </children> </Pane> </center> </BorderPane>