Anki/public/root.html

35 lines
951 B
HTML

<!DOCTYPE html>
<html>
<header>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/dark.css">
<script>
let session = Number(
Date.
now().
toString().
split("").
reverse().
join("")
).toString(36);
console.log("session", session);
</script>
<script>
let knowledgebase = {{ASSIGNMENTS_JSON}};
console.log(knowledgebase);
</script>
</header>
<body>
{{USER}}
<form id="flash" action="" onsubmit="trySolve(this.children.idq.value, this.children.answer.value); return false;">
<input type="text" name="idq" readonly=true value="" style="display: none;">
<div name="question"></div>
<div name="clues"></div>
<input type="button" value="clue">
<input type="text" name="answer">
<input type="submit" value="submit">
</form>
</body>
<footer>
</footer>
</html>