-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added donationPage, and frontPage fxml files
- Loading branch information
Showing
4 changed files
with
630 additions
and
0 deletions.
There are no files selected for viewing
247 changes: 247 additions & 0 deletions
247
helpmehelpapplication/src/main/resources/fxml/donationPage.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,247 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <?import javafx.geometry.Insets?> | ||
| <?import javafx.scene.Cursor?> | ||
| <?import javafx.scene.control.Label?> | ||
| <?import javafx.scene.control.TextField?> | ||
| <?import javafx.scene.effect.DropShadow?> | ||
| <?import javafx.scene.image.Image?> | ||
| <?import javafx.scene.image.ImageView?> | ||
| <?import javafx.scene.layout.ColumnConstraints?> | ||
| <?import javafx.scene.layout.GridPane?> | ||
| <?import javafx.scene.layout.HBox?> | ||
| <?import javafx.scene.layout.RowConstraints?> | ||
| <?import javafx.scene.layout.StackPane?> | ||
| <?import javafx.scene.layout.VBox?> | ||
| <?import javafx.scene.paint.Color?> | ||
| <?import javafx.scene.shape.Rectangle?> | ||
| <?import javafx.scene.text.Font?> | ||
|
|
||
| <GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="800.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/25"> | ||
| <columnConstraints> | ||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> | ||
| </columnConstraints> | ||
| <rowConstraints> | ||
| <RowConstraints minHeight="10.0" percentHeight="10.0" prefHeight="30.0" valignment="TOP" vgrow="ALWAYS" /> | ||
| <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> | ||
| <RowConstraints minHeight="10.0" percentHeight="25.0" prefHeight="30.0" vgrow="SOMETIMES" /> | ||
| </rowConstraints> | ||
| <children> | ||
| <HBox alignment="CENTER" style="-fx-background-color: #2f8f8b;" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.valignment="CENTER" GridPane.vgrow="ALWAYS"> | ||
| <children> | ||
| <GridPane HBox.hgrow="ALWAYS"> | ||
| <columnConstraints> | ||
| <ColumnConstraints hgrow="ALWAYS" minWidth="10.0" percentWidth="30.0" prefWidth="100.0" /> | ||
| <ColumnConstraints hgrow="ALWAYS" minWidth="10.0" percentWidth="30.0" prefWidth="100.0" /> | ||
| <ColumnConstraints hgrow="ALWAYS" minWidth="10.0" prefWidth="100.0" /> | ||
| </columnConstraints> | ||
| <rowConstraints> | ||
| <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> | ||
| </rowConstraints> | ||
| <children> | ||
| <ImageView fitHeight="54.0" fitWidth="67.0" pickOnBounds="true" preserveRatio="true" translateX="10.0"> | ||
| <image> | ||
| <Image url="@../hmhikon.png" /> | ||
| </image> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
| </ImageView> | ||
| <Label text="Help" textFill="WHITE" translateX="100.0"> | ||
| <font> | ||
| <Font name="System Bold" size="20.0" /> | ||
| </font> | ||
| </Label> | ||
| <Label text="Me" textFill="#c8e6c9" translateX="145.0"> | ||
| <font> | ||
| <Font name="System Bold" size="20.0" /> | ||
| </font> | ||
| </Label> | ||
| <Label text="Help" textFill="WHITE" translateX="176.0"> | ||
| <font> | ||
| <Font name="System Bold" size="20.0" /> | ||
| </font> | ||
| </Label> | ||
| <StackPane prefHeight="150.0" prefWidth="200.0" GridPane.columnIndex="1"> | ||
| <children> | ||
| <TextField minHeight="-Infinity" prefWidth="200.0" promptText="Search" style="-fx-background-radius: 15;" /> | ||
| <Rectangle arcHeight="40.0" arcWidth="40.0" fill="#1f4fd8" height="34.0" stroke="TRANSPARENT" strokeType="INSIDE" translateX="132.0" width="120.0" StackPane.alignment="CENTER_RIGHT"> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
| </Rectangle> | ||
| <Label text="Login" textAlignment="CENTER" textFill="WHITE" translateX="87.0" StackPane.alignment="CENTER_RIGHT"> | ||
| <font> | ||
| <Font name="System Bold" size="14.0" /> | ||
| </font> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
| </Label> | ||
| </children> | ||
| </StackPane> | ||
| </children> | ||
| </GridPane> | ||
| </children> | ||
| </HBox> | ||
| <HBox prefHeight="100.0" prefWidth="200.0" style="-fx-background-color: #FFFFFF;" GridPane.rowIndex="1"> | ||
| <children> | ||
| <GridPane alignment="CENTER" HBox.hgrow="ALWAYS"> | ||
| <columnConstraints> | ||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="25.0" prefWidth="100.0" /> | ||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> | ||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="25.0" prefWidth="100.0" /> | ||
| </columnConstraints> | ||
| <rowConstraints> | ||
| <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> | ||
| </rowConstraints> | ||
| <children> | ||
| <GridPane GridPane.columnIndex="1"> | ||
| <columnConstraints> | ||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> | ||
| </columnConstraints> | ||
| <rowConstraints> | ||
| <RowConstraints minHeight="10.0" percentHeight="75.0" prefHeight="30.0" vgrow="SOMETIMES" /> | ||
| <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> | ||
| </rowConstraints> | ||
| <children> | ||
| <StackPane prefHeight="84.0" prefWidth="800.0" translateY="10.0" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="CENTER"> | ||
| <children> | ||
| <ImageView fitHeight="150.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true" StackPane.alignment="CENTER"> | ||
| <image> | ||
| <Image url="https://isaacprodetailing.com.au/wp-content/uploads/2022/10/6_route-africa-VISA-OR-MASTERCARDe-transfer.png" /> | ||
| </image> | ||
| </ImageView> | ||
| </children> | ||
| <padding> | ||
| <Insets bottom="5.0" /> | ||
| </padding> | ||
| </StackPane> | ||
| <VBox alignment="CENTER" prefHeight="388.0" prefWidth="800.0" GridPane.columnIndex="1"> | ||
| <children> | ||
| <StackPane prefHeight="260.0" prefWidth="580.0" translateY="30.0"> | ||
| <children> | ||
| <Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="258.0" stroke="BLACK" strokeLineCap="ROUND" strokeType="OUTSIDE" width="344.0"> | ||
| <effect> | ||
| <DropShadow height="2.28" offsetY="2.0" radius="5.32"> | ||
| <color> | ||
| <Color opacity="0.31003034114837646" /> | ||
| </color> | ||
| </DropShadow> | ||
| </effect> | ||
| </Rectangle> | ||
| <Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="32.0" stroke="BLACK" strokeLineCap="ROUND" strokeType="OUTSIDE" translateY="-70.0" width="162.0" /> | ||
| <Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="32.0" stroke="BLACK" strokeLineCap="ROUND" strokeType="OUTSIDE" width="162.0" /> | ||
| <Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="34.0" stroke="BLACK" strokeLineCap="ROUND" strokeType="OUTSIDE" translateY="100.0" width="98.0"> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
| </Rectangle> | ||
| <Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="25.0" stroke="BLACK" strokeLineCap="ROUND" strokeType="OUTSIDE" translateX="-130.0" translateY="100.0" width="64.0"> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
| </Rectangle> | ||
| <TextField fx:id="donatioAmount" alignment="CENTER" maxWidth="-Infinity" prefHeight="26.0" prefWidth="162.0" promptText="Enter amount" translateY="50.0" StackPane.alignment="CENTER" /> | ||
| <Label text="Donate" translateY="100.0"> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
| </Label> | ||
| <Label text="Enter Donation Amount:" /> | ||
| <Label text="[Charity Name]" translateY="-70.0" /> | ||
| <Label alignment="CENTER" text="Abort" translateX="-130.0" translateY="100.0"> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
| </Label> | ||
| </children> | ||
| </StackPane> | ||
| </children> | ||
| </VBox> | ||
| </children> | ||
| </GridPane> | ||
| </children> | ||
| </GridPane> | ||
| </children> | ||
| </HBox> | ||
| <HBox alignment="BOTTOM_CENTER" prefHeight="12.0" prefWidth="800.0" style="-fx-background-color: #2f8f8b;" GridPane.rowIndex="2"> | ||
| <children> | ||
| <GridPane HBox.hgrow="ALWAYS"> | ||
| <columnConstraints> | ||
| <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="60.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> | ||
| <StackPane prefHeight="150.0" prefWidth="200.0"> | ||
| <children> | ||
| <Rectangle fill="#2f8f8b" height="130.0" stroke="TRANSPARENT" strokeType="INSIDE" translateY="1.0" width="800.0" /> | ||
| <Label text="Help" textFill="WHITE" translateX="80.0" StackPane.alignment="CENTER_LEFT"> | ||
| <font> | ||
| <Font name="System Bold" size="26.0" /> | ||
| </font> | ||
| </Label> | ||
| <Label text="Me" textFill="#c8e6c9" translateX="145.0" StackPane.alignment="CENTER_LEFT"> | ||
| <font> | ||
| <Font name="System Bold" size="26.0" /> | ||
| </font> | ||
| </Label> | ||
| <Label text="Help" textFill="WHITE" translateX="192.0" StackPane.alignment="CENTER_LEFT"> | ||
| <font> | ||
| <Font name="System Bold" size="26.0" /> | ||
| </font> | ||
| </Label> | ||
| <Rectangle fill="WHITE" height="90.0" stroke="TRANSPARENT" strokeType="INSIDE" translateX="-120.0" width="2.0" /> | ||
| <VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0" translateX="-40.0" StackPane.alignment="CENTER_LEFT"> | ||
| <children> | ||
| <Label text="About us" textFill="WHITE"> | ||
| <font> | ||
| <Font name="System Bold" size="16.0" /> | ||
| </font> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
| </Label> | ||
| <Label text="Something else" textFill="WHITE"> | ||
| <font> | ||
| <Font name="System Bold" size="16.0" /> | ||
| </font> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
| </Label> | ||
| <Label text="Third link" textFill="WHITE"> | ||
| <font> | ||
| <Font name="System Bold" size="16.0" /> | ||
| </font> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
| </Label> | ||
| </children> | ||
| </VBox> | ||
| </children> | ||
| </StackPane> | ||
| <StackPane alignment="CENTER_RIGHT" prefHeight="150.0" prefWidth="200.0" GridPane.columnIndex="1"> | ||
| <children> | ||
| <ImageView fitHeight="71.0" fitWidth="161.0" pickOnBounds="true" preserveRatio="true" translateX="-60.0" translateY="-30.0"> | ||
| <image> | ||
| <Image url="@../hmhbadge.png" /> | ||
| </image> | ||
| </ImageView> | ||
| <Label maxWidth="200.0" text="All data is consistently updated and reverified" textAlignment="CENTER" textFill="WHITE" translateY="30.0" wrapText="true"> | ||
| <font> | ||
| <Font name="System Bold" size="14.0" /> | ||
| </font> | ||
| </Label> | ||
| </children> | ||
| </StackPane> | ||
| </children> | ||
| </GridPane> | ||
| </children> | ||
| </HBox> | ||
| </children> | ||
| </GridPane> |
Oops, something went wrong.