summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/resources/fxml/createNewEmployee.fxml10
-rw-r--r--src/main/resources/fxml/manageEmployees.fxml72
2 files changed, 24 insertions, 58 deletions
diff --git a/src/main/resources/fxml/createNewEmployee.fxml b/src/main/resources/fxml/createNewEmployee.fxml
index 3043952..47e8b63 100644
--- a/src/main/resources/fxml/createNewEmployee.fxml
+++ b/src/main/resources/fxml/createNewEmployee.fxml
@@ -7,13 +7,9 @@
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
-
-<AnchorPane xmlns="http://javafx.com/javafx/9.0.1"
- xmlns:fx="http://javafx.com/fxml/1"
- styleClass="bg-white"
- fx:id="apCreateNewEmployee"
- prefWidth="${apCreateNewEmployee.parent.width}"
- prefHeight="120"
+<AnchorPane fx:id="apCreateNewEmployee" prefHeight="120"
+ prefWidth="${apCreateNewEmployee.parent.width}" styleClass="bg-white"
+ xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.CreateNewEmployeeController">
<children>
<Label fx:id="lblHeader" layoutX="14.0" layoutY="14.0" text="Neue Person erstellen"/>
diff --git a/src/main/resources/fxml/manageEmployees.fxml b/src/main/resources/fxml/manageEmployees.fxml
index 05e729d..68851e2 100644
--- a/src/main/resources/fxml/manageEmployees.fxml
+++ b/src/main/resources/fxml/manageEmployees.fxml
@@ -4,67 +4,37 @@
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.layout.AnchorPane?>
-<AnchorPane
- fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.ManageEmployeesController"
- fx:id="listEmployeesAP"
- prefHeight="536.0"
- prefWidth="702.0"
- stylesheets="@/styles/main.css"
- visible="false"
- styleClass="bg-gray-orange"
- xmlns="http://javafx.com/javafx/9.0.1"
- xmlns:fx="http://javafx.com/fxml/1">
+<?import javafx.scene.layout.VBox?>
+
+<AnchorPane fx:id="listEmployeesAP" prefHeight="536.0" prefWidth="702.0" styleClass="bg-gray-orange"
+ stylesheets="@/styles/main.css" visible="false" xmlns="http://javafx.com/javafx/9.0.1"
+ xmlns:fx="http://javafx.com/fxml/1"
+ fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.controller.ManageEmployeesController">
<children>
- <AnchorPane prefHeight="120.0"
- styleClass="bg-dark-orange"
- AnchorPane.leftAnchor="0.0"
- AnchorPane.rightAnchor="0.0"
- AnchorPane.topAnchor="0.0">
+ <AnchorPane prefHeight="120.0" styleClass="bg-dark-orange" AnchorPane.leftAnchor="0.0"
+ AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
- <Label
- text="Personen"
- AnchorPane.leftAnchor="25.0"
- AnchorPane.topAnchor="20.0"
- styleClass="text-bold, text-big, text-white">
+ <Label styleClass="text-bold, text-big, text-white" text="Personen"
+ AnchorPane.leftAnchor="25.0" AnchorPane.topAnchor="20.0">
</Label>
- <Hyperlink
- onAction="#backToMain"
- text="Zurück"
- AnchorPane.rightAnchor="25.0"
- AnchorPane.topAnchor="30.0"
- styleClass="text-medium, text-white">
+ <Hyperlink onAction="#backToMain" styleClass="text-medium, text-white" text="Zurück"
+ AnchorPane.rightAnchor="25.0" AnchorPane.topAnchor="30.0">
</Hyperlink>
</children>
</AnchorPane>
- <AnchorPane
- AnchorPane.bottomAnchor="0.0"
- AnchorPane.leftAnchor="20.0"
- AnchorPane.rightAnchor="20.0"
- AnchorPane.topAnchor="60.0">
+ <VBox fx:id="containerVbox" alignment="BOTTOM_LEFT" rotate="180" AnchorPane.bottomAnchor="0.0"
+ AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="60.0">
<children>
- <ScrollPane
- fitToHeight="true"
- fitToWidth="true"
- hbarPolicy="NEVER"
- vbarPolicy="NEVER"
- AnchorPane.bottomAnchor="0.0"
- AnchorPane.leftAnchor="0.0"
- AnchorPane.rightAnchor="0.0"
- AnchorPane.topAnchor="80.0">
+ <ScrollPane fx:id="employeeScrollPane" fitToHeight="true" fitToWidth="true"
+ hbarPolicy="NEVER" maxHeight="-Infinity" minHeight="-Infinity" prefHeight="336.0"
+ prefWidth="662.0" rotate="180" vbarPolicy="NEVER">
<content>
- <fx:include
- fx:id="employeeList"
- source="employeeList.fxml"/>
+ <fx:include fx:id="employeeList" source="employeeList.fxml"/>
</content>
</ScrollPane>
- <AnchorPane
- fx:id="containerHeader"
- minHeight="80.0"
- styleClass="shadowed"
- AnchorPane.leftAnchor="5.0"
- AnchorPane.rightAnchor="5.0"
- AnchorPane.topAnchor="0.0"/>
+ <AnchorPane fx:id="containerHeader" minHeight="80.0" rotate="180" styleClass="shadowed"
+ AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="0.0"/>
</children>
- </AnchorPane>
+ </VBox>
</children>
</AnchorPane>