1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?import org.cryptomator.ui.controls.FontAwesome5Spinner?>
- <?import javafx.geometry.Insets?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.ButtonBar?>
- <?import javafx.scene.control.Hyperlink?>
- <?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.AuthController"
- minWidth="400"
- maxWidth="400"
- minHeight="145"
- spacing="12">
- <padding>
- <Insets topRightBottomLeft="12"/>
- </padding>
- <children>
- <HBox spacing="12" VBox.vgrow="ALWAYS">
- <ImageView VBox.vgrow="ALWAYS" fitWidth="64" preserveRatio="true" cache="true">
- <Image url="@../img/bot/bot.png"/>
- </ImageView>
- <TextFlow visible="${controller.ready}" managed="${controller.ready}">
- <Text text="TODO: please login via " />
- <Hyperlink styleClass="hyperlink-underline" text="${controller.authUriHost}" onAction="#openBrowser"/>
- </TextFlow>
- <FontAwesome5Spinner glyphSize="12" visible="${!controller.ready}" managed="${!controller.ready}"/>
- </HBox>
- <VBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
- <ButtonBar buttonMinWidth="120" buttonOrder="+C">
- <buttons>
- <Button text="%generic.button.cancel" ButtonBar.buttonData="CANCEL_CLOSE" cancelButton="true" onAction="#cancel"/>
- </buttons>
- </ButtonBar>
- </VBox>
- </children>
- </VBox>
|