Files
minoaClientWindows_gradle/build/resources/main/fxml/login/LoginOverview.fxml
T

66 lines
4.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import java.net.*?>
<?import javafx.scene.text.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.control.*?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.AnchorPane?>
<AnchorPane prefHeight="325.0" prefWidth="425.0" stylesheets="@Login.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="cn.minoa.view.login.LoginOverviewController">
<children>
<GridPane>
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
</GridPane>
<AnchorPane fx:id="upSplite" opacity="0.45" prefHeight="120.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<ImageView fx:id="loginHeadPhoto" fitHeight="100.0" fitWidth="100.0" layoutX="112.0" layoutY="23.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="150.0" AnchorPane.rightAnchor="150.0" AnchorPane.topAnchor="40.0" />
<ImageView fx:id="miniLogo" fitHeight="35.0" fitWidth="35.0" layoutX="-50.0" layoutY="-47.0" pickOnBounds="true" preserveRatio="true" AnchorPane.leftAnchor="2.0" AnchorPane.topAnchor="2.0" />
<Label layoutX="37.0" layoutY="12.0" prefHeight="35.0" text="minoa" AnchorPane.leftAnchor="40.0" AnchorPane.topAnchor="2.0">
<font>
<Font name="Arial Black" size="12.0" />
</font></Label>
</children>
</AnchorPane>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="423.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<children>
<HBox layoutX="108.0" layoutY="108.0" spacing="113.0" AnchorPane.bottomAnchor="71.0" AnchorPane.leftAnchor="108.0">
<children>
<Label text="注册账号" underline="true" />
<Label text="找回密码" underline="true" />
</children>
</HBox>
<Button fx:id="registerButton" mnemonicParsing="false" onAction="#handleRegister" opacity="0.0" AnchorPane.bottomAnchor="67.0" AnchorPane.leftAnchor="106.0" />
<Button fx:id="refindButton" mnemonicParsing="false" onAction="#handleFindPassword" opacity="0.0" AnchorPane.bottomAnchor="67.0" AnchorPane.rightAnchor="106.0" />
</children>
</AnchorPane>
<GridPane layoutX="152.0" layoutY="110.0" AnchorPane.bottomAnchor="100.0" AnchorPane.leftAnchor="110.0" AnchorPane.rightAnchor="110.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="108.0" minWidth="10.0" prefWidth="57.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="172.0" minWidth="10.0" prefWidth="168.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<TextField fx:id="userNameFiled" GridPane.columnIndex="1" />
<PasswordField fx:id="passwordFiled" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Label text="账号" />
<Label text="密码" GridPane.rowIndex="1" />
</children>
</GridPane>
<Button layoutX="112.0" layoutY="263.0" mnemonicParsing="false" onAction="#handleLogin" prefHeight="35.0" prefWidth="225.0" text="登录" AnchorPane.bottomAnchor="27.0" AnchorPane.leftAnchor="100.0" AnchorPane.rightAnchor="100.0" />
</children>
</AnchorPane>