Compare commits

..

2 Commits

Author SHA1 Message Date
e817a7caa1 Merge pull request 'Tagespläne fix?' (#18) from samu_masken into master
Reviewed-on: #18
2024-01-19 11:50:36 +01:00
cac9a4f43a Tagespläne fix? 2024-01-19 11:49:59 +01:00
2 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,6 @@ import Logik.Tagesplan;
import RestAPISchnittstelle.RestApiClient; import RestAPISchnittstelle.RestApiClient;
import javafx.event.ActionEvent; import javafx.event.ActionEvent;
import javafx.fxml.FXML; import javafx.fxml.FXML;
import javafx.geometry.Pos;
import javafx.scene.control.Label; import javafx.scene.control.Label;
import javafx.scene.layout.GridPane; import javafx.scene.layout.GridPane;
import javafx.scene.text.TextAlignment; import javafx.scene.text.TextAlignment;
@ -13,6 +12,7 @@ import java.text.DateFormat;
import java.util.Date; import java.util.Date;
public class HauptmenueMitarbeiterView { public class HauptmenueMitarbeiterView {
@FXML @FXML
private GridPane wochenplan; private GridPane wochenplan;
private String date; private String date;
@ -61,8 +61,9 @@ public class HauptmenueMitarbeiterView {
t = new RestApiClient().getGerichteOnTag(date); t = new RestApiClient().getGerichteOnTag(date);
} }
} }
public void onAbmelden(ActionEvent actionEvent) { public void onAbmelden(ActionEvent actionEvent) {
//VerwaltungApplication.abmelden(); VerwaltungApplication.abmelden();
} }
public void onAccountAnlegenClick(ActionEvent actionEvent) { public void onAccountAnlegenClick(ActionEvent actionEvent) {

View File

@ -27,12 +27,11 @@
<Button text="Alle Bestellungen anzeigen" onAction="#onBestellungenAnzeigen"/> <Button text="Alle Bestellungen anzeigen" onAction="#onBestellungenAnzeigen"/>
<Button text="Rechnungen herunterladen"/> <Button text="Rechnungen herunterladen"/>
<Button text="Daten importieren/Exportieren"/> <Button text="Daten importieren/Exportieren"/>
<Button text="Accounts verwalten" onAction="#onAccountAnlegenClick"/> <Button text="Account anlegen" onAction="#onAccountAnlegenClick"/>
</VBox> </VBox>
</left> </left>
<right> <right>
<GridPane fx:id="wochenplan" styleClass="hauptmenue_wochenuebersicht"> <GridPane fx:id="wochenplan" styleClass="hauptmenue_wochenuebersicht">
</GridPane> </GridPane>
</right> </right>
</BorderPane> </BorderPane>