@@ -7,16 +7,17 @@
<?import com .jfoenix.controls.JFXTabPane?>
<?import com .jfoenix.controls.JFXTextArea?>
<?import com .jfoenix.controls.JFXTextField?>
<?import javafx .scene.chart.CategoryAxis?>
<?import javafx .scene.chart.LineChart?>
<?import javafx .scene.chart.NumberAxis?>
<?import javafx .scene.chart.CategoryAxis?>
<?import javafx .scene.control.Label?>
<?import javafx .scene.control.Tab?>
<?import javafx .scene.control.TableColumn?>
<?import javafx .scene.control.TableView?>
<?import javafx .scene.image.Image?>
<?import javafx .scene.image.ImageView?>
<?import javafx .scene.layout.AnchorPane?>
<?import javafx .scene.layout.HBox?>
<?import javafx .scene.layout.StackPane?>
<?import javafx .scene.layout.VBox?>
<?import javafx .scene.text.Font?>
@@ -27,24 +28,23 @@
<JFXComboBox fx : id =" cmbGuildChooser" focusColor =" #00c4ad" labelFloat =" true" layoutX =" 517.0" layoutY =" 17.0" prefHeight =" 31.0" prefWidth =" 169.0" promptText =" Guild Chooser" />
<JFXTabPane fx : id =" tabPane" layoutX =" 11.0" layoutY =" 58.0" prefHeight =" 431.0" prefWidth =" 678.0" styleClass =" jfx-tab-pane" >
<tabs >
<Tab fx : id =" tabVolunInfo" onSelectionChanged =" #loadGuildView" text =" Volunteer Information" >
<Tab fx : id =" tabVolunInfo" onSelectionChanged =" #loadGuildView" text =" User Information" >
<content >
<AnchorPane minHeight =" 0.0" minWidth =" 0.0" prefHeight =" 180.0" prefWidth =" 200 .0" >
<AnchorPane minHeight =" 0.0" minWidth =" 0.0" prefHeight =" 180.0" prefWidth =" 678 .0" >
<children >
<Label fx : id =" lblNotes" layoutX =" 461.0" layoutY =" 20.0" text =" Notes:" >
<font >
<Font size =" 20.0" />
</font >
</Label >
<JFXTextField fx : id =" txtSearch" focusColor =" #00e2c7" layoutX =" 2.0" layoutY =" 15.0" prefHeight =" 29.0" prefWidth =" 171.0" promptText =" Search user.. " />
<JFXButton fx : id =" btnAddUser" buttonType =" RAISED" layoutX =" 14.0" layoutY =" 362 .0" onAction =" #onBtnAddUserClicked" prefHeight =" 31.0" prefWidth =" 119 .0" style =" -fx-background-color: #029E99;" text =" Add User" textFill =" WHITE" >
<JFXTextField fx : id =" txtSearch" focusColor =" #00e2c7" layoutX =" 2.0" layoutY =" 15.0" prefHeight =" 29.0" prefWidth =" 171.0" promptText =" Search" />
<JFXButton fx : id =" btnAddUser" buttonType =" RAISED" layoutX =" 14.0" layoutY =" 359 .0" maxHeight = " 31.0 " onAction =" #onBtnAddUserClicked" prefHeight =" 31.0" prefWidth =" 150 .0" style =" -fx-background-color: #029E99;" text =" Add User" textFill =" WHITE" >
<font >
<Font name =" System Bold" size =" 15.0" />
</font >
</JFXButton >
<JFXButton fx : id =" btnAddHours" buttonType =" RAISED" disable =" true" layoutX =" 149.0" layoutY =" 362.0" prefWidth =" 120.0" style =" -fx-background-color: #00c4ad;" text =" Add Hours" textFill =" WHITE" />
<JFXButton fx : id =" btnEditInfo" buttonType =" RAISED" layoutX =" 284.0" layoutY =" 362.0" onAction =" #onEditInfoPressed" prefHeight =" 31.0" prefWidth =" 147.0" style =" -fx-background-color: #00c4ad;" text =" Edit Information" textFill =" WHITE" >
<JFXButton fx : id =" btnEditInfo" buttonType =" RAISED" layoutX =" 180.0" layoutY =" 359.0" maxHeight =" 31.0" onAction =" #onEditInfoPressed" prefHeight =" 31.0" prefWidth =" 150.0" style =" -fx-background-color: #00c4ad;" text =" Edit Information" textFill =" WHITE" >
<font >
<Font name =" System Bold" size =" 15.0" />
</font ></JFXButton >
@@ -72,7 +72,7 @@
</AnchorPane >
</content >
</Tab >
<Tab fx : id =" tabGraphStats" onSelectionChanged =" #loadGuildView" text =" Graphs & Statistics" >
<Tab fx : id =" tabGraphStats" onSelectionChanged =" #loadGuildView" text =" Graphs And Statistics" >
<content >
<AnchorPane fx : id =" rootGraph" minHeight =" 0.0" minWidth =" 0.0" prefHeight =" 180.0" prefWidth =" 678.0" >
<children >
@@ -102,22 +102,31 @@
</VBox >
</children >
</StackPane >
<JFXDatePicker fx : id =" datePickerPeriodOne" layoutX =" 17.0" layoutY =" 355.0" prefHeight =" 30.0" prefWidth =" 135.0" />
<JFXDatePicker fx : id =" datePickerPeriodTwo" layoutX =" 179.0" layoutY =" 354.0" prefHeight =" 30.0" prefWidth =" 135.0" />
<Label layoutX =" 153.0" layoutY =" 341.0" prefHeight =" 59.0" prefWidth =" 17.0" text =" -" >
<font >
<Font size =" 41.0" />
</font >
</Label >
<JFXButton fx : id =" btnRefresh" alignment =" BOTTOM_CENTER" contentDisplay =" CENTER" layoutX =" 332.0" layoutY =" 343.0" onAction =" #refreshGraph" prefHeight =" 55.0" prefWidth =" 52.0" style =" -fx-background-color: rgba(0,0,0,0); -fx-background-radius: 50%;" text =" " >
<JFXButton fx : id =" btnRefresh" alignment =" BOTTOM_CENTER" contentDisplay =" CENTER" layoutX =" 367.0" layoutY =" 348.0" onAction =" #refreshGraph" prefHeight =" 31.0" prefWidth =" 38.0" style =" -fx-background-color: rgba(0,0,0,0); -fx-background-radius: 50%;" text =" " >
<graphic >
<ImageView fitHeight =" 40 .0" fitWidth =" 42 .0" pickOnBounds =" true" preserveRatio =" true" >
<ImageView fitHeight =" 35 .0" fitWidth =" 35 .0" pickOnBounds =" true" preserveRatio =" true" >
<image >
<Image url =" @../../Resources/RefreshIcon.png" />
</image >
</ImageView >
</graphic >
</JFXButton >
<HBox alignment =" CENTER" layoutX =" 20.0" layoutY =" 347.0" prefHeight =" 42.0" prefWidth =" 354.0" >
<children >
<Label text =" From:" >
<font >
<Font name =" System Bold" size =" 15.0" />
</font >
</Label >
<JFXDatePicker fx : id =" datePickerPeriodOne" prefHeight =" 30.0" prefWidth =" 135.0" />
<Label text =" To:" >
<font >
<Font name =" System Bold" size =" 15.0" />
</font >
</Label >
<JFXDatePicker fx : id =" datePickerPeriodTwo" prefHeight =" 30.0" prefWidth =" 135.0" />
</children >
</HBox >
</children >
</AnchorPane >
</content >
@@ -127,20 +136,20 @@
<AnchorPane fx : id =" anchorPaneGuild" minHeight =" 0.0" minWidth =" 0.0" prefHeight =" 180.0" prefWidth =" 200.0" />
</content >
</Tab >
<Tab fx : id =" tabLog" text =" Log" >
<Tab fx : id =" tabLog" text =" Log Events " >
<content >
<AnchorPane minHeight =" 0.0" minWidth =" 0.0" prefHeight =" 180.0" prefWidth =" 200 .0" >
<AnchorPane minHeight =" 0.0" minWidth =" 0.0" prefHeight =" 180.0" prefWidth =" 678 .0" >
<children >
<TableView fx : id =" tblLog" layoutX =" 6 .0" layoutY =" 9.0" maxWidth =" 1.7976931348623157E308" prefHeight =" 349 .0" prefWidth =" 672.0" >
<TableView fx : id =" tblLog" layoutX =" 3 .0" layoutY =" 9.0" maxWidth =" 1.7976931348623157E308" prefHeight =" 330 .0" prefWidth =" 672.0" >
<columns >
<TableColumn fx : id =" colLogEventId" prefWidth =" 23.0" text =" ID" />
<TableColumn fx : id =" colLogEventDate" prefWidth =" 119.0" text =" Event date" />
<TableColumn fx : id =" colLogEventDesc" maxWidth =" 1.7976931348623157E308" minWidth =" -1.0" prefWidth =" 529.0" text =" Event description" />
</columns >
</TableView >
<JFXButton fx : id =" btnRefreshLog" layoutX =" 573 .0" layoutY =" 367 .0" onAction =" #updateLogTable" prefHeight =" 25 .0" prefWidth =" 104 .0" style =" -fx-background-color: #00c4ad;" stylesheets =" @MainLayout.css" text =" Refresh log" textFill =" WHITE" >
<JFXButton fx : id =" btnRefreshLog" buttonType = " RAISED " layoutX =" 14 .0" layoutY =" 355 .0" onAction =" #updateLogTable" prefHeight =" 31 .0" prefWidth =" 114 .0" style =" -fx-background-color: #00c4ad;" stylesheets =" @MainLayout.css" text =" Refresh log" textFill =" WHITE" >
<font >
<Font name =" System Bold" size =" 12 .0" />
<Font name =" System Bold" size =" 15 .0" />
</font >
</JFXButton >
</children >