<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

<!-- Erstellt von Sven Alteköster -->

<BorderPane xmlns="http://javafx.com/javafx"
            xmlns:fx="http://javafx.com/fxml"
            fx:controller="de.subway_surfers.vpr_app.AccounterstellungMitarbeiter"
            prefHeight="400.0" prefWidth="600.0"
            stylesheets="@layout.css">

    <top>
        <BorderPane styleClass="kopfzeile">
            <left>
                <Button text="Zurück" onAction="#onZurueck"/>
            </left>
            <right>
                <Button text="Abmelden" onAction="#onAbmelden"/>
            </right>
        </BorderPane>
    </top>
    <center>
        <BorderPane styleClass="main">
            <left>
                <VBox styleClass="accounterstellung_links">
                    <GridPane styleClass="accounterstellung_daten">
                        <Label text="Accountname:" GridPane.rowIndex="0" GridPane.columnIndex="0"/>
                        <TextField fx:id="accountname" GridPane.rowIndex="0" GridPane.columnIndex="1"/>
                        <Label text="E-Mail:" GridPane.rowIndex="1" GridPane.columnIndex="0"/>
                        <TextField fx:id="email" GridPane.rowIndex="1" GridPane.columnIndex="1"/>
                        <RadioButton fx:id="typMitarbeiter" onAction="#onTypMitarbeiter" text="Mitarbeiter" GridPane.rowIndex="2" GridPane.columnIndex="0"/>
                        <RadioButton fx:id="typEltern" onAction="#onTypEltern" text="Eltern" GridPane.rowIndex="2" GridPane.columnIndex="1"/>
                    </GridPane>
                    <GridPane fx:id="kindDaten" styleClass="accounterstellung_daten"/>
                    <HBox fx:id="kindanzeige"/>
                </VBox>
            </left>
            <right>
                <HBox>
                    <Label text="Einmalpasswort: "/>
                    <Label fx:id="einmalpw"/>
                </HBox>
            </right>
        </BorderPane>
    </center>
    <bottom>
        <BorderPane>
            <right>
                <HBox styleClass="button-untenrechts">
                    <Label fx:id="status"/>
                    <Button text="Laden" onAction="#onLaden"/>
                    <Button text="Speichern" defaultButton="true" onAction="#onSpeichern"/>
                </HBox>
            </right>
        </BorderPane>
    </bottom>
</BorderPane>
