update #5
1 changed files with 5 additions and 2 deletions
|
@ -33,7 +33,6 @@
|
||||||
<option value="0" th:text="#{overlay-pdfs.position.foreground}">Foreground</option>
|
<option value="0" th:text="#{overlay-pdfs.position.foreground}">Foreground</option>
|
||||||
<option value="1" th:text="#{overlay-pdfs.position.background}">Background</option>
|
<option value="1" th:text="#{overlay-pdfs.position.background}">Background</option>
|
||||||
</select>
|
</select>
|
||||||
<br>
|
|
||||||
<div id="countsContainer" style="display: none;">
|
<div id="countsContainer" style="display: none;">
|
||||||
<label th:text="#{overlay-pdfs.counts.label}">Overlay Counts</label>
|
<label th:text="#{overlay-pdfs.counts.label}">Overlay Counts</label>
|
||||||
<!-- Inputs for counts will be dynamically added here -->
|
<!-- Inputs for counts will be dynamically added here -->
|
||||||
|
@ -57,7 +56,11 @@
|
||||||
console.log("files",files);
|
console.log("files",files);
|
||||||
if(files) {
|
if(files) {
|
||||||
const fileCount = files.length;
|
const fileCount = files.length;
|
||||||
|
countsContainer.appendChild(document.createElement("br"));
|
||||||
|
const label = document.createElement('label');
|
||||||
|
label.setAttribute('th:text', '#{overlay-pdfs.counts.label}');
|
||||||
|
label.textContent = "Overlay Counts";
|
||||||
|
countsContainer.appendChild(label);
|
||||||
for (let i = 0; i < fileCount; i++) {
|
for (let i = 0; i < fileCount; i++) {
|
||||||
const input = document.createElement('input');
|
const input = document.createElement('input');
|
||||||
input.type = 'text';
|
input.type = 'text';
|
||||||
|
|
Loading…
Reference in a new issue