|
@@ -4,38 +4,30 @@
|
|
|
<?import javafx.scene.control.Button?>
|
|
|
<?import javafx.scene.control.ProgressIndicator?>
|
|
|
<?import javafx.scene.layout.HBox?>
|
|
|
-<?import javafx.scene.layout.Region?>
|
|
|
<?import javafx.scene.layout.StackPane?>
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
-<?import javafx.scene.text.Text?>
|
|
|
-<?import javafx.scene.text.TextFlow?>
|
|
|
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
|
|
|
+<?import org.cryptomator.ui.controls.FormattedLabel?>
|
|
|
<VBox xmlns="http://javafx.com/javafx"
|
|
|
xmlns:fx="http://javafx.com/fxml"
|
|
|
fx:controller="org.cryptomator.ui.unlock.UnlockSuccessController"
|
|
|
minWidth="300"
|
|
|
maxWidth="300"
|
|
|
- spacing="6">
|
|
|
+ spacing="12"
|
|
|
+ alignment="CENTER">
|
|
|
<padding>
|
|
|
<Insets bottom="12.0" left="12.0" right="12.0" top="12.0"/>
|
|
|
</padding>
|
|
|
<children>
|
|
|
- <Region VBox.vgrow="NEVER"/>
|
|
|
-
|
|
|
<StackPane alignment="CENTER">
|
|
|
+ <VBox.margin>
|
|
|
+ <Insets topRightBottomLeft="24"/>
|
|
|
+ </VBox.margin>
|
|
|
<FontAwesome5IconView styleClass="glyph-icon-primary" glyph="CIRCLE" HBox.hgrow="NEVER" glyphSize="64"/>
|
|
|
<FontAwesome5IconView styleClass="glyph-icon-main-bg" glyph="CHECK" HBox.hgrow="NEVER" glyphSize="32"/>
|
|
|
</StackPane>
|
|
|
|
|
|
- <Region VBox.vgrow="NEVER"/>
|
|
|
-
|
|
|
- <TextFlow styleClass="text-flow" textAlignment="CENTER">
|
|
|
- <Text text="TODO Unlocked ""/>
|
|
|
- <Text text="${controller.vault.displayableName}"/>
|
|
|
- <Text text="" successfully! Your vault is now accessible at "TODO"."/>
|
|
|
- </TextFlow>
|
|
|
-
|
|
|
- <Region VBox.vgrow="NEVER"/>
|
|
|
+ <FormattedLabel format="%unlock.success.message" arg1="${controller.vault.displayableName}" wrapText="true" textAlignment="CENTER"/>
|
|
|
|
|
|
<HBox alignment="CENTER_RIGHT" spacing="9">
|
|
|
<Button text="%generic.button.done" cancelButton="true" onAction="#close"/>
|