Expanded UI

This commit is contained in:
Aodhan
2025-06-21 21:44:52 +01:00
parent 324a21800a
commit 1ff4a6f6d7
89 changed files with 81619 additions and 114 deletions

View File

@@ -11,4 +11,21 @@ export function updateImageInfo(data) {
if (resolutionEl) {
resolutionEl.textContent = `Resolution: ${data.resolution || 'N/A'}`;
}
const filenameEl = document.getElementById('image-filename');
if (filenameEl) {
filenameEl.textContent = `Filename: ${data.filename || 'N/A'}`;
}
const creationEl = document.getElementById('image-creation-date');
if (creationEl) {
creationEl.textContent = `Created: ${data.creation_date || 'N/A'}`;
}
const promptEl = document.getElementById('image-prompt');
if (promptEl) {
// textarea uses value attribute
if (promptEl.tagName === 'TEXTAREA') {
promptEl.value = data.prompt_data || '';
} else {
promptEl.textContent = data.prompt_data || '';
}
}
}