This repository was archived by the owner on May 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGivingItems.fxml
More file actions
155 lines (153 loc) · 10.1 KB
/
GivingItems.fxml
File metadata and controls
155 lines (153 loc) · 10.1 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Point3D?>
<?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.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/10.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="GiveItemsController">
<bottom>
<GridPane prefHeight="27.0" prefWidth="600.0" style="-fx-background-color: f49b42;" BorderPane.alignment="CENTER">
<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>
<rowConstraints>
<RowConstraints />
<RowConstraints />
<RowConstraints />
</rowConstraints>
<children>
<HBox prefHeight="100.0" prefWidth="200.0" GridPane.columnIndex="2">
<children>
<Label prefHeight="17.0" prefWidth="75.0" text="Username:" textFill="WHITE" />
<Label fx:id="username" prefHeight="17.0" prefWidth="76.0" textFill="WHITE" />
<ImageView fitHeight="29.0" fitWidth="46.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../../../Downloads/will%20in%20the%20scooby%20squad.jpg" />
</image></ImageView>
</children>
</HBox>
<HBox prefHeight="100.0" prefWidth="200.0">
<children>
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleAccount" prefHeight="17.0" prefWidth="88.0" stylesheets="@ButtonO.css" text="Account" />
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleSignOut" prefHeight="26.0" prefWidth="88.0" stylesheets="@ButtonO.css" text="Sign Out" />
</children></HBox>
</children>
</GridPane>
</bottom>
<left>
<AnchorPane prefHeight="355.0" prefWidth="101.0" BorderPane.alignment="CENTER">
<children>
<VBox prefHeight="372.0" prefWidth="123.0" style="-fx-background-color: D2FDFE;">
<children>
<GridPane prefHeight="359.0" prefWidth="118.0">
<children>
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleHome" prefHeight="29.0" prefWidth="97.0" stylesheets="@ButtonB.css" text="Home" textAlignment="CENTER" GridPane.columnIndex="1">
<rotationAxis>
<Point3D />
</rotationAxis>
</Button>
<Button fx:id="button" alignment="CENTER" mnemonicParsing="false" onAction="#handleResource" prefHeight="45.0" prefWidth="99.0" stylesheets="@ButtonB.css" text=" Manage Resources" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleIssueDesk" prefHeight="27.0" prefWidth="100.0" stylesheets="@ButtonB.css" text="Issue Desk" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleManageUser" prefHeight="45.0" prefWidth="98.0" stylesheets="@ButtonB.css" text="Manage Users" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="3">
<font>
<Font size="12.0" />
</font>
</Button>
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleCreateAccount" prefHeight="39.0" prefWidth="100.0" stylesheets="@ButtonB.css" text="Create User" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="5">
<font>
<Font size="12.0" />
</font>
</Button>
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleCreateResource" prefHeight="49.0" prefWidth="103.0" stylesheets="@ButtonB.css" text=" Create Resource" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="6">
<font>
<Font size="12.0" />
</font>
</Button>
<Button alignment="CENTER" mnemonicParsing="false" onAction="#handleItemHistory" prefHeight="45.0" prefWidth="98.0" stylesheets="@ButtonB.css" text="Check Item History " wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="4">
<font>
<Font size="12.0" />
</font>
</Button>
</children>
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="57.0" minWidth="0.0" prefWidth="9.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="109.0" minWidth="10.0" prefWidth="104.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="107.0" minWidth="3.0" prefWidth="9.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="75.0" minHeight="10.0" prefHeight="41.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="144.0" minHeight="9.0" prefHeight="38.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="159.0" minHeight="10.0" prefHeight="54.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="159.0" minHeight="10.0" prefHeight="52.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="159.0" minHeight="10.0" prefHeight="64.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="159.0" minHeight="10.0" prefHeight="47.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="159.0" minHeight="10.0" prefHeight="65.0" vgrow="SOMETIMES" />
</rowConstraints>
</GridPane>
</children>
</VBox>
</children></AnchorPane>
</left>
<center>
<AnchorPane prefHeight="355.0" prefWidth="456.0" BorderPane.alignment="CENTER">
<children>
<GridPane layoutX="-4.0" layoutY="56.0" prefHeight="315.0" prefWidth="481.0" style="-fx-background-color: #E1f5fe;">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="165.0" minWidth="0.0" prefWidth="60.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="234.0" minWidth="7.0" prefWidth="222.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="256.0" minWidth="0.0" prefWidth="13.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="296.0" minWidth="0.0" prefWidth="93.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="256.0" minWidth="10.0" prefWidth="84.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="256.0" minWidth="5.0" prefWidth="8.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="118.0" minHeight="10.0" prefHeight="29.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="283.0" minHeight="10.0" prefHeight="276.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="28.0" minHeight="10.0" prefHeight="10.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<HBox prefHeight="100.0" prefWidth="200.0" GridPane.columnIndex="1" />
<VBox prefHeight="200.0" prefWidth="100.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
<children>
<Label text="Users collecting Items:" />
<ListView fx:id="listOfUsers" onMouseClicked="#listButtonPushed" prefHeight="254.0" prefWidth="176.0" />
</children>
</VBox>
<VBox prefHeight="200.0" prefWidth="100.0" GridPane.columnIndex="2" GridPane.rowIndex="1" />
<Button mnemonicParsing="false" onAction="#handleCollects" prefHeight="46.0" prefWidth="88.0" stylesheets="@ButtonB.css" text="Approve Collections " GridPane.columnIndex="3" GridPane.rowIndex="1" />
</children>
</GridPane>
<GridPane layoutX="-4.0" prefHeight="56.0" prefWidth="481.0" style="-fx-background-color: #E1f5fe #E1f5fe;">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="161.0" minWidth="10.0" prefWidth="99.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="233.0" minWidth="10.0" prefWidth="232.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="43.0" minHeight="10.0" prefHeight="43.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="59.0" minHeight="10.0" prefHeight="41.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Issue Desk" textFill="#ffbc00" GridPane.columnIndex="1" GridPane.rowIndex="1">
<font>
<Font size="36.0" />
</font>
</Label>
</children>
</GridPane>
</children>
</AnchorPane>
</center>
</BorderPane>