-
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.
Feat: Removed /target from and gitignore so you can see JaCoCo
- Loading branch information
AdrianBalunan
committed
Apr 24, 2026
1 parent
2329d0d
commit 0508add
Showing
358 changed files
with
17,407 additions
and
3 deletions.
There are no files selected for viewing
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 |
|---|---|---|
| @@ -1,7 +1,4 @@ | ||
| # Adrian | ||
| .vscode/ | ||
| .idea/ | ||
| helpmehelpapplication/target | ||
| .target/ | ||
| .helpmehelpapplication\target/ | ||
| .helpmehelpapplication\.idea/ |
436 changes: 436 additions & 0 deletions
436
helpmehelpapplication/target/classes/fxml/aboutPage.fxml
Large diffs are not rendered by default.
Oops, something went wrong.
64 changes: 64 additions & 0 deletions
64
helpmehelpapplication/target/classes/fxml/available_organizations.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,64 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <?import javafx.geometry.Insets?> | ||
| <?import javafx.scene.control.Label?> | ||
| <?import javafx.scene.control.ScrollPane?> | ||
| <?import javafx.scene.control.TextField?> | ||
| <?import javafx.scene.layout.BorderPane?> | ||
| <?import javafx.scene.layout.ColumnConstraints?> | ||
| <?import javafx.scene.layout.FlowPane?> | ||
| <?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 prefHeight="900.0" prefWidth="1400.0" style="-fx-background-color: #f4f4f4;" xmlns="http://javafx.com/javafx/25" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ntnu.systemutvikling.team6.controller.AvailableOrganizationController"> | ||
|
|
||
| <!-- NAVBAR --> | ||
| <top> | ||
| <fx:include fx:id="navbar" source="components/navbar.fxml" /> | ||
| </top> | ||
|
|
||
| <!-- MAIN CONTENT --> | ||
| <center> | ||
| <ScrollPane fitToWidth="true" hbarPolicy="NEVER" pannable="true" style="-fx-background: #f4f4f4; -fx-background-color: #f4f4f4;" vbarPolicy="AS_NEEDED"> | ||
| <content> | ||
|
|
||
| <VBox spacing="30.0" style="-fx-background-color: #f4f4f4;"> | ||
| <padding> | ||
| <Insets bottom="20.0" left="40.0" right="20.0" top="30.0" /> | ||
| </padding> | ||
|
|
||
| <children> | ||
| <Label text="Search" textFill="#163b9f"> | ||
| <font> | ||
| <Font name="System Bold" size="32.0" /> | ||
| </font> | ||
| </Label> | ||
| <TextField fx:id="searchField" prefHeight="50.0" prefWidth="1318.0" promptText="Search" style="-fx-background-radius: 15;"> | ||
| <font> | ||
| <Font size="18.0" /> | ||
| </font></TextField> | ||
| <Label text="Resulting Available Organizations" textFill="Black"> | ||
| <font> | ||
| <Font name="System Bold" size="26.0" /> | ||
| </font> | ||
| </Label> | ||
| <FlowPane fx:id="cardsContainer" hgap="20.0" vgap="20.0" HBox.hgrow="ALWAYS"> | ||
|
|
||
| </FlowPane> | ||
|
|
||
| </children> | ||
| </VBox> | ||
| </content> | ||
| </ScrollPane> | ||
| </center> | ||
|
|
||
| <!-- FOOTER --> | ||
| <bottom> | ||
| <!-- This pulls in the navbar with its own controller --> | ||
| <fx:include fx:id="footer" source="components/footer.fxml" /> | ||
| </bottom> | ||
|
|
||
| </BorderPane> |
365 changes: 365 additions & 0 deletions
365
helpmehelpapplication/target/classes/fxml/charityPage.fxml
Large diffs are not rendered by default.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
helpmehelpapplication/target/classes/fxml/components/categoryTag.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,13 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <?import java.lang.*?> | ||
| <?import java.util.*?> | ||
| <?import javafx.scene.*?> | ||
| <?import javafx.scene.control.*?> | ||
| <?import javafx.scene.layout.*?> | ||
|
|
||
| <VBox alignment="CENTER" spacing="8" xmlns="http://javafx.com/javafx/25" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ntnu.systemutvikling.team6.controller.components.CategoryTagController"> | ||
| <children> | ||
| <Button fx:id="Button" style="-fx-background-color: #E5F0D7; -fx-text-fill: #6E8A5C; -fx-font-size: 16px;" text="Non-profit" /> | ||
| </children> | ||
| </VBox> |
33 changes: 33 additions & 0 deletions
33
helpmehelpapplication/target/classes/fxml/components/feedbackCard.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,33 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <?import javafx.scene.control.Label?> | ||
| <?import javafx.scene.layout.HBox?> | ||
| <?import javafx.scene.layout.VBox?> | ||
| <?import javafx.scene.shape.Circle?> | ||
| <?import javafx.scene.text.Font?> | ||
|
|
||
| <HBox alignment="CENTER_LEFT" spacing="16.0" style="-fx-background-color: #FFFFFF; -fx-border-color: transparent transparent #EEEEEE transparent; -fx-border-width: 1; -fx-padding: 14 20 14 20;" xmlns="http://javafx.com/javafx/25" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ntnu.systemutvikling.team6.controller.components.FeedbackCardController"> | ||
| <children> | ||
|
|
||
| <Circle fx:id="avatar" fill="#D9D9D9" radius="20.0" /> | ||
|
|
||
| <VBox spacing="4.0" HBox.hgrow="ALWAYS"> | ||
| <children> | ||
| <HBox alignment="CENTER_LEFT" spacing="10.0"> | ||
| <children> | ||
| <Label fx:id="usernameLabel" style="-fx-text-fill: #111111;" text="sdfghjklø"> | ||
| <font><Font name="System Bold" size="13.0" /></font> | ||
| </Label> | ||
| <Label fx:id="dateLabel" style="-fx-text-fill: #AAAAAA;" text="xcfghuiknbghjk"> | ||
| <font><Font size="11.0" /></font> | ||
| </Label> | ||
| </children> | ||
| </HBox> | ||
| <Label fx:id="commentLabel" style="-fx-text-fill: #555555;" text="qwertyuio" wrapText="true"> | ||
| <font><Font size="12.0" /></font> | ||
| </Label> | ||
| </children> | ||
| </VBox> | ||
|
|
||
| </children> | ||
| </HBox> |
80 changes: 80 additions & 0 deletions
80
helpmehelpapplication/target/classes/fxml/components/footer.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,80 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <?import javafx.scene.*?> | ||
| <?import javafx.scene.control.*?> | ||
| <?import javafx.scene.image.*?> | ||
| <?import javafx.scene.layout.*?> | ||
| <?import javafx.scene.shape.*?> | ||
| <?import javafx.scene.text.*?> | ||
|
|
||
| <HBox alignment="BOTTOM_CENTER" prefHeight="180.0" prefWidth="800.0" style="-fx-background-color: #2f8f8b;" GridPane.rowIndex="2" xmlns="http://javafx.com/javafx/25" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ntnu.systemutvikling.team6.controller.components.FooterController"> | ||
| <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" mouseTransparent="true" stroke="TRANSPARENT" strokeType="INSIDE" translateY="1.0" width="800.0" /> | ||
| <Button fx:id="HelpMeHelp" alignment="CENTER" contentDisplay="CENTER" onAction="#switchToFrontPage" prefHeight="49.0" prefWidth="170.0" style="-fx-background-color: transparent;" translateX="80.0" StackPane.alignment="CENTER_LEFT"> | ||
| <graphic> | ||
| <TextFlow> | ||
| <Text fill="WHITE" text="Help"> | ||
| <font> | ||
| <Font name="System Bold" size="26.0" /> | ||
| </font> | ||
| </Text> | ||
|
|
||
| <Text fill="#c8e6c9" text="Me"> | ||
| <font> | ||
| <Font name="System Bold" size="26.0" /> | ||
| </font> | ||
| </Text> | ||
|
|
||
| <Text fill="WHITE" text="Help"> | ||
| <font> | ||
| <Font name="System Bold" size="26.0" /> | ||
| </font> | ||
| </Text> | ||
| </TextFlow> | ||
| </graphic> | ||
| <cursor> | ||
| <Cursor fx:constant="HAND" /> | ||
| </cursor> | ||
|
|
||
| </Button> | ||
| <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> | ||
| <Button fx:id="aboutUsLink" onAction="#switchToAboutPage" style="-fx-cursor:HAND; -fx-background-color: transparent; -fx-padding: 0;" text="About us" textFill="WHITE"> | ||
| <font> | ||
| <Font name="System Bold" size="16.0" /> | ||
| </font> | ||
| </Button> | ||
| </children> | ||
| </VBox> | ||
| </children> | ||
| </StackPane> | ||
| <StackPane alignment="CENTER_RIGHT" prefHeight="180.0" prefWidth="329.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="@../../images/img.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> |
43 changes: 43 additions & 0 deletions
43
helpmehelpapplication/target/classes/fxml/components/inboxCard.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,43 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <?import javafx.scene.control.Label?> | ||
| <?import javafx.scene.layout.HBox?> | ||
| <?import javafx.scene.layout.VBox?> | ||
| <?import javafx.scene.shape.Circle?> | ||
| <?import javafx.scene.text.Font?> | ||
|
|
||
| <HBox alignment="CENTER_LEFT" prefHeight="100.0" prefWidth="400.0" spacing="16.0" style="-fx-background-color: #1E1E1E; -fx-border-color: #333333; -fx-border-width: 1.2; -fx-border-radius: 16; -fx-background-radius: 16; -fx-padding: 16 22 16 22;" xmlns="http://javafx.com/javafx/25" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ntnu.systemutvikling.team6.controller.components.InboxCardController"> | ||
| <children> | ||
|
|
||
| <!-- Avatar circle --> | ||
| <Circle fill="#3A3A3A" radius="26.0" /> | ||
|
|
||
| <!-- Text content --> | ||
| <VBox alignment="CENTER_LEFT" spacing="4.0" HBox.hgrow="ALWAYS"> | ||
| <children> | ||
|
|
||
| <!-- Sender name --> | ||
| <Label fx:id="messageFrom" style="-fx-text-fill: #FFFFFF; -fx-font-weight: bold;" text="Something"> | ||
| <font><Font size="13.0" /></font> | ||
| </Label> | ||
|
|
||
| <!-- Subject --> | ||
| <Label fx:id="messageTitle" style="-fx-text-fill: #CCCCCC;" text="Something"> | ||
| <font><Font size="13.0" /></font> | ||
| </Label> | ||
|
|
||
| <!-- Preview --> | ||
| <Label fx:id="messageContent" style="-fx-text-fill: #DDDDDD;" text="Something"> | ||
| <font><Font size="11.0" /></font> | ||
| </Label> | ||
|
|
||
| </children> | ||
| </VBox> | ||
|
|
||
| <!-- Date pushed to the right --> | ||
| <Label fx:id="messageDate" style="-fx-text-fill: #555555;" text="Something" HBox.hgrow="NEVER"> | ||
| <font><Font size="10.0" /></font> | ||
| </Label> | ||
|
|
||
| </children> | ||
| </HBox> |
76 changes: 76 additions & 0 deletions
76
helpmehelpapplication/target/classes/fxml/components/interestCard.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,76 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <?import javafx.geometry.Insets?> | ||
| <?import javafx.scene.control.Button?> | ||
| <?import javafx.scene.control.Label?> | ||
| <?import javafx.scene.effect.DropShadow?> | ||
| <?import javafx.scene.layout.HBox?> | ||
| <?import javafx.scene.layout.Region?> | ||
| <?import javafx.scene.layout.VBox?> | ||
| <?import javafx.scene.paint.Color?> | ||
| <?import javafx.scene.text.Font?> | ||
|
|
||
| <VBox maxHeight="340" maxWidth="360.0" prefWidth="340.0" spacing="30.0" style="-fx-background-color: white; -fx-background-radius: 18; -fx-border-color: #9f9f9f; -fx-border-radius: 18;" xmlns="http://javafx.com/javafx/25" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ntnu.systemutvikling.team6.controller.components.InterestCardController"> | ||
| <effect> | ||
| <DropShadow height="8.0" offsetY="3.0" radius="6.0"> | ||
| <color> | ||
| <Color opacity="0.18" /> | ||
| </color> | ||
| </DropShadow> | ||
| </effect> | ||
| <children> | ||
| <HBox alignment="CENTER_LEFT" prefHeight="62.0" style="-fx-border-color: transparent transparent #9f9f9f transparent;"> | ||
| <padding> | ||
| <Insets bottom="10.0" left="14.0" right="14.0" top="10.0" /> | ||
| </padding> | ||
| <children> | ||
| <!-- | ||
| <ImageView fitHeight="34.0" fitWidth="52.0" pickOnBounds="true" preserveRatio="true"> | ||
| <image> | ||
| <Image url=""/> | ||
| </image> | ||
| </ImageView> | ||
| --> | ||
| <Region HBox.hgrow="ALWAYS" /> | ||
| <Label fx:id="verifyLabel" style="-fx-background-color: #d7f0d2; -fx-background-radius: 10; -fx-padding: 4 10 4 10;" text="Verified" textFill="#4f9b50"> | ||
| <font> | ||
| <Font size="11.0" /> | ||
| </font> | ||
| </Label> | ||
| </children> | ||
| </HBox> | ||
|
|
||
| <VBox spacing="10.0"> | ||
| <padding> | ||
| <Insets bottom="18.0" left="18.0" right="18.0" top="12.0" /> | ||
| </padding> | ||
| <children> | ||
| <Label fx:id="charityNameLabel" text="Organization" textFill="#111111"> | ||
| <font> | ||
| <Font name="System Bold" size="16.0" /> | ||
| </font> | ||
| </Label> | ||
| <Label fx:id="charityDescription" text="Some interesting information about the organization..." textFill="#333333" wrapText="true"> | ||
| <font> | ||
| <Font size="13.0" /> | ||
| </font> | ||
| </Label> | ||
|
|
||
| <HBox alignment="CENTER_LEFT" spacing="16.0"> | ||
| <children> | ||
| <Button fx:id="donateButton" onAction="#switchToDonate" style="-fx-background-color: #2f8f3a; -fx-text-fill: white; -fx-background-radius: 16; -fx-padding: 6 18 6 18;" text="Donate"> | ||
| <font> | ||
| <Font name="System Bold" size="11.0" /> | ||
| </font> | ||
| </Button> | ||
| <Button fx:id="detailsButton" onAction="#switchToCharity" style="-fx-background-color: #1F4FD8; -fx-text-fill: white; -fx-background-radius: 16; -fx-padding: 6 18 6 18;" text="View details"> | ||
| <font> | ||
| <Font name="System Bold" size="11.0" /> | ||
| </font> | ||
| </Button> | ||
| </children> | ||
| </HBox> | ||
| </children> | ||
| </VBox> | ||
| </children> | ||
| </VBox> |
Oops, something went wrong.