mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-07-28 02:52:37 +00:00
45 lines
1.6 KiB
XML
45 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
|
|
<?import org.cryptomator.ui.controls.FormattedLabel?>
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.ButtonBar?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.Region?>
|
|
<?import javafx.scene.layout.StackPane?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.shape.Circle?>
|
|
<VBox xmlns:fx="http://javafx.com/fxml"
|
|
xmlns="http://javafx.com/javafx"
|
|
fx:controller="org.cryptomator.ui.addvaultwizard.AddVaultSuccessController"
|
|
prefWidth="450"
|
|
prefHeight="450"
|
|
spacing="12"
|
|
alignment="TOP_CENTER">
|
|
<padding>
|
|
<Insets topRightBottomLeft="24"/>
|
|
</padding>
|
|
<children>
|
|
<Region VBox.vgrow="ALWAYS"/>
|
|
|
|
<StackPane alignment="CENTER" HBox.hgrow="NEVER">
|
|
<Circle styleClass="glyph-icon-primary" radius="36"/>
|
|
<FontAwesome5IconView styleClass="glyph-icon-white" glyph="CHECK" glyphSize="36"/>
|
|
</StackPane>
|
|
|
|
<Region VBox.vgrow="ALWAYS"/>
|
|
|
|
<FormattedLabel format="%addvaultwizard.success.nextStepsInstructions" arg1="${controller.vault.displayName}" wrapText="true" HBox.hgrow="ALWAYS"/>
|
|
|
|
<Region VBox.vgrow="ALWAYS"/>
|
|
|
|
<ButtonBar buttonMinWidth="120" buttonOrder="+IU">
|
|
<buttons>
|
|
<Button text="%generic.button.done" ButtonBar.buttonData="FINISH" onAction="#close" defaultButton="${!controller.vault.locked}"/>
|
|
<Button text="%addvaultwizard.success.unlockNow" ButtonBar.buttonData="OTHER" onAction="#unlockAndClose" defaultButton="${controller.vault.locked}" visible="${controller.vault.locked}"/>
|
|
</buttons>
|
|
</ButtonBar>
|
|
</children>
|
|
</VBox>
|