Update templates/learning.html
Browse files- templates/learning.html +21 -23
templates/learning.html
CHANGED
@@ -6,27 +6,11 @@
|
|
6 |
<title>学習画面</title>
|
7 |
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
8 |
</head>
|
9 |
-
<!-- 例: フッターナビゲーション (各HTMLの </body> の直前に追加) -->
|
10 |
-
<footer class="footer-nav">
|
11 |
-
<button onclick="goToInput()" aria-label="入力">
|
12 |
-
<span class="nav-icon">➕</span> <!-- アイコンは好みで変更 -->
|
13 |
-
<span class="nav-text">入力</span>
|
14 |
-
</button>
|
15 |
-
<button onclick="goToHistory()" aria-label="履歴">
|
16 |
-
<span class="nav-icon">🕒</span>
|
17 |
-
<span class="nav-text">履歴</span>
|
18 |
-
</button>
|
19 |
-
<button onclick="goToSettings()" aria-label="設定">
|
20 |
-
<span class="nav-icon">⚙️</span>
|
21 |
-
<span class="nav-text">設定</span>
|
22 |
-
</button>
|
23 |
-
</footer>
|
24 |
<body>
|
25 |
<div class="screen">
|
26 |
<header class="header">
|
27 |
<button class="menu-btn" aria-label="メニュー" onclick="openMenu()">☰</button>
|
28 |
<h1 class="title" id="learning-title">学習セット: 面白い動画の分析</h1>
|
29 |
-
<!-- 右上のボタンは不要なら削除 -->
|
30 |
<button class="action-btn" aria-label="アクション"></button>
|
31 |
</header>
|
32 |
<main>
|
@@ -39,13 +23,8 @@
|
|
39 |
|
40 |
<p class="tap-to-show" id="tap-to-show" onclick="revealAnswer()">タップして解答を表示</p>
|
41 |
|
42 |
-
<!-- クイズの選択肢表示エリア (JSで動的に生成) -->
|
43 |
<div id="options-area" style="margin-top: 15px;">
|
44 |
-
<!--
|
45 |
-
<button class="option-button">A: 選択肢A</button>
|
46 |
-
<button class="option-button">B: 選択肢B</button>
|
47 |
-
...
|
48 |
-
-->
|
49 |
</div>
|
50 |
|
51 |
<div class="pagination">
|
@@ -55,7 +34,26 @@
|
|
55 |
</div>
|
56 |
</main>
|
57 |
</div>
|
|
|
|
|
|
|
|
|
|
|
58 |
<script src="{{ url_for('static', filename='script.js') }}"></script>
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
</body>
|
61 |
</html>
|
|
|
6 |
<title>学習画面</title>
|
7 |
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
8 |
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
<body>
|
10 |
<div class="screen">
|
11 |
<header class="header">
|
12 |
<button class="menu-btn" aria-label="メニュー" onclick="openMenu()">☰</button>
|
13 |
<h1 class="title" id="learning-title">学習セット: 面白い動画の分析</h1>
|
|
|
14 |
<button class="action-btn" aria-label="アクション"></button>
|
15 |
</header>
|
16 |
<main>
|
|
|
23 |
|
24 |
<p class="tap-to-show" id="tap-to-show" onclick="revealAnswer()">タップして解答を表示</p>
|
25 |
|
|
|
26 |
<div id="options-area" style="margin-top: 15px;">
|
27 |
+
<!-- クイズの選択肢がJSでここに追加されます -->
|
|
|
|
|
|
|
|
|
28 |
</div>
|
29 |
|
30 |
<div class="pagination">
|
|
|
34 |
</div>
|
35 |
</main>
|
36 |
</div>
|
37 |
+
|
38 |
+
<!-- ここから追加 -->
|
39 |
+
<div id="correct-effect" class="correct-effect">〇</div>
|
40 |
+
<!-- ここまで追加 -->
|
41 |
+
|
42 |
<script src="{{ url_for('static', filename='script.js') }}"></script>
|
43 |
+
|
44 |
+
<footer class="footer-nav">
|
45 |
+
<button onclick="goToInput()" aria-label="入力">
|
46 |
+
<span class="nav-icon">➕</span>
|
47 |
+
<span class="nav-text">入力</span>
|
48 |
+
</button>
|
49 |
+
<button onclick="goToHistory()" aria-label="履歴">
|
50 |
+
<span class="nav-icon">🕒</span>
|
51 |
+
<span class="nav-text">履歴</span>
|
52 |
+
</button>
|
53 |
+
<button onclick="goToSettings()" aria-label="設定">
|
54 |
+
<span class="nav-icon">⚙️</span>
|
55 |
+
<span class="nav-text">設定</span>
|
56 |
+
</button>
|
57 |
+
</footer>
|
58 |
</body>
|
59 |
</html>
|