Login page

This commit is contained in:
Clément
2025-03-05 18:08:26 +01:00
parent 6d228aee55
commit 5cefe42a99
4 changed files with 77 additions and 2 deletions

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.geometry.Insets?>
<GridPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="client.ClientLogin"
prefHeight="400.0" prefWidth="600.0">
<VBox spacing="10.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
<Label text="Enter your username"/>
<TextField fx:id="usernameField"/>
<Button text="Login" onAction="#login"/>
</VBox>
<columnConstraints>
<ColumnConstraints hgrow="ALWAYS"/>
<ColumnConstraints halignment="CENTER"/>
<ColumnConstraints hgrow="ALWAYS"/>
</columnConstraints>
<rowConstraints>
<RowConstraints vgrow="ALWAYS"/>
<RowConstraints valignment="CENTER"/>
<RowConstraints vgrow="ALWAYS"/>
</rowConstraints>
</GridPane>