syncthing/gui
André Colomb ab53687c38
gui: Restore Select / Deselect All buttons in device sharing tab. (#7161)
This fixes a regression by restoring two functions removed in commit
a20d85d451, but still used from the HTML
template.  Adjust the restored versions to access the new flag storage
structure.

The replacement functions selectAllSharedFolders() and
selectAllUnrelatedFolders() are not functional, so this is just a
quick fix to restore a working state before making the new functions
actually work sensibly.

Just like the respective functions for sharing device selections, give
it a boolean argument instead of writing two almost identical
functions.

In line with the other selectAll...() functions, avoid calling
angular.forEach() and iterate over the folders object directly.
2020-11-27 11:48:48 +01:00
..
black/assets/css gui: Fix tab headers in black and dark themes (fixes #5583) 2019-10-01 20:09:52 +01:00
dark/assets/css gui: Fix tab headers in black and dark themes (fixes #5583) 2019-10-01 20:09:52 +01:00
default gui: Restore Select / Deselect All buttons in device sharing tab. (#7161) 2020-11-27 11:48:48 +01:00
light/assets/css gui, lib/api: Adds support for prefers-color-scheme (fixes #6115) 2019-11-08 21:44:37 +00:00