|
@@ -1,9 +1,14 @@
|
|
|
<?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.Label?>
|
|
|
<?import javafx.scene.layout.HBox?>
|
|
|
+<?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.lock.LockFailedController"
|
|
@@ -15,6 +20,18 @@
|
|
|
<Insets topRightBottomLeft="12"/>
|
|
|
</padding>
|
|
|
<children>
|
|
|
- <Label text="This is a stub." wrapText="true" textAlignment="LEFT" HBox.hgrow="ALWAYS"/>
|
|
|
+ <HBox spacing="12" alignment="CENTER_LEFT" VBox.vgrow="ALWAYS">
|
|
|
+ <StackPane alignment="CENTER" HBox.hgrow="NEVER">
|
|
|
+ <Circle styleClass="glyph-icon-red" radius="24"/>
|
|
|
+ <FontAwesome5IconView styleClass="glyph-icon-white" glyph="TIMES" glyphSize="24"/>
|
|
|
+ </StackPane>
|
|
|
+ <VBox spacing="6">
|
|
|
+ <Label styleClass="label-medium" text="%lock.fail.heading"/>
|
|
|
+ <FormattedLabel format="%lock.fail.message" arg1="${controller.vaultName}" wrapText="true"/>
|
|
|
+ </VBox>
|
|
|
+ </HBox>
|
|
|
+ <VBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
|
|
|
+ <Button text="OK" defaultButton="false" VBox.vgrow="ALWAYS" cancelButton="true" onAction="#close"/>
|
|
|
+ </VBox>
|
|
|
</children>
|
|
|
</VBox>
|