This commit is contained in:
32
ui/app.slint
32
ui/app.slint
@@ -228,10 +228,11 @@ export component AppWindow inherits Window {
|
||||
in-out property <string> webdav-username-text;
|
||||
in-out property <string> webdav-password-text;
|
||||
in-out property <string> webdav-status-text;
|
||||
in-out property <string> webdav-auto-sync-interval: "0";
|
||||
callback webdav-test-connection();
|
||||
callback webdav-push();
|
||||
callback webdav-pull();
|
||||
callback webdav-save-settings(bool, string, string, string);
|
||||
callback webdav-save-settings(bool, string, string, string, string);
|
||||
callback app-config-save(string, string, string, int, string, string, string, bool, string);
|
||||
callback app-config-pick-dir();
|
||||
callback app-background-pick();
|
||||
@@ -1387,6 +1388,32 @@ export component AppWindow inherits Window {
|
||||
}
|
||||
}
|
||||
|
||||
HorizontalLayout {
|
||||
height: 30px;
|
||||
spacing: 10px;
|
||||
Text {
|
||||
width: 148px;
|
||||
height: parent.height;
|
||||
text: @tr("Auto-sync interval (min)");
|
||||
color: Theme.text-secondary;
|
||||
font-size: Theme.fs-sm;
|
||||
vertical-alignment: center;
|
||||
overflow: elide;
|
||||
}
|
||||
ConfigTextField {
|
||||
value <=> root.webdav-auto-sync-interval;
|
||||
field-width: 80px;
|
||||
}
|
||||
Text {
|
||||
height: parent.height;
|
||||
text: @tr("0 = off");
|
||||
color: Theme.text-muted;
|
||||
font-size: Theme.fs-xs;
|
||||
vertical-alignment: center;
|
||||
overflow: elide;
|
||||
}
|
||||
}
|
||||
|
||||
HorizontalLayout {
|
||||
height: 30px;
|
||||
spacing: 10px;
|
||||
@@ -1439,7 +1466,8 @@ export component AppWindow inherits Window {
|
||||
root.webdav-enabled,
|
||||
root.webdav-url-text,
|
||||
root.webdav-username-text,
|
||||
root.webdav-password-text);
|
||||
root.webdav-password-text,
|
||||
root.webdav-auto-sync-interval);
|
||||
root.app-config-save(
|
||||
root.max-tabs-text,
|
||||
root.terminal-font-size-text,
|
||||
|
||||
Reference in New Issue
Block a user