aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/fxml/employeeListItem.fxml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/fxml/employeeListItem.fxml')
-rw-r--r--src/main/resources/fxml/employeeListItem.fxml59
1 files changed, 31 insertions, 28 deletions
diff --git a/src/main/resources/fxml/employeeListItem.fxml b/src/main/resources/fxml/employeeListItem.fxml
index 05354fc..7f6aabd 100644
--- a/src/main/resources/fxml/employeeListItem.fxml
+++ b/src/main/resources/fxml/employeeListItem.fxml
@@ -1,53 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
-<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
-<?import javafx.scene.text.Font?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
- prefHeight="96.0" prefWidth="360.0" style="-fx-background-color: white;"
+ onMouseClicked="#onEmployeeClicked" prefHeight="80.0" prefWidth="320.0"
+ styleClass="bg-white, shadowed" stylesheets="@/styles/main.css"
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.EmployeeListItemController">
+ fx:controller="at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.controller.EmployeeListItemController">
<children>
- <Label fx:id="lblName" layoutX="8.0" layoutY="22.0" text="Peter Mustermann"
- AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="5.0">
- <font>
- <Font name="System Bold" size="18.0"/>
- </font>
+ <Label fx:id="lblName" layoutX="8.0" layoutY="22.0" styleClass="text-big, text-bold"
+ text="Peter Mustermann" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="5.0">
</Label>
- <Button layoutX="298.0" layoutY="5.0" mnemonicParsing="false" onAction="#onEditEmployeeClicked"
- text="bearbeiten" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0"/>
- <HBox layoutX="10.0" layoutY="40.0" prefHeight="42.0" prefWidth="339.0"
+ <HBox layoutX="10.0" layoutY="40.0" prefHeight="42.0" prefWidth="300.0"
AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="40.0">
<children>
- <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;">
+ <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity"
+ minWidth="-Infinity" prefHeight="42.0" prefWidth="100.0">
<children>
- <ImageView fx:id="imgQualification" fitHeight="25.0" fitWidth="25.0" layoutX="10.0"
- layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0"
- AnchorPane.topAnchor="10.0"/>
- <Label fx:id="lblQualification" layoutX="45.0" layoutY="14.0" text="Notarzt"
- AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/>
+ <!-- TODO: update images to have transparent background! -->
+ <ImageView fx:id="imgQualification" fitHeight="25.0" fitWidth="25.0" layoutX="2.0"
+ pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="0.0"
+ AnchorPane.topAnchor="0.0"/>
+ <Label fx:id="lblQualification" layoutX="45.0" layoutY="14.0" styleClass="text-small"
+ text="Notarzt" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="0.0">
+ </Label>
</children>
</AnchorPane>
- <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;">
+ <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity"
+ minWidth="-Infinity" prefHeight="42.0" prefWidth="100.0">
<children>
+ <!-- TODO: update images to have transparent background! -->
<ImageView fx:id="imgPilot" fitHeight="25.0" fitWidth="25.0" layoutX="10.0"
- layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0"
- AnchorPane.topAnchor="10.0"/>
- <Label fx:id="lblPilot" layoutX="53.0" layoutY="14.0" text="nicht Pilot"
- AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/>
+ layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="0.0"
+ AnchorPane.topAnchor="0.0"/>
+ <Label fx:id="lblPilot" layoutX="53.0" layoutY="14.0" styleClass="text-small"
+ text="nicht Pilot" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="0.0">
+ </Label>
</children>
</AnchorPane>
- <AnchorPane prefHeight="42.0" prefWidth="112.0" style="-fx-background-color: white;">
+ <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity"
+ minWidth="-Infinity" prefHeight="42.0" prefWidth="100.0">
<children>
+ <!-- TODO: update images to have transparent background! -->
<ImageView fx:id="imgDriver" fitHeight="25.0" fitWidth="25.0" layoutX="10.0"
- layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="10.0"
- AnchorPane.topAnchor="10.0"/>
- <Label fx:id="lblDriver" layoutX="54.0" layoutY="14.0" text="ist Fahrer"
- AnchorPane.leftAnchor="45.0" AnchorPane.topAnchor="14.0"/>
+ layoutY="11.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="0.0"
+ AnchorPane.topAnchor="0.0"/>
+ <Label fx:id="lblDriver" layoutX="54.0" layoutY="14.0" styleClass="text-small"
+ text="ist Fahrer" AnchorPane.leftAnchor="30.0" AnchorPane.topAnchor="0.0">
+ </Label>
</children>
</AnchorPane>
</children>