|
@@ -4,7 +4,6 @@
|
|
|
<?import javafx.scene.control.Button?>
|
|
|
<?import javafx.scene.control.ProgressIndicator?>
|
|
|
<?import javafx.scene.layout.HBox?>
|
|
|
-<?import javafx.scene.layout.Region?>
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
<?import javafx.scene.text.Text?>
|
|
|
<?import javafx.scene.text.TextFlow?>
|
|
@@ -12,19 +11,20 @@
|
|
|
xmlns:fx="http://javafx.com/fxml"
|
|
|
fx:controller="org.cryptomator.ui.unlock.UnlockSuccessController"
|
|
|
minWidth="300"
|
|
|
+ maxWidth="300"
|
|
|
spacing="6">
|
|
|
<padding>
|
|
|
- <Insets bottom="6.0" left="6.0" right="6.0" top="6.0"/>
|
|
|
+ <Insets bottom="12.0" left="12.0" right="12.0" top="12.0"/>
|
|
|
</padding>
|
|
|
<children>
|
|
|
<TextFlow styleClass="text-flow">
|
|
|
+ <Text text="TODO Unlocked ""/>
|
|
|
<Text text="${controller.vault.displayableName}"/>
|
|
|
- <Text text="TODO unlocked successfully! "/>
|
|
|
+ <Text text="" successfully! Your vault is now accessible at "TODO"."/>
|
|
|
</TextFlow>
|
|
|
- <HBox>
|
|
|
- <Button text="TODO done" cancelButton="true" onAction="#close"/>
|
|
|
- <Region HBox.hgrow="ALWAYS"/>
|
|
|
- <Button text="TODO show me!" defaultButton="true" onAction="#revealAndClose" contentDisplay="${controller.revealButtonState}">
|
|
|
+ <HBox alignment="CENTER_RIGHT" spacing="9">
|
|
|
+ <Button text="%generic.button.done" cancelButton="true" onAction="#close"/>
|
|
|
+ <Button text="%unlock.success.reveal" defaultButton="true" onAction="#revealAndClose" contentDisplay="${controller.revealButtonState}">
|
|
|
<graphic>
|
|
|
<ProgressIndicator progress="-1" prefWidth="12" prefHeight="12"/>
|
|
|
</graphic>
|