mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
Add grid of thumbnails (#539)
* Added four preview images * Added preview images to buttons * Maked the crop preview resposive * icon overlays * made previews square * finalized css for square images * Added four preview images * Added preview images to buttons * Maked the crop preview resposive * icon overlays * made previews square * finalized css for square images
This commit is contained in:
committed by
Jeffrey Warren
parent
ceca433806
commit
95f8dad901
@@ -157,14 +157,18 @@ function DefaultHtmlStepUi(_sequencer, options) {
|
||||
$(step.ui.querySelector("div.details .input-form")).on('submit', saveOptions);
|
||||
}
|
||||
|
||||
if (step.name != "load-image")
|
||||
if (step.name != "load-image"){
|
||||
step.ui
|
||||
.querySelector("div.details")
|
||||
.appendChild(
|
||||
parser.parseFromString(tools, "text/html").querySelector("div")
|
||||
);
|
||||
|
||||
stepsEl.appendChild(step.ui);
|
||||
stepsEl.appendChild(step.ui);
|
||||
}
|
||||
else {
|
||||
$("#load-image").append(step.ui);
|
||||
}
|
||||
|
||||
var inputs = document.querySelectorAll('input[type="range"]')
|
||||
for(i in inputs)
|
||||
|
||||
Reference in New Issue
Block a user