Compare commits
1 Commits
d574849407
...
1710-UI-an
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f7fa449d5 |
@@ -1,12 +0,0 @@
|
|||||||
package users;
|
|
||||||
|
|
||||||
import javafx.scene.control.CheckBox;
|
|
||||||
import javafx.scene.control.TextField;
|
|
||||||
|
|
||||||
public class CreateUserController {
|
|
||||||
|
|
||||||
public TextField textName;
|
|
||||||
public TextField textPassword;
|
|
||||||
public TextField textPasswordSecond;
|
|
||||||
public CheckBox checkBoxIsAdmin;
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
|
|
||||||
<?import javafx.scene.control.*?>
|
|
||||||
<?import javafx.scene.layout.*?>
|
|
||||||
<GridPane xmlns="http://javafx.com/javafx"
|
|
||||||
xmlns:fx="http://javafx.com/fxml"
|
|
||||||
fx:controller="users.CreateUserController">
|
|
||||||
<columnConstraints>
|
|
||||||
<ColumnConstraints/>
|
|
||||||
<ColumnConstraints/>
|
|
||||||
<ColumnConstraints/>
|
|
||||||
</columnConstraints>
|
|
||||||
<rowConstraints>
|
|
||||||
<RowConstraints vgrow="ALWAYS" />
|
|
||||||
<RowConstraints vgrow="ALWAYS" />
|
|
||||||
<RowConstraints vgrow="ALWAYS" />
|
|
||||||
<RowConstraints vgrow="ALWAYS" />
|
|
||||||
<RowConstraints vgrow="ALWAYS" />
|
|
||||||
<RowConstraints vgrow="ALWAYS" />
|
|
||||||
</rowConstraints>
|
|
||||||
|
|
||||||
<Label styleClass="mainLabel">User anlegen</Label>
|
|
||||||
|
|
||||||
<Label styleClass="inputLabel" GridPane.rowIndex="1">Name:</Label>
|
|
||||||
<Label styleClass="inputLabel" GridPane.rowIndex="3">Passwort:</Label>
|
|
||||||
<Label styleClass="inputLabel" GridPane.rowIndex="4">Passwort wiederholen:</Label>
|
|
||||||
<Label styleClass="inputLabel" GridPane.rowIndex="6">Admin:</Label>
|
|
||||||
|
|
||||||
<TextField fx:id="textName" GridPane.columnIndex="2" GridPane.rowIndex="1" maxWidth="400" minWidth="400"/>
|
|
||||||
<TextField fx:id="textPassword" GridPane.columnIndex="2" GridPane.rowIndex="3" maxWidth="400" minWidth="400"/>
|
|
||||||
<TextField fx:id="textPasswordSecond" GridPane.columnIndex="2" GridPane.rowIndex="4" maxWidth="400" minWidth="400"/>
|
|
||||||
|
|
||||||
<CheckBox fx:id="checkBoxIsAdmin" GridPane.columnIndex="2" GridPane.rowIndex="6"/>
|
|
||||||
</GridPane>
|
|
||||||
|
|
||||||
@@ -8,4 +8,29 @@
|
|||||||
|
|
||||||
<GridPane xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" fx:controller="users.LoginControler">
|
<GridPane xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" fx:controller="users.LoginControler">
|
||||||
|
|
||||||
|
<columnConstraints>
|
||||||
|
<ColumnConstraints/>
|
||||||
|
<ColumnConstraints/>
|
||||||
|
<ColumnConstraints/>
|
||||||
|
</columnConstraints>
|
||||||
|
<rowConstraints>
|
||||||
|
<RowConstraints vgrow="ALWAYS" />
|
||||||
|
<RowConstraints vgrow="ALWAYS" />
|
||||||
|
<RowConstraints vgrow="ALWAYS" />
|
||||||
|
<RowConstraints vgrow="ALWAYS" />
|
||||||
|
</rowConstraints>
|
||||||
|
|
||||||
|
<Label GridPane.columnIndex="1">Anmelden</Label>
|
||||||
|
|
||||||
|
<Label GridPane.rowIndex="1">Username</Label>
|
||||||
|
<TextField GridPane.columnIndex="1" GridPane.rowIndex="1" fx:id="userField"></TextField>
|
||||||
|
<Label GridPane.columnIndex="2" GridPane.rowIndex="1" fx:id="userErrLabel">Error</Label>
|
||||||
|
|
||||||
|
<Label GridPane.rowIndex="2">Paswort</Label>
|
||||||
|
<PasswordField GridPane.columnIndex="1" GridPane.rowIndex="2" fx:id="passField"></PasswordField>
|
||||||
|
<Label GridPane.columnIndex="2" GridPane.rowIndex="2" fx:id="passErrLabel">Error</Label>
|
||||||
|
|
||||||
|
<Button GridPane.columnIndex="1" GridPane.rowIndex="3">Beenden</Button>
|
||||||
|
<Button GridPane.columnIndex="2" GridPane.rowIndex="3">Anmelden</Button>
|
||||||
|
|
||||||
</GridPane>
|
</GridPane>
|
||||||
|
|||||||
Reference in New Issue
Block a user