2023-12-24 16:47:38 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<?import javafx.scene.control.*?>
|
2023-12-25 23:31:01 +00:00
|
|
|
<?import javafx.scene.layout.*?>
|
2023-12-24 16:47:38 +00:00
|
|
|
<BorderPane
|
|
|
|
xmlns="http://javafx.com/javafx"
|
|
|
|
xmlns:fx="http://javafx.com/fxml"
|
|
|
|
fx:controller="com.andrewlalis.perfin.control.AccountViewController"
|
|
|
|
stylesheets="@style/account-view.css"
|
|
|
|
styleClass="main-container"
|
|
|
|
>
|
|
|
|
<top>
|
|
|
|
<Label fx:id="titleLabel"/>
|
|
|
|
</top>
|
|
|
|
<center>
|
2023-12-26 18:47:27 +00:00
|
|
|
<VBox>
|
2023-12-24 16:47:38 +00:00
|
|
|
<VBox styleClass="account-property-box">
|
|
|
|
<Label text="Name"/>
|
|
|
|
<TextField fx:id="accountNameField" editable="false"/>
|
|
|
|
</VBox>
|
|
|
|
<VBox styleClass="account-property-box">
|
|
|
|
<Label text="Number"/>
|
|
|
|
<TextField fx:id="accountNumberField" editable="false"/>
|
|
|
|
</VBox>
|
|
|
|
<VBox styleClass="account-property-box">
|
|
|
|
<Label text="Currency"/>
|
|
|
|
<TextField fx:id="accountCurrencyField" editable="false"/>
|
|
|
|
</VBox>
|
|
|
|
<VBox styleClass="account-property-box">
|
|
|
|
<Label text="Created At"/>
|
|
|
|
<TextField fx:id="accountCreatedAtField" editable="false"/>
|
|
|
|
</VBox>
|
2023-12-28 16:32:20 +00:00
|
|
|
<VBox styleClass="account-property-box">
|
|
|
|
<Label text="Current Balance"/>
|
|
|
|
<TextField fx:id="accountBalanceField" editable="false"/>
|
|
|
|
</VBox>
|
2023-12-24 16:47:38 +00:00
|
|
|
</VBox>
|
|
|
|
</center>
|
2023-12-25 23:31:01 +00:00
|
|
|
<right>
|
2023-12-26 18:47:27 +00:00
|
|
|
<VBox styleClass="actions-box">
|
|
|
|
<Label text="Actions" style="-fx-font-weight: bold;"/>
|
|
|
|
<Button text="Edit" onAction="#goToEditPage"/>
|
|
|
|
<Button text="Delete" onAction="#deleteAccount"/>
|
2023-12-25 23:31:01 +00:00
|
|
|
</VBox>
|
|
|
|
</right>
|
2023-12-24 16:47:38 +00:00
|
|
|
</BorderPane>
|