aboutsummaryrefslogtreecommitdiff
path: root/anki-card-temlate/card.html
diff options
context:
space:
mode:
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>