EssensverwaltungMitarbeiterView fertig

This commit is contained in:
2023-12-20 08:25:05 +01:00
13 changed files with 608 additions and 26 deletions

View File

@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<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 GridPane.rowIndex="0" GridPane.columnIndex="1"/>
<Label text="E-Mail:" GridPane.rowIndex="1" GridPane.columnIndex="0"/>
<TextField 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="Speichern" onAction="#onSpeichern"/>
</HBox>
</right>
</BorderPane>
</bottom>
</BorderPane>

View File

@@ -27,7 +27,7 @@
<Button text="Alle Bestellungen anzeigen"/>
<Button text="Rechnungen herunterladen"/>
<Button text="Daten importieren/Exportieren"/>
<Button text="Account anlegen"/>
<Button text="Account anlegen" onAction="#onAccountAnlegen"/>
</VBox>
</left>
<right>
@@ -43,9 +43,4 @@
</right>
</BorderPane>
</center>
<right>
<TilePane>
</TilePane>
</right>
</BorderPane>

View File

@@ -3,6 +3,9 @@
-fx-font-size: 15;
}
* {
-fx-font-size: 15;
}
.kopfzeile{
@@ -49,7 +52,7 @@
-fx-pref-width: 200;
}
.login_btn_anmelden {
.button-untenrechts {
-fx-padding: 20;
}
@@ -61,26 +64,21 @@
-fx-font-size: 30;
}
.test {
-fx-padding: 10 20;
.text-field {
-fx-pref-width: 225;
-fx-pref-height: 32;
}
.essensuebersicht_gridlines {
-fx-grid-lines-visible: true;
.accounterstellung_daten {
-fx-vgap: 10;
-fx-hgap: 10;
}
.essensuebersicht_gridlines > * {
-fx-alignment: center;
.accounterstellung_links {
-fx-spacing: 20;
}
.pfeil{
-fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
-fx-background-insets: 0 0 -1 0, 0;
-fx-padding: 0.25em;
-fx-shape: "M 0 -3.5 v 7 l 4 -3.5 z";
-fx-pref-width: 25;
}
.links {
-fx-rotate: 180;
.falscheEingabe {
-fx-background-color: #FFDCDC;
-fx-text-fill: #FFDCDC;
}

View File

@@ -30,7 +30,7 @@
<bottom>
<BorderPane>
<right>
<VBox styleClass="login_btn_anmelden">
<VBox styleClass="button-untenrechts">
<Button text="Anmelden" onAction="#onAnmeldenClick"/>
</VBox>