biigle / volumes

:m: BIIGLE module to create, edit and explore image volumes
0 stars 0 forks source link

Show all image labels with one click #58

Closed dlangenk closed 5 years ago

dlangenk commented 5 years ago

Clicking on all show image label buttons is a bit tedious. Implement a button and endpoint to batch that.

For now: Array.prototype.forEach.call(document.getElementsByClassName('image-button'),function(element){if (element.tagName!='A'){element.click();}});

mzur commented 5 years ago

This should also display the individual buttons for each image. After this change, only one global button should control display of image labels.

mzur commented 5 years ago

Implement this alongside #6.

mzur commented 5 years ago

Do this similar to #6 with a switch at the top of the "image labels" tab. I chose not to implement an extra tab for "settings".