perfin/src/main/resources/account-view.fxml

57 lines
2.4 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane
xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.andrewlalis.perfin.control.AccountViewController"
stylesheets="@style/account-view.css,@style/base.css"
>
<top>
<HBox styleClass="std-padding,std-spacing">
<Label fx:id="titleLabel" styleClass="large-text,bold-text"/>
</HBox>
</top>
<center>
<VBox styleClass="std-padding,std-spacing">
2023-12-28 17:57:03 +00:00
<HBox>
<!-- Main account properties. -->
2023-12-28 21:19:21 +00:00
<VBox HBox.hgrow="SOMETIMES" style="-fx-border-color: blue">
2023-12-28 17:57:03 +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" styleClass="mono-font"/>
2023-12-28 17:57:03 +00:00
</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>
<VBox styleClass="account-property-box">
<Label text="Current Balance"/>
<TextField fx:id="accountBalanceField" editable="false"/>
</VBox>
</VBox>
2023-12-28 21:19:21 +00:00
<VBox HBox.hgrow="SOMETIMES" style="-fx-border-color: red">
<Label text="Panel 2"/>
</VBox>
2023-12-28 17:57:03 +00:00
</HBox>
</VBox>
</center>
<right>
<VBox styleClass="std-padding,std-spacing">
<Label text="Actions" styleClass="bold-text"/>
<Button text="Edit" onAction="#goToEditPage"/>
2023-12-28 17:57:03 +00:00
<Button text="Archive" onAction="#archiveAccount"/>
<Button text="Delete" onAction="#deleteAccount"/>
</VBox>
</right>
</BorderPane>