forked from nus-cs2103-AY2021S2/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
/
MainWindow.fxml
222 lines (217 loc) · 12.8 KB
/
MainWindow.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
<?xml version="1.0" encoding="UTF-8"?>
<?import java.net.URL?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.Scene?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.stage.Stage?>
<fx:root minHeight="650.0" minWidth="1000.0" onCloseRequest="#handleExit" title="Tutor Tracker" type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/11" xmlns:fx="http://javafx.com/fxml/1">
<icons>
<Image url="@/images/address_book_32.png" />
</icons>
<scene>
<Scene>
<stylesheets>
<URL value="@DarkTheme.css" />
<URL value="@Extensions.css" />
</stylesheets>
<VBox>
<MenuBar fx:id="menuBar" VBox.vgrow="NEVER">
<Menu mnemonicParsing="false" text="File">
<MenuItem mnemonicParsing="false" onAction="#handleExit" text="Exit" />
</Menu>
<Menu mnemonicParsing="false" text="Help">
<MenuItem fx:id="helpMenuItem" mnemonicParsing="false" onAction="#handleHelp" text="Help" />
</Menu>
</MenuBar>
<StackPane fx:id="commandBoxPlaceholder" styleClass="pane-with-border" VBox.vgrow="NEVER">
<padding>
<Insets bottom="5" left="10" right="10" top="5" />
</padding>
</StackPane>
<StackPane fx:id="filtersPanelPlaceholder" HBox.hgrow="ALWAYS" VBox.vgrow="NEVER" />
<HBox>
<children>
<VBox HBox.hgrow="ALWAYS">
<children>
<HBox style="-fx-background-color: #383838;">
<children>
<ImageView fitHeight="25.0" fitWidth="25.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/favorite_icon.png" />
</image>
</ImageView>
<Label alignment="CENTER" prefHeight="25.0" style="-fx-text-fill: white;" styleClass="cell_big_label" text="Tutors">
<HBox.margin>
<Insets left="4.0" />
</HBox.margin>
</Label>
</children>
<VBox.margin>
<Insets />
</VBox.margin>
<padding>
<Insets bottom="5.0" left="10.0" right="5.0" top="5.0" />
</padding>
</HBox>
<VBox fx:id="personList" minWidth="500" prefWidth="150.0" styleClass="pane-with-border" VBox.vgrow="ALWAYS">
<padding>
<Insets bottom="10" left="10" right="10" top="10" />
</padding>
<StackPane fx:id="personListPanelPlaceholder" VBox.vgrow="ALWAYS" />
</VBox>
</children>
</VBox>
<VBox prefWidth="250.0" HBox.hgrow="ALWAYS">
<children>
<HBox alignment="CENTER" style="-fx-background-color: #383838;">
<children>
<ImageView fitHeight="25.0" fitWidth="25.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/calendar_icon.png" />
</image>
</ImageView>
<Label alignment="CENTER" prefHeight="25.0" style="-fx-text-fill: white;" styleClass="cell_big_label" text="Calendar">
<HBox.margin>
<Insets left="4.0" />
</HBox.margin>
</Label>
</children>
<VBox.margin>
<Insets />
</VBox.margin>
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</HBox>
<StackPane fx:id="calendarViewPane" maxHeight="300.0" minHeight="-Infinity" prefHeight="215.0" style="-fx-background-color: #383838" styleClass="pane-with-border" HBox.hgrow="ALWAYS" VBox.vgrow="ALWAYS">
<padding>
<Insets bottom="5" left="10" right="10" top="5" />
</padding>
</StackPane>
<TabPane fx:id="tabPanePlaceHolder" tabClosingPolicy="UNAVAILABLE" VBox.vgrow="ALWAYS">
<stylesheets>
<URL value="@TabStyle.css" />
</stylesheets>
<tabs>
<Tab closable="false" text="Appointments" fx:id="tabAppointment">
<content>
<VBox>
<children>
<VBox fx:id="appointmentList" prefWidth="150.0" styleClass="pane-with-border">
<padding>
<Insets bottom="10" left="10" right="10" top="10" />
</padding>
<children>
<StackPane fx:id="appointmentListPanelPlaceholder" VBox.vgrow="ALWAYS" />
</children>
</VBox>
</children>
</VBox>
</content>
</Tab>
<Tab closable="false" text="Schedules" fx:id="tabSchedule">
<content>
<VBox>
<children>
<VBox fx:id="scheduleList" prefWidth="150.0" styleClass="pane-with-border">
<padding>
<Insets bottom="10" left="10" right="10" top="10" />
</padding>
<children>
<StackPane fx:id="scheduleListPanelPlaceholder" VBox.vgrow="ALWAYS" />
</children>
</VBox>
</children>
</VBox>
</content>
</Tab>
</tabs>
</TabPane>
</children>
</VBox>
<VBox prefWidth="250.0" HBox.hgrow="ALWAYS">
<children>
<HBox alignment="CENTER" style="-fx-background-color: #383838;">
<children>
<ImageView fitHeight="25.0" fitWidth="25.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/book_icon.png" />
</image>
</ImageView>
<Label alignment="CENTER" prefHeight="25.0" style="-fx-text-fill: white;" styleClass="cell_big_label" text="Your Information">
<HBox.margin>
<Insets left="4.0" />
</HBox.margin>
</Label>
</children>
<VBox.margin>
<Insets />
</VBox.margin>
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</HBox>
<TabPane fx:id="tabSidePanePlaceHolder" tabClosingPolicy="UNAVAILABLE" VBox.vgrow="ALWAYS">
<stylesheets>
<URL value="@TabStyle.css" />
</stylesheets>
<tabs>
<Tab closable="false" text="Reminders">
<content>
<VBox>
<VBox fx:id="reminderList" prefWidth="150.0" styleClass="pane-with-border" VBox.vgrow="ALWAYS">
<padding>
<Insets bottom="10" left="10" right="10" top="10" />
</padding>
<StackPane fx:id="reminderListPanelPlaceholder" VBox.vgrow="ALWAYS" />
</VBox>
</VBox>
</content>
</Tab>
<Tab closable="false" text="Grades">
<content>
<VBox>
<VBox fx:id="gradeList" prefWidth="150.0" styleClass="pane-with-border" VBox.vgrow="ALWAYS">
<padding>
<Insets bottom="10" left="10" right="10" top="10" />
</padding>
<StackPane fx:id="gradeListPanelPlaceholder" VBox.vgrow="ALWAYS" />
</VBox>
</VBox>
</content>
</Tab>
<Tab closable="false" text="Budget">
<content>
<VBox>
<VBox fx:id="budgetcard"
prefWidth="75.0"
styleClass="pane-with-border" VBox.vgrow="ALWAYS">
<padding>
<Insets bottom="10" left="10" right="10" top="10" />
</padding>
<StackPane fx:id="budgetPanelPlaceholder" VBox.vgrow="ALWAYS" />
</VBox>
</VBox>
</content>
</Tab>
</tabs>
</TabPane>
</children>
</VBox>
</children>
</HBox>
<StackPane fx:id="statusbarPlaceholder" VBox.vgrow="NEVER" />
</VBox>
</Scene>
</scene>
</fx:root>