mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-07-27 18:42:37 +00:00
69 lines
2.6 KiB
XML
69 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.ButtonBar?>
|
|
<?import javafx.scene.control.Hyperlink?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.StackPane?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.shape.Circle?>
|
|
<?import javafx.scene.text.Text?>
|
|
<?import javafx.scene.text.TextFlow?>
|
|
<VBox xmlns:fx="http://javafx.com/fxml"
|
|
xmlns="http://javafx.com/javafx"
|
|
fx:controller="org.cryptomator.ui.wrongfilealert.WrongFileAlertController"
|
|
prefWidth="600"
|
|
maxWidth="-Infinity"
|
|
minWidth="-Infinity"
|
|
minHeight="-Infinity"
|
|
spacing="24"
|
|
alignment="CENTER">
|
|
<padding>
|
|
<Insets topRightBottomLeft="24"/>
|
|
</padding>
|
|
<children>
|
|
<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="INFO" glyphSize="24"/>
|
|
</StackPane>
|
|
<VBox spacing="6" alignment="CENTER_LEFT" VBox.vgrow="ALWAYS">
|
|
<Label styleClass="label-large" text="%wrongFileAlert.header.title" wrapText="true" textAlignment="LEFT" HBox.hgrow="ALWAYS"/>
|
|
<Label text="%wrongFileAlert.header.lead" wrapText="true" textAlignment="LEFT" HBox.hgrow="ALWAYS"/>
|
|
</VBox>
|
|
</HBox>
|
|
|
|
<ImageView VBox.vgrow="ALWAYS" fitWidth="550" preserveRatio="true" smooth="true" cache="true" image="${controller.screenshot}"/>
|
|
|
|
<VBox spacing="6" alignment="CENTER_LEFT" VBox.vgrow="ALWAYS">
|
|
<Label text="%wrongFileAlert.instruction.0" wrapText="true"/>
|
|
<VBox alignment="CENTER_LEFT" VBox.vgrow="ALWAYS" spacing="6">
|
|
<padding>
|
|
<Insets left="12"/>
|
|
</padding>
|
|
<Label text="%wrongFileAlert.instruction.1" wrapText="true"/>
|
|
<Label text="%wrongFileAlert.instruction.2" wrapText="true"/>
|
|
<Label text="%wrongFileAlert.instruction.3" wrapText="true"/>
|
|
</VBox>
|
|
<TextFlow styleClass="text-flow">
|
|
<Text text="%wrongFileAlert.link"/>
|
|
<Text text=" "/>
|
|
<Hyperlink styleClass="hyperlink-underline" text="docs.cryptomator.org" onAction="#openDocumentation"/>
|
|
<Text text="."/>
|
|
</TextFlow>
|
|
</VBox>
|
|
|
|
<VBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
|
|
<ButtonBar buttonMinWidth="120" buttonOrder="+C">
|
|
<buttons>
|
|
<Button text="%generic.button.close" ButtonBar.buttonData="CANCEL_CLOSE" defaultButton="true" cancelButton="true" onAction="#close"/>
|
|
</buttons>
|
|
</ButtonBar>
|
|
</VBox>
|
|
</children>
|
|
</VBox>
|