62 lines
4.0 KiB
Plaintext
62 lines
4.0 KiB
Plaintext
|
|
<?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.ListView?>
|
||
|
|
<?import javafx.scene.control.Menu?>
|
||
|
|
<?import javafx.scene.control.MenuBar?>
|
||
|
|
<?import javafx.scene.control.MenuItem?>
|
||
|
|
<?import javafx.scene.control.SplitPane?>
|
||
|
|
<?import javafx.scene.control.TableColumn?>
|
||
|
|
<?import javafx.scene.control.TableView?>
|
||
|
|
<?import javafx.scene.control.TextField?>
|
||
|
|
<?import javafx.scene.layout.AnchorPane?>
|
||
|
|
|
||
|
|
<AnchorPane prefHeight="649" prefWidth="1200" stylesheets="@../css/main.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.zhangmeng.minio.controller.MinioController">
|
||
|
|
<children>
|
||
|
|
<SplitPane dividerPositions="0.5" layoutX="40.0" layoutY="63.0" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="25.0">
|
||
|
|
<items>
|
||
|
|
<ListView fx:id="listView" maxWidth="300.0" minWidth="100.0" />
|
||
|
|
<AnchorPane fx:id="center" prefHeight="200.0" prefWidth="200.0">
|
||
|
|
<children>
|
||
|
|
<Label layoutX="57.0" layoutY="53.0" text="endpoint :" />
|
||
|
|
<Label layoutX="55.0" layoutY="119.0" text="accessKey :" />
|
||
|
|
<Label layoutX="56.0" layoutY="181.0" text="secretKey :" />
|
||
|
|
<TextField fx:id="endpoint" layoutX="143.0" layoutY="49.0" prefHeight="23.0" prefWidth="207.0" />
|
||
|
|
<TextField fx:id="accessKey" layoutX="143.0" layoutY="115.0" prefHeight="23.0" prefWidth="207.0" />
|
||
|
|
<TextField fx:id="secretKey" layoutX="143.0" layoutY="177.0" prefHeight="23.0" prefWidth="207.0" />
|
||
|
|
<ComboBox fx:id="backet_list" layoutX="500.0" layoutY="114.0" prefHeight="25.0" prefWidth="207.0" />
|
||
|
|
<Label layoutX="391.0" layoutY="119.0" text="backetList :" />
|
||
|
|
<Button fx:id="save_config" layoutX="215.0" layoutY="233.0" mnemonicParsing="false" text="保存配置" />
|
||
|
|
<TableView layoutX="378.0" layoutY="287.0" prefHeight="335.0" prefWidth="892.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="287.0">
|
||
|
|
<columns>
|
||
|
|
<TableColumn prefWidth="270.0" text="文件名称" />
|
||
|
|
<TableColumn prefWidth="133.0" text="文件大小" />
|
||
|
|
<TableColumn prefWidth="488.0" text="文件url" />
|
||
|
|
</columns>
|
||
|
|
</TableView>
|
||
|
|
<Label layoutX="391.0" layoutY="53.0" text="createBucket :" />
|
||
|
|
<TextField fx:id="bucket_name" layoutX="500.0" layoutY="49.0" />
|
||
|
|
<Button fx:id="bucket_btn" layoutX="677.0" layoutY="49.0" mnemonicParsing="false" text="创建bucket" />
|
||
|
|
<Label layoutX="394.0" layoutY="181.0" text="上传文件 :" />
|
||
|
|
<TextField fx:id="upload_path" layoutX="500.0" layoutY="177.0" prefHeight="23.0" prefWidth="207.0" />
|
||
|
|
<Button fx:id="upload" layoutX="792.0" layoutY="177.0" mnemonicParsing="false" text="上传" />
|
||
|
|
<Button fx:id="choose_upload_file" layoutX="717.0" layoutY="177.0" mnemonicParsing="false" text="选择文件" />
|
||
|
|
</children></AnchorPane>
|
||
|
|
</items>
|
||
|
|
</SplitPane>
|
||
|
|
<MenuBar prefHeight="25.0" prefWidth="240.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
|
||
|
|
<menus>
|
||
|
|
<Menu mnemonicParsing="false" text="配置">
|
||
|
|
<items>
|
||
|
|
<MenuItem fx:id="config_file" mnemonicParsing="false" text="配置文件" />
|
||
|
|
<MenuItem fx:id="bucket_choose" mnemonicParsing="false" onAction="#bucket_choose_action" text="存储桶选择" />
|
||
|
|
<MenuItem fx:id="reload_config" mnemonicParsing="false" onAction="#reload" text="重新加载" />
|
||
|
|
</items>
|
||
|
|
</Menu>
|
||
|
|
</menus>
|
||
|
|
</MenuBar>
|
||
|
|
</children>
|
||
|
|
</AnchorPane>
|