mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
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:
parent
44c134ebd0
commit
f3d3538ff5
2 changed files with 42 additions and 1 deletions
|
|
@ -3287,6 +3287,7 @@
|
|||
<button id="addNewBurg" data-tip="Add a new burg. Hold Shift to add multiple" class="icon-plus"></button>
|
||||
<button id="burgsExport" data-tip="Save burgs-related data as a text file (.csv)" class="icon-download"></button>
|
||||
<button id="burgNamesImport" data-tip="Rename burgs in bulk" class="icon-upload"></button>
|
||||
<button id="burgsLockAll" data-tip="Lock / Unlock all burgs" class="icon-lock"></button>
|
||||
<button id="burgsRemoveAll" data-tip="Remove all unlocked burgs except for capitals. To remove a capital remove its state first" class="icon-trash"></button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue