mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-07-30 20:12:38 +00:00
37 lines
1.3 KiB
XML
37 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import org.cryptomator.ui.controls.FormattedLabel?>
|
|
<?import org.cryptomator.ui.controls.NiceSecurePasswordField?>
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.ButtonBar?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<VBox xmlns:fx="http://javafx.com/fxml"
|
|
xmlns="http://javafx.com/javafx"
|
|
fx:controller="org.cryptomator.ui.recoverykey.RecoveryKeyCreationController"
|
|
minWidth="400"
|
|
maxWidth="400"
|
|
minHeight="145"
|
|
spacing="12"
|
|
alignment="TOP_CENTER">
|
|
<padding>
|
|
<Insets topRightBottomLeft="12"/>
|
|
</padding>
|
|
<children>
|
|
<VBox spacing="6">
|
|
<FormattedLabel format="%recoveryKey.enterPassword.prompt" arg1="${controller.vault.displayName}" wrapText="true"/>
|
|
<NiceSecurePasswordField fx:id="passwordField" HBox.hgrow="ALWAYS"/>
|
|
</VBox>
|
|
|
|
<VBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
|
|
<ButtonBar buttonMinWidth="120" buttonOrder="C+X">
|
|
<buttons>
|
|
<Button text="%generic.button.cancel" ButtonBar.buttonData="CANCEL_CLOSE" cancelButton="true" onAction="#close"/>
|
|
<Button text="%generic.button.next" ButtonBar.buttonData="NEXT_FORWARD" defaultButton="true" onAction="#createRecoveryKey" disable="${passwordField.text.empty}"/>
|
|
</buttons>
|
|
</ButtonBar>
|
|
</VBox>
|
|
</children>
|
|
</VBox>
|