mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-08-19 05:36:02 +00:00
55 lines
1.9 KiB
XML
55 lines
1.9 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.control.Label?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.StackPane?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.shape.Circle?>
|
|
<?import javafx.scene.Group?>
|
|
<?import javafx.scene.layout.Region?>
|
|
<HBox xmlns:fx="http://javafx.com/fxml"
|
|
xmlns="http://javafx.com/javafx"
|
|
fx:controller="org.cryptomator.ui.lock.LockForcedController"
|
|
minWidth="400"
|
|
maxWidth="500"
|
|
minHeight="145"
|
|
spacing="12"
|
|
alignment="TOP_LEFT">
|
|
<padding>
|
|
<Insets topRightBottomLeft="12"/>
|
|
</padding>
|
|
<children>
|
|
<Group>
|
|
<StackPane>
|
|
<padding>
|
|
<Insets topRightBottomLeft="6"/>
|
|
</padding>
|
|
<Circle styleClass="glyph-icon-orange" radius="24"/>
|
|
<FontAwesome5IconView styleClass="glyph-icon-white" glyph="EXCLAMATION" glyphSize="24"/>
|
|
</StackPane>
|
|
</Group>
|
|
<VBox HBox.hgrow="ALWAYS">
|
|
<Label styleClass="label-large" text="%lock.forced.message" wrapText="true" textAlignment="LEFT">
|
|
<padding>
|
|
<Insets bottom="6" top="6"/>
|
|
</padding>
|
|
</Label>
|
|
<FormattedLabel format="%lock.forced.description" arg1="${controller.vaultName}" wrapText="true"/>
|
|
|
|
<Region VBox.vgrow="ALWAYS" minHeight="18"/>
|
|
<ButtonBar buttonMinWidth="120" buttonOrder="U+CI">
|
|
<buttons>
|
|
<Button text="%generic.button.cancel" ButtonBar.buttonData="CANCEL_CLOSE" defaultButton="true" cancelButton="true" onAction="#cancel"/>
|
|
<Button text="%lock.forced.retryBtn" ButtonBar.buttonData="FINISH" onAction="#retry"/>
|
|
<Button text="%lock.forced.forceBtn" ButtonBar.buttonData="OTHER" onAction="#force" disable="${!controller.forceSupported}"/>
|
|
</buttons>
|
|
</ButtonBar>
|
|
</VBox>
|
|
</children>
|
|
</HBox>
|