aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/fxml/createNewEmployee.fxml
blob: fd04ee120673332f5e3238fa0b48672aaf84d1ec (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
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.Hyperlink?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>

<AnchorPane fx:id="apCreateNewEmployee" prefHeight="100"
  prefWidth="${apCreateNewEmployee.parent.width}" styleClass="bg-edit-area-orange"
  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.CreateNewEmployeeController">
  <children>
    <Label fx:id="lblHeader" layoutX="14.0" layoutY="14.0" styleClass="text-bold, text-medium"
      text="Neue Person erstellen"/>
    <Label layoutX="14.0" layoutY="38.0" styleClass="text-small" text="Name"/>
    <Label layoutX="206.0" layoutY="38.0" styleClass="text-small" text="Qualifikation"/>
    <CheckBox fx:id="inputIsDriver" layoutX="355.0" layoutY="37.0" mnemonicParsing="false"
      styleClass="text-small" text="Fahrer"/>
    <CheckBox fx:id="inputIsPilot" layoutX="355.0" layoutY="62.0" mnemonicParsing="false"
      styleClass="text-small" text="Pilot"/>
    <Hyperlink fx:id="btnCancel" layoutX="441.0" layoutY="31.0" onAction="#onCancelClicked"
      styleClass="text-medium" text="abbrechen" textFill="black" AnchorPane.bottomAnchor="30.0"
      AnchorPane.rightAnchor="10.0"/>
    <Button fx:id="btnCreate" layoutX="441.0" layoutY="55.0" mnemonicParsing="false"
      onAction="#onCreateClicked" styleClass="button-main, bg-green, text-bold, text-big"
      text="ERSTELLEN" AnchorPane.bottomAnchor="-10.0" AnchorPane.rightAnchor="10.0"/>
    <TextField fx:id="inputName" layoutX="14.0" layoutY="57.0" prefHeight="25.0" prefWidth="179.0"
      style="-fx-background-color: transparent" styleClass="text-bold, text-medium"/>
    <ChoiceBox fx:id="inputQualification" layoutX="206.0" layoutY="57.0" prefHeight="25.0"
      prefWidth="128.0"/>
  </children>
</AnchorPane>