120 lines
5.9 KiB
XML
120 lines
5.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import com.jfoenix.controls.*?>
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?import javafx.scene.layout.*?>
|
|
<?import javafx.scene.shape.Rectangle?>
|
|
<?import javafx.scene.text.*?>
|
|
<?import org.kordamp.ikonli.javafx.FontIcon?>
|
|
<StackPane fx:id="root" prefHeight="330.0" prefWidth="430.0" stylesheets="@../css/login.css"
|
|
xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1"
|
|
fx:controller="top.octopusyan.controller.LoginController">
|
|
|
|
<ImageView fx:id="loginBkgPane" fitHeight="330" fitWidth="430">
|
|
<clip>
|
|
<Rectangle height="330" width="430">
|
|
<arcHeight>28</arcHeight>
|
|
<arcWidth>28</arcWidth>
|
|
</Rectangle>
|
|
</clip>
|
|
</ImageView>
|
|
|
|
<VBox fx:id="loginMainPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
|
|
prefHeight="330.0" prefWidth="430.0">
|
|
<AnchorPane fx:id="loginTopPane" prefHeight="130.0" prefWidth="430.0">
|
|
<JFXButton fx:id="titleLable" disable="true" prefHeight="35.0" prefWidth="64.0" text="YanFrp"/>
|
|
<JFXButton fx:id="minimizeBtn" layoutX="360.0" prefHeight="35.0" prefWidth="36.0" text="—"/>
|
|
<JFXButton fx:id="closeBtn" layoutX="395.0" prefHeight="35.0" prefWidth="36.0" text="X"/>
|
|
</AnchorPane>
|
|
<AnchorPane fx:id="loginBottomPane" prefHeight="200.0" prefWidth="430.0">
|
|
<VBox layoutX="96.0" layoutY="24.0" prefHeight="112.0" prefWidth="237.0">
|
|
<AnchorPane prefHeight="100.0" prefWidth="237.0">
|
|
<JFXButton fx:id="accountIconBtn" disable="true" prefHeight="30.0" text="">
|
|
<graphic>
|
|
<FontIcon fx:id="accountIcon" iconLiteral="fa-laptop" iconSize="17"/>
|
|
</graphic>
|
|
</JFXButton>
|
|
<JFXTextField fx:id="accountTextField" layoutX="30.0" prefHeight="20.0" prefWidth="208.0"
|
|
promptText="请输入账号">
|
|
<HBox.margin>
|
|
<Insets top="1.0"/>
|
|
</HBox.margin>
|
|
<font>
|
|
<Font size="15.0"/>
|
|
</font>
|
|
</JFXTextField>
|
|
</AnchorPane>
|
|
<AnchorPane prefHeight="100.0" prefWidth="237.0">
|
|
<JFXButton fx:id="pwdIconBtn" disable="true" prefHeight="30.0" text="">
|
|
<graphic>
|
|
<FontIcon fx:id="pwdIcon" iconLiteral="fa-expeditedssl" iconSize="17"/>
|
|
</graphic>
|
|
</JFXButton>
|
|
<JFXPasswordField fx:id="passwordTextField" layoutX="30.0" prefHeight="20.0" prefWidth="208.0"
|
|
promptText="请输入密码">
|
|
<font>
|
|
<Font size="15.0"/>
|
|
</font>
|
|
</JFXPasswordField>
|
|
<JFXTextField fx:id="seePwdTextField" layoutX="30.0" prefHeight="20.0" prefWidth="208.0"
|
|
promptText="请输入密码">
|
|
<font>
|
|
<Font size="15.0"/>
|
|
</font>
|
|
</JFXTextField>
|
|
<JFXButton fx:id="seePwdIconBtn" layoutX="210.0" layoutY="5.0" text="">
|
|
<graphic>
|
|
<FontIcon fx:id="seePwdIcon" iconLiteral="fa-eye" iconSize="17"/>
|
|
</graphic>
|
|
</JFXButton>
|
|
</AnchorPane>
|
|
<HBox alignment="CENTER" prefHeight="30.0" prefWidth="237.0">
|
|
<JFXCheckBox fx:id="autoLoginCBox" checkedColor="#57b4f2" prefHeight="18.0" prefWidth="49.0"
|
|
text="自动登录">
|
|
<HBox.margin>
|
|
<Insets right="20.0"/>
|
|
</HBox.margin>
|
|
<font>
|
|
<Font size="11.5"/>
|
|
</font>
|
|
</JFXCheckBox>
|
|
<JFXCheckBox fx:id="rememberCBox" checkedColor="#57b4f2" prefHeight="18.0" prefWidth="0.0"
|
|
text="记住密码">
|
|
<HBox.margin>
|
|
<Insets right="5.0"/>
|
|
</HBox.margin>
|
|
<font>
|
|
<Font size="11.5"/>
|
|
</font>
|
|
</JFXCheckBox>
|
|
<JFXButton fx:id="findpassBtn" alignment="TOP_CENTER" contentDisplay="RIGHT" prefHeight="23.0"
|
|
prefWidth="64.0" text="忘记密码" textAlignment="RIGHT" textFill="#00000078">
|
|
<font>
|
|
<Font size="11.0"/>
|
|
</font>
|
|
</JFXButton>
|
|
</HBox>
|
|
</VBox>
|
|
<JFXButton fx:id="loginBtn" buttonType="RAISED" defaultButton="true" layoutX="96.0" layoutY="146.0"
|
|
prefHeight="35.0" prefWidth="237.0" text="登录" textFill="WHITE">
|
|
<font>
|
|
<Font size="15.0"/>
|
|
</font>
|
|
</JFXButton>
|
|
<JFXButton fx:id="registerBtn" alignment="TOP_CENTER" contentDisplay="RIGHT" layoutX="6.0" layoutY="170.0"
|
|
prefHeight="23.0" prefWidth="64.0" text="注册账号" textAlignment="RIGHT" textFill="#00000078">
|
|
<font>
|
|
<Font size="11.0"/>
|
|
</font>
|
|
</JFXButton>
|
|
<Label fx:id="appVersionLabel" disable="true" layoutX="369.0" layoutY="172.0" text="Label">
|
|
<font>
|
|
<Font size="14.0"/>
|
|
</font>
|
|
</Label>
|
|
</AnchorPane>
|
|
</VBox>
|
|
</StackPane>
|