aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/fxml/employeeList.fxml11
-rw-r--r--src/main/resources/fxml/manageEmployees.fxml68
2 files changed, 56 insertions, 23 deletions
diff --git a/src/main/resources/fxml/employeeList.fxml b/src/main/resources/fxml/employeeList.fxml
index 4131125..5bcce1c 100644
--- a/src/main/resources/fxml/employeeList.fxml
+++ b/src/main/resources/fxml/employeeList.fxml
@@ -1,12 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
+<?import javafx.geometry.Insets?>
<?import javafx.scene.layout.FlowPane?>
-<FlowPane xmlns="http://javafx.com/javafx"
- xmlns:fx="http://javafx.com/fxml"
+<FlowPane
+ 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.EmployeeListController"
fx:id="flowPaneEmployeeList"
stylesheets="@/styles/main.css"
prefWidth="${flowPaneEmployeeList.parent.width}"
prefHeight="${flowPaneEmployeeList.parent.height}"
- style="-fx-background-color: #EFEBE8;">
+ styleClass="bg-gray-orange">
+ <padding>
+ <Insets bottom="10.0"/>
+ </padding>
</FlowPane>
diff --git a/src/main/resources/fxml/manageEmployees.fxml b/src/main/resources/fxml/manageEmployees.fxml
index 4a7312f..05e729d 100644
--- a/src/main/resources/fxml/manageEmployees.fxml
+++ b/src/main/resources/fxml/manageEmployees.fxml
@@ -4,38 +4,66 @@
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.layout.AnchorPane?>
-<AnchorPane fx:id="listEmployeesAP" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity"
- minWidth="-Infinity" prefHeight="536.0" prefWidth="702.0" style="-fx-background-color: #EFEBE8;"
- 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">
+<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">
<children>
<AnchorPane prefHeight="120.0"
styleClass="bg-dark-orange"
- AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
+ AnchorPane.leftAnchor="0.0"
+ AnchorPane.rightAnchor="0.0"
+ AnchorPane.topAnchor="0.0">
<children>
- <Label text="Personen" textFill="WHITE"
- AnchorPane.leftAnchor="25.0" AnchorPane.topAnchor="20.0"
- styleClass="text-bold, text-big">
+ <Label
+ text="Personen"
+ AnchorPane.leftAnchor="25.0"
+ AnchorPane.topAnchor="20.0"
+ styleClass="text-bold, text-big, text-white">
</Label>
- <Hyperlink onAction="#backToMain" text="Zurück"
- textFill="WHITE" AnchorPane.rightAnchor="25.0" AnchorPane.topAnchor="20.0"
- styleClass="text-big, text-bold">
+ <Hyperlink
+ onAction="#backToMain"
+ text="Zurück"
+ AnchorPane.rightAnchor="25.0"
+ AnchorPane.topAnchor="30.0"
+ styleClass="text-medium, text-white">
</Hyperlink>
</children>
</AnchorPane>
- <AnchorPane AnchorPane.bottomAnchor="0.0"
- AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="60.0">
+ <AnchorPane
+ 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="86.0">
+ <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">
<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"
+ styleClass="shadowed"
+ AnchorPane.leftAnchor="5.0"
+ AnchorPane.rightAnchor="5.0"
+ AnchorPane.topAnchor="0.0"/>
</children>
</AnchorPane>
</children>