aboutsummaryrefslogtreecommitdiff
path: root/anki-card-temlate/card.html
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-12-28 11:43:26 +0100
committerlonkaars <loek@pipeframe.xyz>2022-12-28 11:43:26 +0100
commitec000fcbb7e721bfd2638427d54f56f2dae76316 (patch)
treeca71b2b42caea628cc7cca8bf1961a92830aadb8 /anki-card-temlate/card.html
parentc0f41dd4c74ca4a12252103da0e6de296533e269 (diff)
rename to refold-tools
Diffstat (limited to 'anki-card-temlate/card.html')
-rw-r--r--anki-card-temlate/card.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/anki-card-temlate/card.html b/anki-card-temlate/card.html
new file mode 100644
index 0000000..71ca300
--- /dev/null
+++ b/anki-card-temlate/card.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset='utf-8'>
+ <title>card template test</title>
+ <link rel='stylesheet' type='text/css' media='screen' href='./card.css'>
+ <script defer src='./card.js'></script>
+</head>
+<body>
+
+<div class="card back">
+<span id="sentence" class="parse foreign">[俺](おれ)の[目](め)の[前](まえ)に{全}(ぜん)[裸](はだか)のアリスが*[立](た)っていた*。\n\*escape\* (<i>test</i>)</span>
+<hr class="split">
+<span id="target-word-reading" class="foreign">立つ【た・つ】</span>
+<span id="target-word-translation" class="native">To stand</span>
+<span id="sentence-translation" class="native spoiler hidden">Before my eyes stood Alice, butt-naked.</span>
+</div>
+
+<button onclick="document.getElementsByClassName('card')[0].classList.toggle('back'); document.getElementsByClassName('card')[0].classList.toggle('front')">toggle view</button>
+
+</span>
+</html>