mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-08-19 13:46:04 +00:00
55 lines
1.8 KiB
XML
55 lines
1.8 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.Label?>
|
|
<?import javafx.scene.image.Image?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?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.keyloading.hub.RegisterDeviceController"
|
|
minWidth="400"
|
|
maxWidth="400"
|
|
minHeight="145"
|
|
spacing="12">
|
|
<padding>
|
|
<Insets topRightBottomLeft="12"/>
|
|
</padding>
|
|
<children>
|
|
<HBox spacing="12" VBox.vgrow="ALWAYS">
|
|
<HBox alignment="CENTER">
|
|
<ImageView VBox.vgrow="ALWAYS" fitWidth="64" preserveRatio="true" cache="true">
|
|
<Image url="@../img/bot/bot.png"/>
|
|
</ImageView>
|
|
</HBox>
|
|
|
|
<VBox spacing="6">
|
|
<Label text="This device is not yet known to Cryptomator Hub. Please register this device first." wrapText="true"/>
|
|
<TextFlow styleClass="text-flow">
|
|
<Text text="Verification Code: "/>
|
|
<Text styleClass="label-large" text="${controller.verificationCode}"/>
|
|
</TextFlow>
|
|
</VBox>
|
|
</HBox>
|
|
|
|
<VBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
|
|
<ButtonBar buttonMinWidth="120" buttonOrder="+CU">
|
|
<buttons>
|
|
<Button text="%generic.button.close" ButtonBar.buttonData="CANCEL_CLOSE" cancelButton="true" onAction="#close"/>
|
|
<Button text="Register Device" ButtonBar.buttonData="OTHER" defaultButton="true" onAction="#browse" contentDisplay="LEFT">
|
|
<graphic>
|
|
<FontAwesome5IconView glyph="LINK" glyphSize="12"/>
|
|
</graphic>
|
|
</Button>
|
|
</buttons>
|
|
</ButtonBar>
|
|
</VBox>
|
|
</children>
|
|
</VBox>
|