add content warning

This commit is contained in:
Jeremy Penner 2023-12-25 19:08:32 -05:00
parent 96c9281967
commit 053f3b6589

View file

@ -605,9 +605,14 @@ const displayList = async (indexFile, containerId) => {
const fileContainer = document.createElement("div") const fileContainer = document.createElement("div")
fileContainer.style.border = "1px solid black" fileContainer.style.border = "1px solid black"
fileContainer.style.margin = "2px" fileContainer.style.margin = "2px"
fileContainer.style.padding = "2px"
fileContainer.style.display = "inline-block" fileContainer.style.display = "inline-block"
fileContainer.appendChild(linkDetail(textNode(filename, "div"), filename)) fileContainer.appendChild(linkDetail(textNode(filename, "div"), filename))
container.appendChild(fileContainer) container.appendChild(fileContainer)
if (filename != 'heads/fhead.bin') {
displayFile(filename, fileContainer) displayFile(filename, fileContainer)
} else {
fileContainer.appendChild(textNode("CW: Pixel genitals"))
}
} }
} }