|
@@ -0,0 +1,37 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+
|
|
|
+
|
|
|
+<?import javafx.scene.control.Button?>
|
|
|
+<?import javafx.scene.control.ButtonBar?>
|
|
|
+<?import javafx.scene.control.Label?>
|
|
|
+<?import javafx.scene.layout.AnchorPane?>
|
|
|
+<?import javafx.scene.layout.HBox?>
|
|
|
+<?import javafx.scene.layout.StackPane?>
|
|
|
+<?import javafx.scene.layout.VBox?>
|
|
|
+<?import javafx.scene.shape.Circle?>
|
|
|
+<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
|
|
|
+
|
|
|
+<AnchorPane xmlns="http://javafx.com/javafx"
|
|
|
+ xmlns:fx="http://javafx.com/fxml"
|
|
|
+ fx:controller="org.cryptomator.ui.migration.MigrationImpossibleController"
|
|
|
+ prefHeight="400.0" prefWidth="600.0">
|
|
|
+
|
|
|
+ <HBox spacing="12" alignment="CENTER_LEFT" VBox.vgrow="ALWAYS">
|
|
|
+ <StackPane alignment="CENTER" HBox.hgrow="NEVER">
|
|
|
+ <Circle styleClass="glyph-icon-primary" radius="24"/>
|
|
|
+ <FontAwesome5IconView styleClass="glyph-icon-white" glyph="TIMES" glyphSize="24"/>
|
|
|
+ </StackPane>
|
|
|
+ <Label text="%migration.impossible.nextStepsInstructions" wrapText="true" HBox.hgrow="ALWAYS"/>
|
|
|
+
|
|
|
+ <!-- TODO: maybe add error why it is not possible -->
|
|
|
+ </HBox>
|
|
|
+
|
|
|
+ <VBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
|
|
|
+ <ButtonBar buttonMinWidth="120" buttonOrder="+C">
|
|
|
+ <buttons>
|
|
|
+ <!-- Button text="Try again" ButtonBar.buttonData="to do" onAction="#retry" / also add button to button bar order-->
|
|
|
+ <Button text="%generic.button.close" ButtonBar.buttonData="CANCEL_CLOSE" cancelButton="true" onAction="#close"/>
|
|
|
+ </buttons>
|
|
|
+ </ButtonBar>
|
|
|
+ </VBox>
|
|
|
+</AnchorPane>
|