Skip to content

Build your personal knowledge base with Trilium Notes

client/options/sync: reorder the input fields

Adorian Doran4cb866c0e65f
diff --git a/src/public/app/widgets/type_widgets/options/sync.ts b/src/public/app/widgets/type_widgets/options/sync.ts
index 43c594d256..c97e408ca4 100644
--- a/src/public/app/widgets/type_widgets/options/sync.ts
+++ b/src/public/app/widgets/type_widgets/options/sync.ts
@@ -14,14 +14,6 @@ const TPL = `
<input id="sync-server-host" class="sync-server-host form-control" placeholder="https://<host>:<port>">
</div>
- <div class="form-group">
- <label for="sync-server-timeout">${t("sync_2.timeout")}</label>
- <label class="input-group tn-number-unit-pair">
- <input id="sync-server-timeout" class="sync-server-timeout form-control" min="1" max="10000000" type="number" style="text-align: left;">
- <span class="input-group-text">${t("sync_2.timeout_unit")}</span>
- </label>
- </div>
-
<div class="form-group">
<label for="sync-proxy form-control" >${t("sync_2.proxy_label")}</label>
<input id="sync-proxy form-control" class="sync-proxy form-control" placeholder="https://<host>:<port>">
@@ -30,6 +22,14 @@ const TPL = `
<p class="form-text">${t("sync_2.special_value_description")}</p>
</div>
+ <div class="form-group">
+ <label for="sync-server-timeout">${t("sync_2.timeout")}</label>
+ <label class="input-group tn-number-unit-pair">
+ <input id="sync-server-timeout" class="sync-server-timeout form-control" min="1" max="10000000" type="number" style="text-align: left;">
+ <span class="input-group-text">${t("sync_2.timeout_unit")}</span>
+ </label>
+ </div>
+
<div style="display: flex; justify-content: space-between;">
<button class="btn btn-primary">${t("sync_2.save")}</button>