aboutsummaryrefslogtreecommitdiffstats
path: root/ui-client/src/main/resources/market/guess/ui/client/login.fxml
blob: db4cd1d657151b39fecb2da15b6fae578f397a7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?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.TextField?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>

<StackPane styleClass="gm-root, gm-chrome" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="market.guess.ui.client.LoginController">
   <padding>
      <Insets bottom="24.0" left="24.0" right="24.0" top="24.0" />
   </padding>
   <children>
      <VBox maxHeight="-Infinity" maxWidth="-Infinity" prefWidth="380.0" spacing="8.0" styleClass="gm-card">
         <padding>
            <Insets bottom="20.0" left="22.0" right="22.0" top="20.0" />
         </padding>
         <children>
            <Label styleClass="gm-text-xl, gm-font-bold, gm-text-ink" text="Guess Market" />
            <Label styleClass="gm-text-base, gm-font-regular, gm-text-ink2" text="Sign in to a market server" />
            <Label styleClass="gm-text-base, gm-font-medium, gm-text-ink2" text="Server">
               <VBox.margin>
                  <Insets top="8.0" />
               </VBox.margin>
            </Label>
            <TextField fx:id="serverField" onAction="#handleLogin" styleClass="gm-textfield, gm-textfield-mono" />
            <Label styleClass="gm-text-base, gm-font-medium, gm-text-ink2" text="User name" />
            <TextField fx:id="userField" onAction="#handleLogin" styleClass="gm-textfield" />
            <Label fx:id="errorLabel" managed="false" styleClass="gm-text-base, gm-font-medium, gm-text-no" visible="false" wrapText="true" />
            <Button fx:id="loginBtn" defaultButton="true" maxWidth="1.7976931348623157E308" onAction="#handleLogin" styleClass="gm-btn, gm-btn-primary" text="Log in">
               <VBox.margin>
                  <Insets top="8.0" />
               </VBox.margin>
            </Button>
         </children>
      </VBox>
   </children>
</StackPane>