Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tools/image-compressor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,8 @@ <h3 style="margin-bottom: 0.5rem;">Batch Completed</h3>
} else if (item.status === 'processing') statusHtml = `<span style="color:var(--accent)">Compressing...</span>`;
else if (item.status === 'error') statusHtml = `<span style="color:red">Error</span>`;

li.innerHTML = `<div class="file-info"><span class="file-name">${escapeHtml(item.file.name)}</span> <span class="file-size">${formatFileSize(item.file.size)}</span></div><div>${statusHtml}</div>`;
li.innerHTML = `<div class="file-info"><span class="file-name"></span> <span class="file-size">${formatFileSize(item.file.size)}</span></div><div>${statusHtml}</div>`;
li.querySelector('.file-name').textContent = item.file.name;
list.appendChild(li);
});
document.getElementById('bulkControls').classList.toggle('hidden', bulkQueue.length === 0);
Expand Down
3 changes: 2 additions & 1 deletion tools/pdf-extractor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,14 @@ <h3>Extracted Assets <span id="imgCount" style="font-weight: normal; font-size:
<div class="file-info">
<span style="font-size: 1.5rem;">📄</span>
<div>
<div class="file-name">${file.name}</div>
<div class="file-name"></div>
<div class="file-size">${formatFileSize(file.size)}</div>
</div>
</div>
<button class="remove-file" onclick="resetTool()">×</button>
</li>
`;
fileList.querySelector('.file-name').textContent = file.name;

dropZone.classList.add('hidden');
controlPanel.classList.remove('hidden');
Expand Down
Loading