aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/fxml/employeeListItem.fxml
blob: 7f6aabd12772b2dd0d23f46661c6026124798e1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Label?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>

<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
  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.missioncontrol.controller.EmployeeListItemController">
  <children>
    <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>
    <HBox layoutX="10.0" layoutY="40.0" prefHeight="42.0" prefWidth="300.0"
      AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="40.0">
      <children>
        <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="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 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="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 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="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>
    </HBox>
  </children>
</AnchorPane>