/
Home.fxml
234 lines (232 loc) · 11.7 KB
/
Home.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.effect.DropShadow?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="576.0" prefWidth="1050.0" style="-fx-background-color: #02030A;" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="home.Controller">
<children>
<VBox alignment="TOP_CENTER" prefHeight="576.0" prefWidth="256.0" style="-fx-background-color: #05071F;" AnchorPane.bottomAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<ImageView fitHeight="73.0" fitWidth="67.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/jimmy-fallon.png" />
</image>
<VBox.margin>
<Insets bottom="10.0" top="50.0" />
</VBox.margin></ImageView>
<Label text="Jimmy Fallon" textFill="#e7e5e5">
<VBox.margin>
<Insets bottom="20.0" />
</VBox.margin>
</Label>
<Button fx:id="btnOverview" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" onAction="#handleClicks" prefHeight="42.0" prefWidth="259.0" stylesheets="@style.css" text="Overview" textFill="#e7e5e5">
<graphic>
<ImageView fitHeight="23.0" fitWidth="27.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/icons8_Home_32px.png" />
</image>
</ImageView>
</graphic>
<opaqueInsets>
<Insets />
</opaqueInsets>
<VBox.margin>
<Insets />
</VBox.margin>
<padding>
<Insets left="50.0" />
</padding>
</Button>
<Button fx:id="btnOrders" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" onAction="#handleClicks" prefHeight="42.0" prefWidth="259.0" stylesheets="@style.css" text="Orders">
<graphic>
<ImageView fitHeight="23.0" fitWidth="27.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/icons8_Open_Envelope_32px.png" />
</image>
</ImageView>
</graphic>
<padding>
<Insets left="50.0" />
</padding>
</Button>
<Button fx:id="btnCustomers" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" onAction="#handleClicks" prefHeight="42.0" prefWidth="259.0" stylesheets="@style.css" text="Customers">
<graphic>
<ImageView fitHeight="23.0" fitWidth="27.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/icons8_Person_32px.png" />
</image>
</ImageView>
</graphic>
<padding>
<Insets left="50.0" />
</padding>
</Button>
<Button fx:id="btnMenus" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" onAction="#handleClicks" prefHeight="42.0" prefWidth="259.0" stylesheets="@style.css" text="Menus">
<graphic>
<ImageView fitHeight="23.0" fitWidth="27.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/icons8_Xbox_Menu_32px.png" />
</image>
</ImageView>
</graphic>
<padding>
<Insets left="50.0" />
</padding>
</Button>
<Button fx:id="btnPackages" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" prefHeight="42.0" prefWidth="259.0" stylesheets="@style.css" text="Packages">
<graphic>
<ImageView fitHeight="23.0" fitWidth="27.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/icons8_Box_32px.png" />
</image>
</ImageView>
</graphic>
<padding>
<Insets left="50.0" />
</padding>
</Button>
<Button fx:id="btnSettings" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" prefHeight="42.0" prefWidth="259.0" stylesheets="@style.css" text="Settings">
<graphic>
<ImageView fitHeight="23.0" fitWidth="27.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/icons8_Slider__32px.png" />
</image>
</ImageView>
</graphic>
<padding>
<Insets left="50.0" />
</padding>
</Button>
<Button fx:id="btnSignout" alignment="BASELINE_LEFT" graphicTextGap="22.0" mnemonicParsing="false" prefHeight="42.0" prefWidth="259.0" stylesheets="@style.css" text="Sign Out">
<graphic>
<ImageView fitHeight="23.0" fitWidth="27.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/icons8_Sign_Out_32px.png" />
</image>
</ImageView>
</graphic>
<padding>
<Insets left="50.0" />
</padding>
</Button>
</children>
</VBox>
<StackPane layoutX="258.0" prefHeight="576.0" prefWidth="793.0" style="-fx-background-color: #02030A;">
<children>
<Pane fx:id="pnlCustomer" prefHeight="200.0" prefWidth="200.0" />
<Pane fx:id="pnlOrders" prefHeight="200.0" prefWidth="200.0" />
<Pane fx:id="pnlMenus" prefHeight="200.0" prefWidth="200.0" />
<Pane fx:id="pnlOverview" prefHeight="554.0" prefWidth="793.0">
<children>
<TextField layoutX="590.0" layoutY="47.0" prefHeight="27.0" prefWidth="183.0" promptText="search" style="-fx-background-color: #02030A; -fx-border-color: #B7C3D7; -fx-border-radius: 2em;" />
<Label layoutX="57.0" layoutY="25.0" text="Restaurant Orders" textFill="#e7e5e5">
<font>
<Font size="24.0" />
</font>
</Label>
<HBox alignment="CENTER_LEFT" layoutX="45.0" layoutY="72.0" prefHeight="92.0" prefWidth="661.0" spacing="50.0">
<children>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
<children>
<Label text="22000" textFill="#2a73ff">
<font>
<Font name="System Bold" size="26.0" />
</font>
</Label>
<Label text="Total Orders" textFill="#e7e5e5" />
</children>
</VBox>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
<children>
<Label text="1500" textFill="#26bfbc">
<font>
<Font name="System Bold" size="26.0" />
</font>
</Label>
<Label text="Total delivered" textFill="#e7e5e5" />
</children>
</VBox>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
<children>
<Label text="1000" textFill="#fa5f7e">
<font>
<Font name="System Bold" size="26.0" />
</font>
</Label>
<Label text="Peding Orders" textFill="#e7e5e5" />
</children>
</VBox>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
<children>
<Label text="780" textFill="#de0000">
<font>
<Font name="System Bold" size="26.0" />
</font>
</Label>
<Label text="Orders on Hold" textFill="#e7e5e5" />
</children>
</VBox>
</children>
</HBox>
<HBox alignment="CENTER_LEFT" layoutX="45.0" layoutY="178.0" prefHeight="42.0" prefWidth="712.0" spacing="80.0" style="-fx-background-color: #02030A;">
<children>
<Label text="Company Name" textFill="#e7e5e5">
<HBox.margin>
<Insets left="50.0" />
</HBox.margin>
</Label>
<Label text="Airport" textFill="#e7e5e5">
<HBox.margin>
<Insets />
</HBox.margin>
</Label>
<Label text="Delivery Date" textFill="#e7e5e5">
<HBox.margin>
<Insets />
</HBox.margin>
</Label>
<Label text="Amount" textFill="#e7e5e5">
<HBox.margin>
<Insets />
</HBox.margin>
</Label>
<Label text="Status" textFill="#e7e5e5">
<HBox.margin>
<Insets />
</HBox.margin>
</Label>
</children>
</HBox>
<ScrollPane layoutX="14.0" layoutY="232.0" prefHeight="320.0" prefWidth="746.0" stylesheets="@style.css">
<content>
<VBox fx:id="pnItems" prefHeight="318.0" prefWidth="744.0" spacing="5.0" style="-fx-background-color: #02030A;">
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</VBox>
</content>
</ScrollPane>
<ImageView fitHeight="17.0" fitWidth="16.0" layoutX="749.0" layoutY="53.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/icons8_Search_52px.png" />
</image>
</ImageView>
</children>
</Pane>
</children>
</StackPane>
</children>
<effect>
<DropShadow color="#1b1eeb" />
</effect>
</AnchorPane>