From 3849050723eaa12e868e59c33dccfd6b0eb1635c Mon Sep 17 00:00:00 2001 From: SeungWoo Ryu Date: Tue, 8 Jul 2025 01:37:25 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EB=AC=B8=EC=A0=9C=20=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=20=EB=88=84=EB=9D=BD=EB=90=9C=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/test-submit.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/resources/templates/test-submit.html b/src/main/resources/templates/test-submit.html index 66e92fbb..665181fa 100644 --- a/src/main/resources/templates/test-submit.html +++ b/src/main/resources/templates/test-submit.html @@ -295,7 +295,7 @@ /* 비활성 상태의 밑줄 */ color: #ccc; /* 기본 글자색 */ - font-size: 20px; + font-size: 20px; font-weight: 600; transition: all 0.2s ease-in-out; } @@ -816,6 +816,10 @@
+
+ 문제 이미지 +
+
@@ -932,6 +936,13 @@

채점 결과

probTimeEl.textContent = data.timeLimit ?? '--'; probMemEl.textContent = data.memoryLimit ?? '--'; probCatsEl.textContent = Array.isArray(data.categories) ? data.categories.join(', ') : ''; + + if (data.imageUrl) { + probImageEl.src = data.imageUrl; + probImageEl.style.display = 'block'; + } else { + probImageEl.style.display = 'none'; + } } catch (err) { console.error(err); probTitleEl.textContent = '네트워크 오류';