diff options
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/fxml/RegistrationWindow.fxml | 169 |
1 files changed, 102 insertions, 67 deletions
diff --git a/src/main/resources/fxml/RegistrationWindow.fxml b/src/main/resources/fxml/RegistrationWindow.fxml index c369a70..1bdbe4d 100644 --- a/src/main/resources/fxml/RegistrationWindow.fxml +++ b/src/main/resources/fxml/RegistrationWindow.fxml @@ -23,12 +23,13 @@ <?import javafx.scene.shape.Rectangle?> <?import javafx.scene.layout.Region?> <?import javafx.scene.layout.Pane?> -<GridPane stylesheets="@/styles/main.css"> +<GridPane stylesheets="@/styles/main.css" styleClass="bg-gray-orange"> <rowConstraints> <RowConstraints/> <!--"Neue Anmeldung", "von x bis x", Buttons--> <RowConstraints/> <!--"Fahrzeug", "Personen"--> <RowConstraints/> <!--"KTW-99", "Max Mustermann, ..."--> <RowConstraints prefHeight="15"/> <!--The overflow of the orange area--> + <RowConstraints/> <!--Search--> <RowConstraints/> <!--Lists--> </rowConstraints> <columnConstraints> @@ -39,7 +40,8 @@ <padding> <Insets topRightBottomLeft="12"/> </padding> - <AnchorPane style="-fx-background-color: #2D75B6;" GridPane.columnIndex="0" GridPane.columnSpan="3" GridPane.rowIndex="0" GridPane.rowSpan="4" styleClass="bg-dark-orange"> + <AnchorPane GridPane.columnIndex="0" GridPane.columnSpan="3" GridPane.rowIndex="0" + GridPane.rowSpan="4" styleClass="bg-dark-orange"> <GridPane.margin> <Insets topRightBottomLeft="-12"/> </GridPane.margin> @@ -48,77 +50,110 @@ <Label text="Neue Anmeldung" styleClass="text-big, text-white, text-bold"/> <HBox spacing="6" alignment="CENTER"> <Label text="von" styleClass="text-medium, text-white"/> - <ComboBox value="8:00"/> + <ComboBox value="8:00" style="-fx-background-color: transparent" + styleClass="text-medium, text-white, text-bold"/> <Label text="bis" styleClass="text-medium, text-white"/> <ComboBox value="16:00"/> </HBox> </VBox> - <VBox GridPane.columnIndex="2"> + <VBox GridPane.columnIndex="2" GridPane.halignment="RIGHT" alignment="TOP_RIGHT"> <Hyperlink text="schließen" styleClass="text-small, text-white"/> <Button text="ERSTELLEN" styleClass="button-main, text-medium"/> </VBox> -</GridPane> + <Label text="Fahrzeug" GridPane.rowIndex="1" styleClass="text-big, text-white, text-bold"> + <GridPane.margin> + <Insets top="12"/> + </GridPane.margin> + </Label> + <Label text="Personen" GridPane.rowIndex="1" GridPane.columnIndex="2" + styleClass="text-big, text-white, text-bold"> + <GridPane.margin> + <Insets top="12"/> + </GridPane.margin> + </Label> + <Label text="ZZZ-40821" GridPane.valignment="TOP" alignment="TOP_LEFT" GridPane.rowIndex="2" + styleClass="text-medium, text-white"/> + <Label wrapText="true" alignment="TOP_LEFT" prefWidth="200" + text="Ein seeeeeee eeeeeeeeeee eeeeeeeeeeee eeeeeeeehr langer Text" GridPane.rowIndex="2" + GridPane.columnIndex="2" styleClass="text-medium, text-white"/> + <Button GridPane.rowIndex="5" prefHeight="500" text="LISTENPLATZHALTER"/> + <Button GridPane.rowIndex="5" prefHeight="500" GridPane.columnIndex="2" text="LISTENPLATZHALTER"/> + <VBox GridPane.rowIndex="4" spacing="6" styleClass="bg-white, shadowed"> + <padding> + <Insets topRightBottomLeft="6"/> + </padding> + <Label text="Fahrzeugsuche" styleClass="text-medium"/> + <TextField styleClass="text-big, text-bold"/> + </VBox> + <VBox GridPane.rowIndex="4" spacing="6" GridPane.columnIndex="2" styleClass="bg-white, shadowed"> + <padding> + <Insets topRightBottomLeft="6"/> + </padding> + <Label text="Personensuche" styleClass="text-medium"/> + <TextField styleClass="text-big, text-bold"/> + </VBox> +</GridPane> -<!--<VBox fx:id="registrationWindowVB" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefWidth="600.0" style="-fx-background-color: WHITE;" 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.RegistrationWindowController">--> - <!--<children>--> - <!--<AnchorPane prefHeight="135.0" prefWidth="600.0">--> - <!--<children>--> - <!--<Label layoutX="14.0" layoutY="14.0" text="Neue Anmeldung" />--> - <!--<Label layoutX="14.0" layoutY="44.0" text="von" />--> - <!--<Label layoutX="133.0" layoutY="44.0" text="bis" />--> - <!--<ChoiceBox fx:id="cbStart" layoutX="42.0" layoutY="40.0" prefWidth="80.0" />--> - <!--<ChoiceBox fx:id="cbEnd" layoutX="159.0" layoutY="40.0" prefWidth="80.0" />--> - <!--<Label layoutX="10.0" layoutY="82.0" text="Fahrzeug" />--> - <!--<Label fx:id="lVehicles" layoutX="10.0" layoutY="108.0" text="Fahrzeugname" />--> - <!--<Label layoutX="216.0" layoutY="82.0" text="Personen" />--> - <!--<Label fx:id="lEmployees" layoutX="216.0" layoutY="108.0" text="Namen" />--> - <!--</children>--> - <!--</AnchorPane>--> - <!--<SplitPane dividerPositions="0.35" prefWidth="200.0">--> - <!--<items>--> - <!--<VBox prefHeight="200.0" prefWidth="100.0">--> - <!--<children>--> - <!--<Label text="Fahrzeugsuche" />--> - <!--<TextField fx:id="tfVehicleSearch" />--> - <!--<TableView fx:id="tvVehicles" prefHeight="200.0" prefWidth="200.0">--> - <!--<columns>--> - <!--<TableColumn fx:id="tcVehicles" prefWidth="75.0" text="Fahrzeuge" />--> - <!--</columns>--> - <!--<columnResizePolicy>--> - <!--<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />--> - <!--</columnResizePolicy>--> - <!--</TableView>--> - <!--</children>--> - <!--</VBox>--> - <!--<VBox prefHeight="200.0" prefWidth="100.0">--> - <!--<children>--> - <!--<Label text="Personensuche" />--> - <!--<TextField fx:id="tfEmployeeSearch" />--> - <!--<TableView fx:id="tvEmployees" prefHeight="200.0" prefWidth="200.0">--> - <!--<columns>--> - <!--<TableColumn fx:id="tcEmployees" prefWidth="75.0" text="Personen" />--> - <!--</columns>--> - <!--<columnResizePolicy>--> - <!--<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />--> - <!--</columnResizePolicy>--> - <!--</TableView>--> - <!--</children>--> - <!--</VBox>--> - <!--</items>--> - <!--</SplitPane>--> - <!--<HBox alignment="CENTER" prefWidth="200.0">--> - <!--<children>--> - <!--<Button mnemonicParsing="false" onAction="#cancel" text="Abbrechen">--> - <!--<HBox.margin>--> - <!--<Insets bottom="8.0" left="8.0" right="8.0" top="8.0" />--> - <!--</HBox.margin>--> - <!--</Button>--> - <!--<Button mnemonicParsing="false" onAction="#create" text="Erstellen">--> - <!--<HBox.margin>--> - <!--<Insets bottom="8.0" left="8.0" right="8.0" top="8.0" />--> - <!--</HBox.margin>--> - <!--</Button>--> - <!--</children></HBox>--> - <!--</children>--> -<!--</VBox>--> + <!--<VBox fx:id="registrationWindowVB" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefWidth="600.0" style="-fx-background-color: WHITE;" 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.RegistrationWindowController">--> + <!--<children>--> + <!--<AnchorPane prefHeight="135.0" prefWidth="600.0">--> + <!--<children>--> + <!--<Label layoutX="14.0" layoutY="14.0" text="Neue Anmeldung" />--> + <!--<Label layoutX="14.0" layoutY="44.0" text="von" />--> + <!--<Label layoutX="133.0" layoutY="44.0" text="bis" />--> + <!--<ChoiceBox fx:id="cbStart" layoutX="42.0" layoutY="40.0" prefWidth="80.0" />--> + <!--<ChoiceBox fx:id="cbEnd" layoutX="159.0" layoutY="40.0" prefWidth="80.0" />--> + <!--<Label layoutX="10.0" layoutY="82.0" text="Fahrzeug" />--> + <!--<Label fx:id="lVehicles" layoutX="10.0" layoutY="108.0" text="Fahrzeugname" />--> + <!--<Label layoutX="216.0" layoutY="82.0" text="Personen" />--> + <!--<Label fx:id="lEmployees" layoutX="216.0" layoutY="108.0" text="Namen" />--> + <!--</children>--> + <!--</AnchorPane>--> + <!--<SplitPane dividerPositions="0.35" prefWidth="200.0">--> + <!--<items>--> + <!--<VBox prefHeight="200.0" prefWidth="100.0">--> + <!--<children>--> + <!--<Label text="Fahrzeugsuche" />--> + <!--<TextField fx:id="tfVehicleSearch" />--> + <!--<TableView fx:id="tvVehicles" prefHeight="200.0" prefWidth="200.0">--> + <!--<columns>--> + <!--<TableColumn fx:id="tcVehicles" prefWidth="75.0" text="Fahrzeuge" />--> + <!--</columns>--> + <!--<columnResizePolicy>--> + <!--<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />--> + <!--</columnResizePolicy>--> + <!--</TableView>--> + <!--</children>--> + <!--</VBox>--> + <!--<VBox prefHeight="200.0" prefWidth="100.0">--> + <!--<children>--> + <!--<Label text="Personensuche" />--> + <!--<TextField fx:id="tfEmployeeSearch" />--> + <!--<TableView fx:id="tvEmployees" prefHeight="200.0" prefWidth="200.0">--> + <!--<columns>--> + <!--<TableColumn fx:id="tcEmployees" prefWidth="75.0" text="Personen" />--> + <!--</columns>--> + <!--<columnResizePolicy>--> + <!--<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />--> + <!--</columnResizePolicy>--> + <!--</TableView>--> + <!--</children>--> + <!--</VBox>--> + <!--</items>--> + <!--</SplitPane>--> + <!--<HBox alignment="CENTER" prefWidth="200.0">--> + <!--<children>--> + <!--<Button mnemonicParsing="false" onAction="#cancel" text="Abbrechen">--> + <!--<HBox.margin>--> + <!--<Insets bottom="8.0" left="8.0" right="8.0" top="8.0" />--> + <!--</HBox.margin>--> + <!--</Button>--> + <!--<Button mnemonicParsing="false" onAction="#create" text="Erstellen">--> + <!--<HBox.margin>--> + <!--<Insets bottom="8.0" left="8.0" right="8.0" top="8.0" />--> + <!--</HBox.margin>--> + <!--</Button>--> + <!--</children></HBox>--> + <!--</children>--> + <!--</VBox>--> |