diff options
| author | Kostya <mail@sartin.in> | 2026-10-14 17:52:19 +0300 |
|---|---|---|
| committer | Kostya <mail@sartin.in> | 2026-10-14 17:52:45 +0300 |
| commit | 6968a0105ad521d7b86b15555f8f627094a59725 (patch) | |
| tree | 75b6229b1c2dbecf9452e86b453524215a4ac2c0 /ui-fx/src/main/resources/market | |
| parent | 1de283bd86ac1367f4c2c91a0417859c91b676ce (diff) | |
| download | guess-market-6968a0105ad521d7b86b15555f8f627094a59725.tar.gz guess-market-6968a0105ad521d7b86b15555f8f627094a59725.tar.xz guess-market-6968a0105ad521d7b86b15555f8f627094a59725.zip | |
ui-fx: list the account's ledger entries on the Users tab
Ex3 asks that a user can see every row of their account as it changes,
one row per action. The entries already reach the client in LedgerDTO
but were only drawn as the balance chart.
Add an Account activity table under the trade panel: time, type,
details, amount and balance after, newest first.
Diffstat (limited to 'ui-fx/src/main/resources/market')
| -rw-r--r-- | ui-fx/src/main/resources/market/guess/ui/desktop/controllers/users_tab.fxml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ui-fx/src/main/resources/market/guess/ui/desktop/controllers/users_tab.fxml b/ui-fx/src/main/resources/market/guess/ui/desktop/controllers/users_tab.fxml index abc03e5..fcb1653 100644 --- a/ui-fx/src/main/resources/market/guess/ui/desktop/controllers/users_tab.fxml +++ b/ui-fx/src/main/resources/market/guess/ui/desktop/controllers/users_tab.fxml | |||
| @@ -231,6 +231,34 @@ | |||
| 231 | </VBox> | 231 | </VBox> |
| 232 | </children> | 232 | </children> |
| 233 | </VBox> | 233 | </VBox> |
| 234 | <VBox spacing="7.0"> | ||
| 235 | <children> | ||
| 236 | <HBox alignment="CENTER_LEFT"> | ||
| 237 | <children> | ||
| 238 | <Label styleClass="gm-text-base, gm-font-semibold, gm-text-ink" text="Account activity" /> | ||
| 239 | <Region HBox.hgrow="ALWAYS" /> | ||
| 240 | <Label styleClass="gm-text-sm, gm-font-regular, gm-text-ink2" text="newest first" /> | ||
| 241 | </children> | ||
| 242 | </HBox> | ||
| 243 | <VBox styleClass="gm-card-panel"> | ||
| 244 | <children> | ||
| 245 | <HBox alignment="CENTER_LEFT" spacing="8.0" styleClass="gm-bg-panel3"> | ||
| 246 | <padding> | ||
| 247 | <Insets bottom="8.0" left="11.0" right="11.0" top="8.0" /> | ||
| 248 | </padding> | ||
| 249 | <children> | ||
| 250 | <Label minWidth="150.0" prefWidth="150.0" styleClass="gm-text-xs, gm-font-semibold, gm-text-ink2, gm-font-mono" text="Time" /> | ||
| 251 | <Label minWidth="96.0" prefWidth="96.0" styleClass="gm-text-xs, gm-font-semibold, gm-text-ink2, gm-font-mono" text="Type" /> | ||
| 252 | <Label maxWidth="1.7976931348623157E308" minWidth="0.0" styleClass="gm-text-xs, gm-font-semibold, gm-text-ink2, gm-font-mono" text="Details" textOverrun="ELLIPSIS" HBox.hgrow="ALWAYS" /> | ||
| 253 | <Label alignment="CENTER_RIGHT" minWidth="90.0" prefWidth="90.0" styleClass="gm-text-xs, gm-font-semibold, gm-text-ink2, gm-font-mono" text="Amount" /> | ||
| 254 | <Label alignment="CENTER_RIGHT" minWidth="90.0" prefWidth="90.0" styleClass="gm-text-xs, gm-font-semibold, gm-text-ink2, gm-font-mono" text="Balance" /> | ||
| 255 | </children> | ||
| 256 | </HBox> | ||
| 257 | <VBox fx:id="ledgerRowsContainer" /> | ||
| 258 | </children> | ||
| 259 | </VBox> | ||
| 260 | </children> | ||
| 261 | </VBox> | ||
| 234 | </children> | 262 | </children> |
| 235 | </VBox> | 263 | </VBox> |
| 236 | </content> | 264 | </content> |