Corrections
Topic 1, 2 I made the change, took it off the website and put it in the Preset section under the +Preset, +Playlist buttons, it was in a good location. Topic 3, 4 It reloads because it needs the updated information so that it can create the preset correctly with all the information generated from the selected image. Topic 5 The change has already been made, it just hasn't gone up yet, it's default upload Topic 6, 7 Fixed
This commit is contained in:
parent
f2d00e6e42
commit
c9b9d86892
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@ esp01-update.sh
|
|||||||
/wled00/LittleFS
|
/wled00/LittleFS
|
||||||
replace_fs.py
|
replace_fs.py
|
||||||
wled00/wled00.ino.cpp
|
wled00/wled00.ino.cpp
|
||||||
|
.vscode/extensions.json
|
||||||
|
@ -638,11 +638,11 @@
|
|||||||
<label for="pattern">Pattern</label>
|
<label for="pattern">Pattern</label>
|
||||||
<select name="pattern" id="pattern" required>
|
<select name="pattern" id="pattern" required>
|
||||||
<option value="">Select a choice</option>
|
<option value="">Select a choice</option>
|
||||||
<option value="1" title="['ffffff']" selected>
|
<option value="1" title="['ffffff']">Individual</option>
|
||||||
Individual
|
|
||||||
</option>
|
|
||||||
<option value="2" title="[0, 'ffffff']">Index</option>
|
<option value="2" title="[0, 'ffffff']">Index</option>
|
||||||
<option value="3" title="[0, 5, 'ffffff']">Range</option>
|
<option value="3" title="[0, 5, 'ffffff']" selected>
|
||||||
|
Range
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -801,7 +801,7 @@
|
|||||||
Color that will replace the
|
Color that will replace the
|
||||||
<strong>transparent pixels</strong> in the image
|
<strong>transparent pixels</strong> in the image
|
||||||
</small>
|
</small>
|
||||||
<input type="color" name="color" id="color" value="#eeeeee" />
|
<input type="color" name="color" id="color" value="#00BFFF" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -809,8 +809,7 @@
|
|||||||
<div class="custom-select">
|
<div class="custom-select">
|
||||||
<label for="images">Images</label>
|
<label for="images">Images</label>
|
||||||
<select name="images" id="images" required>
|
<select name="images" id="images" required>
|
||||||
<option value="">Select a choice</option>
|
<option value="upload" selected>Upload</option>
|
||||||
<option value="upload">Upload</option>
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<small>
|
<small>
|
||||||
@ -822,7 +821,7 @@
|
|||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="dropzone" class="dropzone" validate style="display: none">
|
<div id="dropzone" class="dropzone" validate>
|
||||||
<p id="dropzoneLabel">
|
<p id="dropzoneLabel">
|
||||||
Drag and drop a file here or click to select a file
|
Drag and drop a file here or click to select a file
|
||||||
</p>
|
</p>
|
||||||
@ -1089,10 +1088,7 @@
|
|||||||
return mimeTypes.includes(mimetype);
|
return mimeTypes.includes(mimetype);
|
||||||
});
|
});
|
||||||
|
|
||||||
const options = [
|
const options = [{ text: "Upload", value: "upload" }];
|
||||||
{ text: "Select a choice", value: "" },
|
|
||||||
{ text: "Upload", value: "upload" },
|
|
||||||
];
|
|
||||||
|
|
||||||
if (images) {
|
if (images) {
|
||||||
options.push(
|
options.push(
|
||||||
@ -1106,6 +1102,11 @@
|
|||||||
|
|
||||||
options.forEach(({ text, value }) => {
|
options.forEach(({ text, value }) => {
|
||||||
const option = new Option(text, value);
|
const option = new Option(text, value);
|
||||||
|
|
||||||
|
if (index === 0) {
|
||||||
|
option.selected = true;
|
||||||
|
}
|
||||||
|
|
||||||
select.appendChild(option);
|
select.appendChild(option);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user