syncthing/gui/default
tomasz1986 73e2e2a794
gui: Make device ID read-only and hide "nearby devices" when adding a new pending device (fixes #8083) (#8091)
* gui: Make ID read-only and hide nearby devices when adding pending devices (fixes #8083)

Currently, there is no distinction between adding "new" and "pending"
devices. For this reason, the user is always presented with a list of
"nearby devices" to choose from. This commit adds such distinction to
the code, and in the case of "pending" device, both the device ID is
made read-only and the nearby devices list is hidden.

As a by-product of the function rename and clean-up, this commit also
hides the non-functional "remove" button that is shown when editing
device defaults.

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2022-01-28 09:15:56 +01:00
..
assets gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00
syncthing gui: Make device ID read-only and hide "nearby devices" when adding a new pending device (fixes #8083) (#8091) 2022-01-28 09:15:56 +01:00
vendor gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00
index.html gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00
modal.html gui: Update to Font Awesome v5 (#4889) 2018-05-24 19:59:32 +01:00