Styled login

This commit is contained in:
2021-12-21 08:56:07 +01:00
parent e7b376e722
commit ded0b9042f
3 changed files with 40 additions and 2 deletions

View File

@@ -20,11 +20,11 @@
<Label GridPane.rowIndex="1">Username</Label>
<TextField GridPane.columnIndex="1" GridPane.rowIndex="1" fx:id="userField" />
<Label GridPane.columnIndex="2" GridPane.rowIndex="1" fx:id="userErrLabel"/>
<Label styleClass="errorLbl" GridPane.columnIndex="2" GridPane.rowIndex="1" fx:id="userErrLabel"/>
<Label GridPane.rowIndex="2">Paswort</Label>
<PasswordField GridPane.columnIndex="1" GridPane.rowIndex="2" fx:id="passField" />
<Label GridPane.columnIndex="2" GridPane.rowIndex="2" fx:id="passErrLabel"/>
<Label styleClass="errorLbl" GridPane.columnIndex="2" GridPane.rowIndex="2" fx:id="passErrLabel"/>
<Button onAction="#abortBtnClick" GridPane.columnIndex="1" GridPane.rowIndex="3">Beenden</Button>
<Button onAction="#login" GridPane.columnIndex="2" GridPane.rowIndex="3">Anmelden</Button>