|
27 | 27 | <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" styleClass="workspace-title-text" text="Create Account" />
|
28 | 28 | </children>
|
29 | 29 | </HBox>
|
30 |
| - <Label prefHeight="36.0" styleClass="create_account_step" text="1. Shake mouse below to create random numbers"> |
| 30 | + <HBox fx:id="cCanvasParent" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onMouseDragged="#mouseDragged" onMousePressed="#mousePressed" onMouseReleased="#mouseReleased" prefHeight="400.0" prefWidth="804.0" styleClass="create_account_mouse_track_pad"> |
31 | 31 | <VBox.margin>
|
32 |
| - <Insets left="10.0" /> |
33 |
| - </VBox.margin> |
34 |
| - <padding> |
35 |
| - <Insets right="20.0" /> |
36 |
| - </padding> |
37 |
| - </Label> |
38 |
| - <HBox fx:id="canvasParent" maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" onMouseDragged="#mouseDragged" onMousePressed="#mousePressed" onMouseReleased="#mouseReleased" prefHeight="160.0" prefWidth="200.0" styleClass="create_account_mouse_track_pad"> |
39 |
| - <VBox.margin> |
40 |
| - <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> |
| 32 | + <Insets left="10.0" right="10.0" top="10.0" /> |
41 | 33 | </VBox.margin>
|
42 | 34 | <children>
|
43 |
| - <Canvas fx:id="canvas" height="200.0" width="335.0" HBox.hgrow="ALWAYS" /> |
| 35 | + <Canvas fx:id="cCanvas" height="200.0" width="335.0" HBox.hgrow="ALWAYS" /> |
44 | 36 | </children>
|
45 | 37 | <padding>
|
46 | 38 | <Insets bottom="1.0" left="1.0" right="1.0" top="1.0" />
|
47 | 39 | </padding>
|
48 | 40 | </HBox>
|
49 |
| - <VBox prefWidth="100.0"> |
| 41 | + <HBox alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" prefWidth="804.0" styleClass="create_account_mouse_track_result"> |
50 | 42 | <children>
|
51 |
| - <Label styleClass="create_account_field_label" text="Random Numbers:"> |
52 |
| - <padding> |
53 |
| - <Insets bottom="5.0" left="10.0" right="10.0" top="5.0" /> |
54 |
| - </padding> |
55 |
| - </Label> |
56 |
| - <HBox fx:id="canvasParent1" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" onMouseDragged="#mouseDragged" onMousePressed="#mousePressed" prefHeight="100.0" prefWidth="200.0" styleClass="create_account_mouse_track_pad"> |
57 |
| - <padding> |
58 |
| - <Insets bottom="1.0" left="1.0" right="1.0" top="1.0" /> |
59 |
| - </padding> |
60 |
| - <VBox.margin> |
61 |
| - <Insets top="10.0" /> |
62 |
| - </VBox.margin> |
63 |
| - <children> |
64 |
| - <TextArea fx:id="randomTextArea" prefHeight="200.0" prefWidth="200.0" styleClass="create_account_random_text" wrapText="true" HBox.hgrow="ALWAYS" /> |
65 |
| - </children> |
66 |
| - </HBox> |
| 43 | + <Label fx:id="cRandomText" styleClass="create_account_random_text" text="random text" /> |
67 | 44 | </children>
|
68 | 45 | <VBox.margin>
|
69 |
| - <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> |
| 46 | + <Insets left="10.0" right="10.0" /> |
70 | 47 | </VBox.margin>
|
71 |
| - </VBox> |
72 |
| - <Label prefHeight="36.0" styleClass="create_account_step" text="2. Input personal password to protect your private key"> |
73 | 48 | <padding>
|
74 |
| - <Insets right="20.0" /> |
| 49 | + <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> |
75 | 50 | </padding>
|
76 |
| - <VBox.margin> |
77 |
| - <Insets left="10.0" /> |
78 |
| - </VBox.margin> |
79 |
| - </Label> |
80 |
| - <HBox alignment="CENTER_LEFT" prefWidth="200.0"> |
| 51 | + </HBox> |
| 52 | + <HBox> |
81 | 53 | <children>
|
82 |
| - <Label maxHeight="-Infinity" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="100.0" styleClass="create_account_field_label" text="Password:"> |
83 |
| - <padding> |
84 |
| - <Insets bottom="5.0" left="10.0" right="10.0" top="5.0" /> |
85 |
| - </padding> |
86 |
| - <HBox.margin> |
87 |
| - <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> |
88 |
| - </HBox.margin> |
89 |
| - </Label> |
90 |
| - <PasswordField maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="24.0" prefWidth="300.0" styleClass="create_account_password"> |
| 54 | + <Button mnemonicParsing="false" onMouseClicked="#resetAll" prefHeight="36.0" prefWidth="100.0" styleClass="button_normal" text="Reset All"> |
91 | 55 | <HBox.margin>
|
92 | 56 | <Insets right="10.0" />
|
93 | 57 | </HBox.margin>
|
94 |
| - </PasswordField> |
95 |
| - </children> |
96 |
| - </HBox> |
97 |
| - <HBox alignment="CENTER_LEFT" prefWidth="200.0"> |
98 |
| - <children> |
99 |
| - <Label maxHeight="-Infinity" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="100.0" styleClass="create_account_field_label" text="Once More:"> |
100 |
| - <padding> |
101 |
| - <Insets bottom="5.0" left="10.0" right="10.0" top="5.0" /> |
102 |
| - </padding> |
| 58 | + </Button> |
| 59 | + <Button mnemonicParsing="false" onMouseClicked="#generate" prefHeight="36.0" prefWidth="100.0" styleClass="button_primary" text="Generate"> |
103 | 60 | <HBox.margin>
|
104 |
| - <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> |
| 61 | + <Insets right="10.0" /> |
105 | 62 | </HBox.margin>
|
106 |
| - </Label> |
107 |
| - <PasswordField maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="24.0" prefWidth="300.0" styleClass="create_account_password"> |
| 63 | + </Button> |
| 64 | + <Button mnemonicParsing="false" onMouseClicked="#saveAs" prefHeight="36.0" prefWidth="100.0" styleClass="button_primary" text="Save As ..."> |
108 | 65 | <HBox.margin>
|
109 |
| - <Insets bottom="10.0" right="10.0" /> |
| 66 | + <Insets right="10.0" /> |
110 | 67 | </HBox.margin>
|
111 |
| - </PasswordField> |
| 68 | + </Button> |
112 | 69 | </children>
|
| 70 | + <VBox.margin> |
| 71 | + <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> |
| 72 | + </VBox.margin> |
113 | 73 | </HBox>
|
114 |
| - <Label prefHeight="36.0" styleClass="create_account_step" text="3. save your account"> |
115 |
| - <padding> |
116 |
| - <Insets right="20.0" /> |
117 |
| - </padding> |
| 74 | + <GridPane maxWidth="-Infinity" minWidth="-Infinity" prefWidth="804.0"> |
| 75 | + <columnConstraints> |
| 76 | + <ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="70.0" /> |
| 77 | + <ColumnConstraints hgrow="SOMETIMES" maxWidth="402.0" minWidth="10.0" prefWidth="363.0" /> |
| 78 | + <ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="70.0" /> |
| 79 | + <ColumnConstraints hgrow="SOMETIMES" maxWidth="302.0" minWidth="10.0" prefWidth="291.0" /> |
| 80 | + </columnConstraints> |
| 81 | + <rowConstraints> |
| 82 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 83 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 84 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 85 | + </rowConstraints> |
118 | 86 | <VBox.margin>
|
119 |
| - <Insets left="10.0" /> |
| 87 | + <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> |
120 | 88 | </VBox.margin>
|
121 |
| - </Label> |
122 |
| - <HBox alignment="CENTER_LEFT" prefWidth="200.0"> |
123 | 89 | <children>
|
124 |
| - <Button mnemonicParsing="false" onMouseClicked="#openFileChooser" styleClass="file_chooser" text="Save As ..." /> |
125 |
| - <TextField fx:id="savePath" editable="false" styleClass="file_chooser_label" HBox.hgrow="ALWAYS"> |
126 |
| - <HBox.margin> |
| 90 | + <Label alignment="CENTER_RIGHT" prefHeight="24.0" prefWidth="60.0" styleClass="create_account_field_label" text="ID:"> |
| 91 | + <padding> |
127 | 92 | <Insets right="10.0" />
|
128 |
| - </HBox.margin> |
| 93 | + </padding> |
| 94 | + </Label> |
| 95 | + <Label alignment="CENTER_RIGHT" prefHeight="24.0" prefWidth="60.0" styleClass="create_account_field_label" text="Pub:" GridPane.columnIndex="2" GridPane.rowIndex="1"> |
| 96 | + <padding> |
| 97 | + <Insets right="10.0" /> |
| 98 | + </padding> |
| 99 | + </Label> |
| 100 | + <Label alignment="CENTER_RIGHT" prefHeight="24.0" prefWidth="60.0" styleClass="create_account_field_label" text="Prv:" GridPane.rowIndex="1"> |
| 101 | + <padding> |
| 102 | + <Insets right="10.0" /> |
| 103 | + </padding> |
| 104 | + </Label> |
| 105 | + <Label alignment="CENTER_RIGHT" prefHeight="24.0" prefWidth="60.0" styleClass="create_account_field_label" text="IV:" GridPane.columnIndex="2"> |
| 106 | + <padding> |
| 107 | + <Insets right="10.0" /> |
| 108 | + </padding> |
| 109 | + </Label> |
| 110 | + <TextField fx:id="cAccountId" editable="false" styleClass="text_common" GridPane.columnIndex="1"> |
| 111 | + <GridPane.margin> |
| 112 | + <Insets right="10.0" /> |
| 113 | + </GridPane.margin> |
| 114 | + </TextField> |
| 115 | + <TextField fx:id="cAccountIv" editable="false" styleClass="text_common" GridPane.columnIndex="3"> |
| 116 | + <GridPane.margin> |
| 117 | + <Insets right="10.0" /> |
| 118 | + </GridPane.margin> |
| 119 | + </TextField> |
| 120 | + <TextField fx:id="cAccountPrv" editable="false" styleClass="text_common" GridPane.columnIndex="1" GridPane.rowIndex="1"> |
| 121 | + <GridPane.margin> |
| 122 | + <Insets right="10.0" /> |
| 123 | + </GridPane.margin> |
| 124 | + </TextField> |
| 125 | + <TextField fx:id="cAccountPub" editable="false" styleClass="text_common" GridPane.columnIndex="3" GridPane.rowIndex="1"> |
| 126 | + <GridPane.margin> |
| 127 | + <Insets right="10.0" /> |
| 128 | + </GridPane.margin> |
| 129 | + </TextField> |
| 130 | + <Label alignment="CENTER_RIGHT" prefHeight="24.0" prefWidth="60.0" styleClass="create_account_field_label" text="Sec:" GridPane.rowIndex="2"> |
| 131 | + <padding> |
| 132 | + <Insets right="10.0" /> |
| 133 | + </padding> |
| 134 | + </Label> |
| 135 | + <TextField fx:id="cAccountSec" editable="false" styleClass="text_common" GridPane.columnIndex="1" GridPane.rowIndex="2"> |
| 136 | + <GridPane.margin> |
| 137 | + <Insets right="10.0" /> |
| 138 | + </GridPane.margin> |
129 | 139 | </TextField>
|
130 | 140 | </children>
|
131 |
| - <VBox.margin> |
132 |
| - <Insets left="10.0" top="10.0" /> |
133 |
| - </VBox.margin> |
134 |
| - </HBox> |
135 |
| - <HBox alignment="CENTER_LEFT" prefWidth="200.0"> |
136 |
| - <VBox.margin> |
137 |
| - <Insets left="10.0" top="20.0" /> |
138 |
| - </VBox.margin> |
139 |
| - </HBox> |
| 141 | + </GridPane> |
140 | 142 | </children>
|
141 | 143 | <stylesheets>
|
142 | 144 | <URL value="@../css/workspace.css" />
|
|
0 commit comments