Skip to content

Commit

Permalink
Release Version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Garner authored and Joseph Garner committed May 22, 2017
1 parent c850d77 commit 422641e
Show file tree
Hide file tree
Showing 14 changed files with 3,539 additions and 4 deletions.
448 changes: 448 additions & 0 deletions assignment/bin/gui/Theme.css

Large diffs are not rendered by default.

130 changes: 130 additions & 0 deletions assignment/bin/gui/addBOLayout.fxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
<?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.PasswordField?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.FlowPane?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>

<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="350.0" prefWidth="400.0" stylesheets="@Theme.css" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="gui.AddBOController">
<children>
<BorderPane layoutX="269.0" layoutY="62.0" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<center>
<GridPane prefHeight="251.0" prefWidth="400.0" BorderPane.alignment="CENTER">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="194.0" minWidth="10.0" prefWidth="143.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="282.0" minWidth="10.0" prefWidth="257.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<FlowPane alignment="CENTER_RIGHT" prefHeight="200.0" prefWidth="200.0">
<children>
<Label text="Business Name:" />
</children>
</FlowPane>
<FlowPane alignment="CENTER_RIGHT" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="1">
<children>
<Label text="Username:" />
</children>
</FlowPane>
<FlowPane alignment="CENTER_RIGHT" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="2">
<children>
<Label text="Password:" />
</children>
</FlowPane>
<FlowPane alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1">
<children>
<TextField fx:id="txtBName">
<FlowPane.margin>
<Insets left="10.0" />
</FlowPane.margin>
</TextField>
</children>
</FlowPane>
<FlowPane alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
<children>
<TextField fx:id="txtUsername">
<FlowPane.margin>
<Insets left="10.0" />
</FlowPane.margin>
</TextField>
</children>
</FlowPane>
<FlowPane alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="2">
<children>
<PasswordField fx:id="passPassword">
<FlowPane.margin>
<Insets left="10.0" />
</FlowPane.margin>
</PasswordField>
</children>
</FlowPane>
<FlowPane alignment="CENTER_RIGHT" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="3">
<children>
<Label text="Confirm Password:" />
</children>
</FlowPane>
<FlowPane alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="3">
<children>
<PasswordField fx:id="passConf">
<FlowPane.margin>
<Insets left="10.0" />
</FlowPane.margin>
</PasswordField>
</children>
</FlowPane>
</children>
</GridPane>
</center>
<bottom>
<GridPane prefHeight="46.0" prefWidth="400.0" BorderPane.alignment="CENTER">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<FlowPane alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="200.0">
<children>
<Button mnemonicParsing="false" onAction="#cancel" text="Cancel">
<FlowPane.margin>
<Insets left="10.0" />
</FlowPane.margin>
</Button>
</children>
</FlowPane>
<FlowPane alignment="CENTER_RIGHT" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1">
<children>
<Button mnemonicParsing="false" onAction="#create" text="Confirm">
<FlowPane.margin>
<Insets right="10.0" />
</FlowPane.margin>
</Button>
</children>
</FlowPane>
</children>
</GridPane>
</bottom>
<top>
<FlowPane alignment="CENTER" prefHeight="51.0" prefWidth="400.0" BorderPane.alignment="CENTER">
<children>
<Label styleClass="label-Subheader" text="Create Business Owner Login" />
</children>
</FlowPane>
</top>
</BorderPane>
</children>
</AnchorPane>
Loading

0 comments on commit 422641e

Please sign in to comment.