mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
client/options/sync: reorder the input fields
This commit is contained in:
parent
480292dc01
commit
4cb866c0e6
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user