EssensverwaltungMitarbeiter Maske

This commit is contained in:
2023-12-13 12:43:22 +01:00
parent 4bc951b162
commit 2652f5e9ac
5 changed files with 161 additions and 2 deletions

View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Erstellt von Max Heer-->
<?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.EssensverwaltungMitarbeiterView"
prefHeight="400.0" prefWidth="600.0"
stylesheets="@layout.css">
<top>
<BorderPane styleClass="kopfzeile">
<right>
<Button text="Abmelden" onAction="#onAbmelden"/>
</right>
<left>
<Button text="Zurück" onAction="#onZurueck"/>
</left>
</BorderPane>
</top>
<center>
<BorderPane>
<top>
<BorderPane>
<left>
<HBox styleClass="test" spacing="10">
<Button text="Filter" onAction="#onFilter"/>
<Button text="Hinzufügen" onAction="#onHinzufuegen"/>
</HBox>
</left>
<right>
<HBox styleClass="test" spacing="10">
<Button styleClass="pfeil, links"/>
<Label text="Montag DD.MM.YY"/>
<Button styleClass="pfeil"/>
</HBox>
</right>
</BorderPane>
</top>
<center>
<AnchorPane>
<GridPane fx:id="tagesplan" AnchorPane.bottomAnchor="20" AnchorPane.rightAnchor="20" AnchorPane.leftAnchor="20" AnchorPane.topAnchor="20" styleClass="essensuebersicht_gridlines">
<Label text="GerichtName" GridPane.columnIndex="0" GridPane.rowIndex="0"/>
<Label GridPane.columnIndex="1" GridPane.rowIndex="0"/>
<Label GridPane.columnIndex="2" GridPane.rowIndex="0"/>
<Label GridPane.columnIndex="3" GridPane.rowIndex="0"/>
<Label GridPane.columnIndex="0" GridPane.rowIndex="1"/>
</GridPane>
</AnchorPane>
</center>
</BorderPane>
</center>
<bottom>
<BorderPane styleClass="button-untenrechts">
<right>
<Button text="Bestätigen" styleClass=".button"/>
</right>
</BorderPane>
</bottom>
</BorderPane>

View File

@@ -61,3 +61,26 @@
-fx-font-size: 30;
}
.test {
-fx-padding: 10 20;
}
.essensuebersicht_gridlines {
-fx-grid-lines-visible: true;
}
.essensuebersicht_gridlines > * {
-fx-alignment: center;
}
.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;
}