-
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.
- Loading branch information
Showing
3 changed files
with
48 additions
and
70 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...papplication/src/main/java/ntnu/systemutvikling/team6/controller/FrontpageController.java
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,4 @@ | ||
| package ntnu.systemutvikling.team6.controller; | ||
|
|
||
| public class FrontpageController { | ||
| } |
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
39 changes: 39 additions & 0 deletions
39
helpmehelpapplication/src/main/resources/fxml/organizationCard.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,39 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <?import javafx.geometry.Insets?> | ||
| <?import javafx.scene.control.Button?> | ||
| <?import javafx.scene.control.Label?> | ||
| <?import javafx.scene.image.ImageView?> | ||
| <?import javafx.scene.layout.HBox?> | ||
| <?import javafx.scene.layout.Region?> | ||
| <?import javafx.scene.layout.VBox?> | ||
| <?import javafx.scene.text.Font?> | ||
|
|
||
|
|
||
| <VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="240.0" prefWidth="380.0" spacing="12.0" style="-fx-background-color: white; -fx-background-radius: 20; -fx-border-radius: 20; -fx-border-color: #3b82f6; -fx-border-width: 2;" xmlns="http://javafx.com/javafx/25" xmlns:fx="http://javafx.com/fxml/1"> | ||
| <padding> | ||
| <Insets bottom="12.0" left="12.0" right="12.0" top="12.0" /> | ||
| </padding> | ||
| <children> | ||
| <HBox prefHeight="100.0" prefWidth="200.0" spacing="10.0"> | ||
| <children> | ||
| <ImageView fitHeight="60.0" fitWidth="60.0" pickOnBounds="true" preserveRatio="true" /> | ||
| <Region prefHeight="200.0" prefWidth="200.0" HBox.hgrow="ALWAYS" /> | ||
| <Label style="-fx-background-color: #cdedcf; -fx-background-radius: 12; -fx-padding: 4 10 4 10; -fx-text-fill: #2e7d32; -fx-font-size: 12;" text="Verified" /> | ||
| </children> | ||
| </HBox> | ||
| <Label text="Organization name"> | ||
| <font> | ||
| <Font name="System Bold" size="26.0" /> | ||
| </font> | ||
| </Label> | ||
| <Label prefWidth="300.0" text="Some interesting information about the organization" wrapText="true" /> | ||
| <Region prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS" /> | ||
| <HBox alignment="CENTER_LEFT" prefHeight="100.0" prefWidth="200.0" spacing="12.0"> | ||
| <children> | ||
| <Button mnemonicParsing="false" prefWidth="110.0" style="-fx-background-color: #2e7d32; -fx-background-radius: 16; -fx-text-fill: white; -fx-font-weight: bold;" text="Donate" /> | ||
| <Button mnemonicParsing="false" prefWidth="110.0" style="-fx-background-color: #2563eb; -fx-background-radius: 16; -fx-text-fill: white; -fx-font-weight: bold;" text="View details" /> | ||
| </children> | ||
| </HBox> | ||
| </children> | ||
| </VBox> |