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:
Jonathan Xu
2018-12-09 22:35:32 -05:00
committed by Jeffrey Warren
parent ceca433806
commit 95f8dad901
8 changed files with 4048 additions and 3963 deletions

View File

@@ -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)