|
|
|
|
@ -5,7 +5,6 @@
|
|
|
|
|
<?import java.lang.*?>
|
|
|
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<AnchorPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controllers.AddRideController">
|
|
|
|
|
<children>
|
|
|
|
|
<GridPane layoutX="154.0" layoutY="68.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
@ -16,32 +15,33 @@
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" />
|
|
|
|
|
</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 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 vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="40.0" minHeight="40.0" prefHeight="40.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="40.0" minHeight="10.0" prefHeight="40.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="40.0" minHeight="40.0" prefHeight="40.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="40.0" minHeight="40.0" prefHeight="40.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="40.0" minHeight="40.0" prefHeight="40.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="40.0" minHeight="40.0" prefHeight="40.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="40.0" minHeight="40.0" prefHeight="40.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints vgrow="SOMETIMES" />
|
|
|
|
|
</rowConstraints>
|
|
|
|
|
<children>
|
|
|
|
|
<Label text="Add a Ride" GridPane.columnSpan="4" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
|
|
|
|
|
<Label text="Add a Ride" GridPane.columnSpan="4" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="CENTER">
|
|
|
|
|
<font>
|
|
|
|
|
<Font size="18.0" />
|
|
|
|
|
</font>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label text="Model:" GridPane.columnIndex="1" GridPane.halignment="LEFT" GridPane.rowIndex="1" />
|
|
|
|
|
<Label text="Colour:" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
|
|
|
|
<Label text="License Plate:" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
|
|
|
|
<Label text="Year:" GridPane.columnIndex="1" GridPane.rowIndex="4" />
|
|
|
|
|
<Label text="Number of Seats:" GridPane.columnIndex="1" GridPane.rowIndex="5" />
|
|
|
|
|
<Button mnemonicParsing="false" onAction="#addRide" prefHeight="25.0" prefWidth="187.0" text="Submit" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.rowIndex="6" />
|
|
|
|
|
<TextField fx:id="model" GridPane.columnIndex="2" GridPane.rowIndex="1" />
|
|
|
|
|
<TextField fx:id="colour" GridPane.columnIndex="2" GridPane.rowIndex="2" />
|
|
|
|
|
<TextField fx:id="license" GridPane.columnIndex="2" GridPane.rowIndex="3" />
|
|
|
|
|
<TextField fx:id="year" GridPane.columnIndex="2" GridPane.rowIndex="4" />
|
|
|
|
|
<TextField fx:id="numSeats" GridPane.columnIndex="2" GridPane.rowIndex="5" />
|
|
|
|
|
<Label text="Model:" GridPane.columnIndex="1" GridPane.halignment="LEFT" GridPane.rowIndex="2" />
|
|
|
|
|
<Label text="Colour:" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
|
|
|
|
<Label text="License Plate:" GridPane.columnIndex="1" GridPane.rowIndex="4" />
|
|
|
|
|
<Label text="Year:" GridPane.columnIndex="1" GridPane.rowIndex="5" />
|
|
|
|
|
<Label text="Number of Seats:" GridPane.columnIndex="1" GridPane.rowIndex="6" />
|
|
|
|
|
<Button mnemonicParsing="false" onAction="#addRide" prefHeight="25.0" prefWidth="187.0" text="Submit" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.rowIndex="7" />
|
|
|
|
|
<TextField fx:id="model" GridPane.columnIndex="2" GridPane.rowIndex="2" />
|
|
|
|
|
<TextField fx:id="colour" GridPane.columnIndex="2" GridPane.rowIndex="3" />
|
|
|
|
|
<TextField fx:id="license" GridPane.columnIndex="2" GridPane.rowIndex="4" />
|
|
|
|
|
<TextField fx:id="year" GridPane.columnIndex="2" GridPane.rowIndex="5" />
|
|
|
|
|
<TextField fx:id="numSeats" GridPane.columnIndex="2" GridPane.rowIndex="6" />
|
|
|
|
|
</children>
|
|
|
|
|
</GridPane>
|
|
|
|
|
</children>
|
|
|
|
|
|