Add files via upload
This commit is contained in:
@@ -0,0 +1,107 @@
|
||||
<?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.AdminOrdersController">
|
||||
<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="545.0" prefWidth="341.0" HBox.hgrow="ALWAYS">
|
||||
<children>
|
||||
<Label text="USERS">
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
<TableView fx:id="usersTable" editable="true" prefHeight="174.0" prefWidth="775.0" VBox.vgrow="ALWAYS">
|
||||
<columns>
|
||||
<TableColumn fx:id="idUserCol" prefWidth="75.0" text="id" />
|
||||
<TableColumn fx:id="nameUserCol" prefWidth="75.0" text="name" />
|
||||
<TableColumn fx:id="selectedUserCol" prefWidth="75.0" text="select" />
|
||||
</columns>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
<Label text="ORDERS">
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
<TableView fx:id="ordersTable" editable="true" prefHeight="203.0" prefWidth="227.0" stylesheets="@Login.css" VBox.vgrow="ALWAYS">
|
||||
<columns>
|
||||
<TableColumn fx:id="idOrdersCol" minWidth="0.0" prefWidth="102.0" text="order id" />
|
||||
</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="528.0" prefWidth="283.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="deleteBtn" mnemonicParsing="false" prefHeight="31.0" prefWidth="130.0" text="DELETE" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
Reference in New Issue
Block a user