hub_require_account_init.fxml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import org.cryptomator.ui.controls.FontAwesome5IconView?>
  3. <?import javafx.geometry.Insets?>
  4. <?import javafx.scene.control.Button?>
  5. <?import javafx.scene.control.ButtonBar?>
  6. <?import javafx.scene.control.Label?>
  7. <?import javafx.scene.Group?>
  8. <?import javafx.scene.layout.HBox?>
  9. <?import javafx.scene.layout.Region?>
  10. <?import javafx.scene.layout.StackPane?>
  11. <?import javafx.scene.layout.VBox?>
  12. <?import javafx.scene.shape.Circle?>
  13. <?import javafx.scene.text.TextFlow?>
  14. <?import javafx.scene.text.Text?>
  15. <?import javafx.scene.control.Hyperlink?>
  16. <HBox xmlns:fx="http://javafx.com/fxml"
  17. xmlns="http://javafx.com/javafx"
  18. fx:controller="org.cryptomator.ui.keyloading.hub.RequireAccountInitController"
  19. minWidth="400"
  20. maxWidth="400"
  21. minHeight="145"
  22. spacing="12"
  23. alignment="TOP_LEFT">
  24. <padding>
  25. <Insets topRightBottomLeft="12"/>
  26. </padding>
  27. <children>
  28. <Group>
  29. <StackPane>
  30. <padding>
  31. <Insets topRightBottomLeft="6"/>
  32. </padding>
  33. <Circle styleClass="glyph-icon-primary" radius="24"/>
  34. <FontAwesome5IconView styleClass="glyph-icon-white" glyph="USER_COG" glyphSize="24"/>
  35. </StackPane>
  36. </Group>
  37. <VBox HBox.hgrow="ALWAYS">
  38. <Label styleClass="label-large" text="%hub.requireAccountInit.message" wrapText="true" textAlignment="LEFT">
  39. <padding>
  40. <Insets bottom="6" top="6"/>
  41. </padding>
  42. </Label>
  43. <TextFlow styleClass="text-flow">
  44. <Text text="%hub.requireAccountInit.description.0"/>
  45. <Text text=" "/>
  46. <Hyperlink styleClass="hyperlink-underline" text="%hub.requireAccountInit.description.1" onAction="#completeSetup"/>
  47. <Text text="%hub.requireAccountInit.description.2"/>
  48. </TextFlow>
  49. <Region VBox.vgrow="ALWAYS" minHeight="18"/>
  50. <ButtonBar buttonMinWidth="120" buttonOrder="+C">
  51. <buttons>
  52. <Button text="%generic.button.close" ButtonBar.buttonData="CANCEL_CLOSE" defaultButton="true" onAction="#close"/>
  53. </buttons>
  54. </ButtonBar>
  55. </VBox>
  56. </children>
  57. </HBox>