summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorViktoria Pundy <viktoria.pundy@aon.at>2018-05-26 17:02:18 +0200
committerViktoria Pundy <viktoria.pundy@aon.at>2018-05-26 17:02:18 +0200
commit4725b91b94a915e20736ba59c5e07f1249f2bca1 (patch)
tree7f7049ab798a852faeca1fb83635c3263dd33e00 /src/main/resources
parent8a3d40822b0812b90c0393dead740da64bff54ed (diff)
downloadsepm-groupproject-4725b91b94a915e20736ba59c5e07f1249f2bca1.tar.gz
sepm-groupproject-4725b91b94a915e20736ba59c5e07f1249f2bca1.tar.xz
sepm-groupproject-4725b91b94a915e20736ba59c5e07f1249f2bca1.zip
Added back links for extra windows to get back to main window
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/fxml/ArchiveOperation.fxml11
-rw-r--r--src/main/resources/fxml/createCar.fxml1
-rw-r--r--src/main/resources/fxml/listEmployees.fxml21
3 files changed, 22 insertions, 11 deletions
diff --git a/src/main/resources/fxml/ArchiveOperation.fxml b/src/main/resources/fxml/ArchiveOperation.fxml
index 7eace12..2f55b24 100644
--- a/src/main/resources/fxml/ArchiveOperation.fxml
+++ b/src/main/resources/fxml/ArchiveOperation.fxml
@@ -9,7 +9,7 @@
<AnchorPane fx:id="archiveOperationAP" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="650.0" prefWidth="800.0" style="-fx-background-color: BLACK;" 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.ArchiveOperationController">
<children>
- <ScrollPane prefHeight="650.0" prefWidth="800.0" AnchorPane.leftAnchor="0.0">
+ <ScrollPane layoutY="100.0" prefHeight="550.0" prefWidth="800.0" AnchorPane.leftAnchor="0.0">
<content>
<FlowPane fx:id="archiveOperationFlowPane" prefHeight="650.0" prefWidth="800.0" />
</content>
@@ -65,5 +65,14 @@
</ScrollPane>
</children>
</AnchorPane>
+ <AnchorPane prefHeight="100.0" prefWidth="800.0" style="-fx-background-color: BROWN;">
+ <children>
+ <Hyperlink layoutX="713.0" layoutY="16.0" onAction="#backToMain" text="Zurück" textFill="WHITE">
+ <font>
+ <Font name="System Bold" size="16.0" />
+ </font>
+ </Hyperlink>
+ </children>
+ </AnchorPane>
</children>
</AnchorPane>
diff --git a/src/main/resources/fxml/createCar.fxml b/src/main/resources/fxml/createCar.fxml
index 99cd7b0..a33c26e 100644
--- a/src/main/resources/fxml/createCar.fxml
+++ b/src/main/resources/fxml/createCar.fxml
@@ -14,5 +14,6 @@
<Button fx:id="btn_create" layoutX="500.0" layoutY="53.0" mnemonicParsing="false" onAction="#createCar" text="Erstellen" />
<CheckBox fx:id="cbx_NEF" layoutX="14.0" layoutY="57.0" mnemonicParsing="false" text="NEF - Halterung" />
<FlowPane fx:id="fp_vehicleList" layoutX="14.0" layoutY="94.0" prefHeight="298.0" prefWidth="571.0" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" />
+ <Button layoutX="398.0" layoutY="14.0" mnemonicParsing="false" onAction="#backToMain" prefHeight="26.0" prefWidth="80.0" text="Zurück" />
</children>
</AnchorPane>
diff --git a/src/main/resources/fxml/listEmployees.fxml b/src/main/resources/fxml/listEmployees.fxml
index 6c4593b..7f9e638 100644
--- a/src/main/resources/fxml/listEmployees.fxml
+++ b/src/main/resources/fxml/listEmployees.fxml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
+<?import javafx.scene.control.Hyperlink?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.layout.AnchorPane?>
@@ -8,31 +9,31 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
-<AnchorPane fx:id="listEmployeesAP" visible="false" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
- prefHeight="536.0" prefWidth="816.0" style="-fx-background-color: #EFEBE8;"
- 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.ListEmployeesController">
+<AnchorPane fx:id="listEmployeesAP" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="536.0" prefWidth="816.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.ListEmployeesController">
<children>
<AnchorPane prefHeight="118.0" prefWidth="816.0" style="-fx-background-color: #C55A11;">
<children>
<Label layoutX="39.0" layoutY="23.0" text="Personen" textFill="WHITE">
<font>
- <Font name="Calibri Bold" size="22.0"/>
+ <Font name="Calibri Bold" size="22.0" />
</font>
</Label>
+ <Hyperlink onAction="#backToMain" layoutX="702.0" layoutY="15.0" prefHeight="42.0" prefWidth="86.0" text="Zurück" textFill="WHITE">
+ <font>
+ <Font name="System Bold" size="16.0" />
+ </font>
+ </Hyperlink>
</children>
</AnchorPane>
<VBox layoutX="37.0" layoutY="60.0" prefHeight="454.0" prefWidth="742.0">
<children>
- <AnchorPane fx:id="containerHeader" prefHeight="86.0" prefWidth="740.0"
- style="-fx-background-color: white; -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.8), 10, 0, 0, 5);"/>
+ <AnchorPane fx:id="containerHeader" prefHeight="86.0" prefWidth="740.0" style="-fx-background-color: white; -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.8), 10, 0, 0, 5);" />
<ScrollPane hbarPolicy="NEVER" style="-fx-background-color: #EFEBE8;" vbarPolicy="NEVER">
<VBox.margin>
- <Insets top="20.0"/>
+ <Insets top="20.0" />
</VBox.margin>
<content>
- <FlowPane fx:id="flowPaneEmployeeList" prefHeight="346.0" prefWidth="742.0"
- style="-fx-background-color: #EFEBE8;"/>
+ <FlowPane fx:id="flowPaneEmployeeList" prefHeight="346.0" prefWidth="742.0" style="-fx-background-color: #EFEBE8;" />
</content>
</ScrollPane>
</children>