|
@@ -1,10 +1,42 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
+<?import javafx.geometry.Insets?>
|
|
|
+<?import javafx.scene.control.CheckBox?>
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
+<?import javafx.scene.layout.HBox?>
|
|
|
+<?import javafx.scene.control.ChoiceBox?>
|
|
|
+<?import javafx.scene.control.Button?>
|
|
|
+<?import javafx.scene.control.TextField?>
|
|
|
<VBox xmlns="http://javafx.com/javafx"
|
|
|
xmlns:fx="http://javafx.com/fxml"
|
|
|
fx:controller="org.cryptomator.ui.preferences.PreferencesController"
|
|
|
- styleClass="main-window">
|
|
|
- <Label text="preferences..."/>
|
|
|
+ styleClass="main-window"
|
|
|
+ spacing="6">
|
|
|
+ <padding>
|
|
|
+ <Insets bottom="12" left="12" right="12" top="12"/>
|
|
|
+ </padding>
|
|
|
+ <children>
|
|
|
+ <Label text="TODO preferences..."/>
|
|
|
+
|
|
|
+ <CheckBox fx:id="checkForUpdatesCheckbox" text="%preferences.autoUpdateCheck"/>
|
|
|
+
|
|
|
+ <CheckBox fx:id="debugModeCheckbox" text="%preferences.debugLogging"/>
|
|
|
+
|
|
|
+ <HBox spacing="6" alignment="BASELINE_LEFT">
|
|
|
+ <Label text="%preferences.volumeType"/>
|
|
|
+ <ChoiceBox fx:id="volumeTypeChoicBox"/>
|
|
|
+ </HBox>
|
|
|
+
|
|
|
+ <HBox spacing="6" visible="${controller.showWebDavSettings}">
|
|
|
+ <Label text="TODO WebDAV Port"/>
|
|
|
+ <TextField fx:id="portField"/>
|
|
|
+ <Button text="TODO Apply" fx:id="changePortButton" />
|
|
|
+ </HBox>
|
|
|
+
|
|
|
+ <HBox spacing="6" visible="${controller.showWebDavSettings}">
|
|
|
+ <Label text="TODO WebDAV Scheme"/>
|
|
|
+ <ChoiceBox fx:id="prefGvfsScheme" maxWidth="Infinity"/>
|
|
|
+ </HBox>
|
|
|
+ </children>
|
|
|
</VBox>
|