112 lines
7.0 KiB
XML
112 lines
7.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.ProgressIndicator?>
|
|
<?import javafx.scene.control.TableColumn?>
|
|
<?import javafx.scene.control.TableView?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
|
<AnchorPane xmlns="http://javafx.com/javafx/20.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.demo3.AdminRoutesController">
|
|
<children>
|
|
<VBox alignment="TOP_CENTER" prefHeight="600.0" prefWidth="864.0" stylesheets="@Login.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<HBox alignment="CENTER" spacing="10.0">
|
|
<VBox.margin>
|
|
<Insets bottom="15.0" top="15.0" />
|
|
</VBox.margin>
|
|
<children>
|
|
<TextField fx:id="searchBar" maxWidth="300.0" minWidth="100.0" prefWidth="300.0" promptText="search..." styleClass="label-form" />
|
|
<Button fx:id="refreshBtn" mnemonicParsing="false" text="refresh" />
|
|
<ProgressIndicator fx:id="progressIndicator" progress="0.0" />
|
|
</children>
|
|
</HBox>
|
|
<AnchorPane prefHeight="440.0" prefWidth="864.0" VBox.vgrow="ALWAYS">
|
|
<VBox.margin>
|
|
<Insets />
|
|
</VBox.margin>
|
|
<children>
|
|
<HBox alignment="TOP_CENTER" prefHeight="288.0" prefWidth="864.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<VBox alignment="CENTER" maxWidth="-Infinity" prefHeight="479.0" prefWidth="699.0" HBox.hgrow="ALWAYS">
|
|
<children>
|
|
<Label text="ORDERS">
|
|
<VBox.margin>
|
|
<Insets bottom="5.0" />
|
|
</VBox.margin>
|
|
</Label>
|
|
<TableView fx:id="ordersTable" editable="true" prefHeight="58.0" prefWidth="227.0" stylesheets="@Login.css" VBox.vgrow="ALWAYS">
|
|
<columns>
|
|
<TableColumn fx:id="idOrdersCol" minWidth="0.0" prefWidth="102.0" text="id" />
|
|
<TableColumn fx:id="coordXOrdersCol" minWidth="0.0" prefWidth="102.0" text="coord X" />
|
|
<TableColumn fx:id="coordYOrdersCol" minWidth="0.0" prefWidth="102.0" text="coord Y" />
|
|
<TableColumn fx:id="selectedOrdersCol" minWidth="0.0" prefWidth="102.0" text="select" />
|
|
</columns>
|
|
<columnResizePolicy>
|
|
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
|
</columnResizePolicy>
|
|
</TableView>
|
|
<Label text="DEPOSITS">
|
|
<VBox.margin>
|
|
<Insets bottom="5.0" top="5.0" />
|
|
</VBox.margin>
|
|
</Label>
|
|
<TableView fx:id="depositsTable" editable="true" prefHeight="174.0" prefWidth="775.0" VBox.vgrow="ALWAYS">
|
|
<columns>
|
|
<TableColumn fx:id="idDepositsCol" prefWidth="75.0" text="id" />
|
|
<TableColumn fx:id="nameDepositsCol" prefWidth="75.0" text="name" />
|
|
<TableColumn fx:id="coordXDepositsCol" prefWidth="75.0" text="coord X" />
|
|
<TableColumn fx:id="coordYDepositsCol" prefWidth="75.0" text="coord Y" />
|
|
</columns>
|
|
<columnResizePolicy>
|
|
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
|
</columnResizePolicy>
|
|
</TableView>
|
|
</children>
|
|
</VBox>
|
|
<VBox alignment="TOP_CENTER" prefHeight="545.0" prefWidth="752.0" HBox.hgrow="ALWAYS">
|
|
<children>
|
|
<Label text="PRODUCTS">
|
|
<VBox.margin>
|
|
<Insets bottom="5.0" />
|
|
</VBox.margin>
|
|
</Label>
|
|
<TableView fx:id="productsTable" editable="true" prefHeight="457.0" prefWidth="485.0" VBox.vgrow="ALWAYS">
|
|
<columns>
|
|
<TableColumn fx:id="idProductCol" prefWidth="95.0" text="id" />
|
|
<TableColumn fx:id="nameProductCol" prefWidth="351.0" text="name" />
|
|
<TableColumn fx:id="quantityProductCol" prefWidth="313.0" text="quantity" />
|
|
</columns>
|
|
<columnResizePolicy>
|
|
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
|
</columnResizePolicy>
|
|
<opaqueInsets>
|
|
<Insets />
|
|
</opaqueInsets>
|
|
</TableView>
|
|
</children>
|
|
</VBox>
|
|
</children>
|
|
<opaqueInsets>
|
|
<Insets />
|
|
</opaqueInsets>
|
|
</HBox>
|
|
</children>
|
|
</AnchorPane>
|
|
<HBox alignment="CENTER">
|
|
<VBox.margin>
|
|
<Insets bottom="10.0" top="10.0" />
|
|
</VBox.margin>
|
|
<children>
|
|
<Button fx:id="deleteRouteBtn" mnemonicParsing="false" prefHeight="31.0" prefWidth="130.0" text="DELETE ROUTE" />
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
</VBox>
|
|
</children>
|
|
</AnchorPane>
|