-
Notifications
You must be signed in to change notification settings - Fork 0
/
AdminMenu.fxml
110 lines (108 loc) · 6.62 KB
/
AdminMenu.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.Cursor?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.effect.Reflection?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.text.Font?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="680.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.FrontController">
<center>
<AnchorPane prefHeight="680.0" prefWidth="1200.0" style="-fx-background-color: linear-gradient(to bottom, #B4E4F6, #3498db);" BorderPane.alignment="CENTER">
<children>
<Pane prefHeight="680.0" prefWidth="600.0" style="-fx-background-color: linear-gradient(to bottom, #010050, #002080);">
<children>
<Label layoutX="55.0" layoutY="263.0" prefHeight="59.0" prefWidth="429.0" text="WELCOME ADMIN" textFill="WHITE">
<font>
<Font name="Berlin Sans FB Demi Bold" size="50.0" />
</font>
</Label>
<Label layoutX="473.0" layoutY="248.0" prefHeight="79.0" prefWidth="83.0" text="👨🏼🏫" textFill="WHITE">
<font>
<Font size="55.0" />
</font>
</Label>
<Label layoutX="127.0" layoutY="340.0" text="You can manage everything 😊" textFill="WHITE">
<font>
<Font name="Berlin Sans FB Demi Bold" size="25.0" />
</font>
</Label>
</children>
</Pane>
<Button fx:id="buttonBooking" alignment="CENTER" layoutX="675.0" layoutY="306.0" mnemonicParsing="false" onAction="#BookingManager" prefHeight="50.0" prefWidth="200.0" style="-fx-background-color: linear-gradient(to bottom, #010050, #002080); -fx-background-radius: 20; -fx-border-radius: 18; -fx-border-color: white; -fx-border-width: 2;" text="Manage Bookings" textAlignment="CENTER" textFill="WHITE">
<font>
<Font name="Berlin Sans FB Demi Bold" size="20.0" />
</font>
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
<effect>
<Reflection fraction="0.27" topOpacity="0.14" />
</effect>
</Button>
<Button fx:id="buttonTrains" alignment="CENTER" layoutX="936.0" layoutY="306.0" mnemonicParsing="false" onAction="#TrainManager" prefHeight="50.0" prefWidth="200.0" style="-fx-background-color: linear-gradient(to bottom, #010050, #002080); -fx-background-radius: 20; -fx-border-radius: 18; -fx-border-color: white; -fx-border-width: 2;" text="Manage Trains" textAlignment="CENTER" textFill="WHITE">
<font>
<Font name="Berlin Sans FB Demi Bold" size="20.0" />
</font>
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
<effect>
<Reflection fraction="0.27" topOpacity="0.14" />
</effect>
</Button>
<Label layoutX="721.0" layoutY="554.0" prefHeight="28.0" prefWidth="388.0" text="" Click One of the Options Above to Continue "" textFill="#002080">
<font>
<Font name="Berlin Sans FB" size="20.0" />
</font>
</Label>
<Button fx:id="buttonStation" alignment="CENTER" layoutX="675.0" layoutY="389.0" mnemonicParsing="false" onAction="#StationManager" prefHeight="50.0" prefWidth="200.0" style="-fx-background-color: linear-gradient(to bottom, #010050, #002080); -fx-background-radius: 20; -fx-border-radius: 18; -fx-border-color: white; -fx-border-width: 2;" text="Manage Stations" textAlignment="CENTER" textFill="WHITE">
<font>
<Font name="Berlin Sans FB Demi Bold" size="20.0" />
</font>
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
<effect>
<Reflection fraction="0.27" topOpacity="0.14" />
</effect>
</Button>
<Button fx:id="buttonLuggage" alignment="CENTER" layoutX="936.0" layoutY="389.0" mnemonicParsing="false" onAction="#LuggageManager" prefHeight="50.0" prefWidth="200.0" style="-fx-background-color: linear-gradient(to bottom, #010050, #002080); -fx-background-radius: 20; -fx-border-radius: 18; -fx-border-color: white; -fx-border-width: 2;" text="Manage Luggage" textAlignment="CENTER" textFill="WHITE">
<font>
<Font name="Berlin Sans FB Demi Bold" size="20.0" />
</font>
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
<effect>
<Reflection fraction="0.27" topOpacity="0.14" />
</effect>
</Button>
<ImageView fitHeight="245.0" fitWidth="401.0" layoutX="714.0" layoutY="-24.0" pickOnBounds="true">
<image>
<Image url="file:/C:/Users/Hp/Downloads/Train%20Reservation%20System/abc.png" />
</image>
</ImageView>
<Button layoutX="1060.0" layoutY="607.0" mnemonicParsing="false" prefHeight="38.0" prefWidth="98.0" style="-fx-background-color: #010050, #002080; -fx-background-radius: 20; -fx-border-color: white; -fx-border-width: 2; -fx-border-radius: 20;" text="Back" textAlignment="CENTER" textFill="WHITE" onAction="#GoToMainPage">
<font>
<Font name="Berlin Sans FB" size="16.0" />
</font>
</Button>
<Button alignment="CENTER" layoutX="806.0" layoutY="474.0" mnemonicParsing="false" prefHeight="50.0" prefWidth="200.0" style="-fx-background-color: linear-gradient(to bottom, #010050, #002080); -fx-background-radius: 20; -fx-border-radius: 18; -fx-border-color: white; -fx-border-width: 2;" text="Generate Report" textAlignment="CENTER" textFill="WHITE" onAction="#Reporter">
<font>
<Font name="Berlin Sans FB Demi Bold" size="20.0" />
</font>
<cursor>
<Cursor fx:constant="HAND" />
</cursor>
<effect>
<Reflection fraction="0.27" topOpacity="0.14" />
</effect>
</Button>
</children>
</AnchorPane>
</center>
</BorderPane>