reverseproxy
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
|
||||
.scrap-item.audio-note { width: 220px; padding: 1.2em; background: #e8f3ec; text-align: center; }
|
||||
.scrap-item.audio-note audio { width: 100%; margin-top: 0.6em; }
|
||||
.audio-cover { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; margin-bottom: 0.6em; }
|
||||
|
||||
.scrap-caption { font-family: 'Caveat', cursive; font-size: 1.2rem; text-align: center; margin-top: 0.4em; color: var(--ink-soft); }
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@ function renderPage() {
|
||||
}
|
||||
if (b.type === 'audio') {
|
||||
return `<div class="scrap-item audio-note" style="transform: rotate(${rot * 0.5}deg);">
|
||||
${b.coverFilename ? `<img class="audio-cover" src="${uploadUrl(f.folderName, b.coverFilename)}" />` : ''}
|
||||
<div>🎙️ ${b.caption ? escapeHtml(b.caption) : 'Sprachnachricht'}</div>
|
||||
<audio controls src="${uploadUrl(f.folderName, b.filename)}"></audio>
|
||||
</div>`;
|
||||
|
||||
Reference in New Issue
Block a user