47 lines
3.3 KiB
XML
47 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.ComboBox?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.TableColumn?>
|
|
<?import javafx.scene.control.TableView?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
|
|
<AnchorPane prefHeight="649.0" prefWidth="1200.0" style="-fx-background-color: 1px;" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.zhangmeng.tools.controller.MinioUploadController">
|
|
<children>
|
|
<Label layoutX="45.0" layoutY="39.0" text="endpoint:" />
|
|
<TextField fx:id="endpoint" layoutX="112.0" layoutY="34.0" prefHeight="25.0" prefWidth="169.0" />
|
|
<TextField fx:id="accessKey" layoutX="387.0" layoutY="34.0" prefHeight="25.0" prefWidth="169.0" />
|
|
<TextField fx:id="secretKey" layoutX="633.0" layoutY="34.0" prefHeight="25.0" prefWidth="169.0" />
|
|
<Label layoutX="311.0" layoutY="39.0" text="accessKey:" />
|
|
<Label layoutX="571.0" layoutY="39.0" text="secretKey:" />
|
|
<Label layoutX="833.0" layoutY="39.0" text="bucket:" />
|
|
<Label layoutX="45.0" layoutY="97.0" text="文件:" />
|
|
<AnchorPane layoutX="112.0" layoutY="97.0" prefHeight="153.0" prefWidth="227.0" style="-fx-border-color: gray;-fx-border-width: 1px">
|
|
<children>
|
|
<ImageView fx:id="iv" fitHeight="153.0" fitWidth="227.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
</children>
|
|
</AnchorPane>
|
|
<Button fx:id="file_choose" layoutX="725.0" layoutY="101.0" mnemonicParsing="false" text="文件选择" />
|
|
<Button fx:id="upload" layoutX="814.0" layoutY="101.0" mnemonicParsing="false" text="上传" />
|
|
<TextField fx:id="file_path" layoutX="376.0" layoutY="100.0" prefHeight="25.0" prefWidth="331.0" />
|
|
<TableView fx:id="tableview" layoutX="27.0" layoutY="270.0" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="270.0">
|
|
<columns>
|
|
<TableColumn fx:id="file_bucket" prefWidth="300.0" text="bucket名称" />
|
|
<TableColumn fx:id="file_name" prefWidth="270.0" text="文件名称" />
|
|
<TableColumn fx:id="file_size" prefWidth="133.0" text="文件大小" />
|
|
<TableColumn fx:id="file_url" prefWidth="496.0" text="文件url" />
|
|
</columns>
|
|
</TableView>
|
|
<ComboBox fx:id="backet_list" layoutX="905.0" layoutY="35.0" prefWidth="150.0" />
|
|
<Button fx:id="reload_config" layoutX="1042.0" layoutY="101.0" mnemonicParsing="false" text="重新加载配置文件" />
|
|
<Button fx:id="create_bucket" layoutX="725.0" layoutY="163.0" mnemonicParsing="false" text="创建bucket" />
|
|
<TextField fx:id="create_bucket_name" layoutX="512.0" layoutY="163.0" prefHeight="23.0" prefWidth="191.0" />
|
|
<Label layoutX="376.0" layoutY="167.0" text="将要创建的bucket名称" />
|
|
<Button fx:id="delete_bucket" layoutX="1073.0" layoutY="35.0" mnemonicParsing="false" text="删除所选bucket" />
|
|
<Button fx:id="load_init_config" layoutX="896.0" layoutY="101.0" mnemonicParsing="false" text="加载默认配置" />
|
|
</children>
|
|
</AnchorPane>
|