Added lock/unlock all (#713)

* Added lock/unlock all

Lock All , Unlock All as separate buttons. Additionally to InvertLock.

* Update burgs-overview.js

Updated the syntax to the one suggested by Azgaar.

* Lock/unlock in one button

Unlock all burgs and lock all burgs in just one button.
Additionally to invert lock.

* lock unlock in burgs-overview.js

Added a way to check if burgs are locked or unlocked with the lock all button, so it works in any situations about locking.

* burgs-overview.js lock all

Changed burgsonoff to setLockBurgs, also put setLockIcon.

* index.html burgsonoff to burgsLockAll

* Update burgs-overview.js

spacing
This commit is contained in:
Ángel Montero Lamas 2022-01-01 16:56:22 +01:00 committed by Peter
parent 25a43996fd
commit 142351c6ef

View file

@ -9,7 +9,8 @@ function overviewBurgs() {
updateFilter(); updateFilter();
updateLockAllIcon(); updateLockAllIcon();
burgsOverviewAddLines(); burgsOverviewAddLines();
$('#burgsOverview').dialog(); setLockIcon();
$("#burgsOverview").dialog();
if (modules.overviewBurgs) return; if (modules.overviewBurgs) return;
modules.overviewBurgs = true; modules.overviewBurgs = true;