35 lines
866 B
HTML
35 lines
866 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Admin - Submissions</title>
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Submitted Answers</h1>
|
|
<button id="dark-mode-toggle">Toggle Dark Mode</button>
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Question</th>
|
|
<th>Answer</th>
|
|
</tr>
|
|
{{range .}}
|
|
<tr>
|
|
<td>{{.QuestionText}}</td>
|
|
<td>{{.Answer}}</td>
|
|
</tr>
|
|
{{else}}
|
|
<tr>
|
|
<td colspan="2">No submissions found.</td>
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
</div>
|
|
|
|
<script src="/static/theme.js"></script>
|
|
</body>
|
|
</html>
|