OzoneAsai commited on
Commit
1e4b04e
1 Parent(s): 6d75ebb

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +11 -47
templates/index.html CHANGED
@@ -1,57 +1,21 @@
1
  <!DOCTYPE html>
2
- <html lang="ja">
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>クイズ</title>
7
- <style>
8
- body {
9
- font-family: Arial, sans-serif;
10
- background-color: #f0f0f0;
11
- margin: 0;
12
- padding: 0;
13
- }
14
-
15
- .container {
16
- max-width: 600px;
17
- margin: 50px auto;
18
- background-color: #fff;
19
- padding: 20px;
20
- border-radius: 8px;
21
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
22
- }
23
-
24
- h1 {
25
- text-align: center;
26
- color: #333;
27
- }
28
-
29
- p {
30
- margin-bottom: 20px;
31
- }
32
-
33
- a {
34
- display: block;
35
- margin-bottom: 10px;
36
- text-align: center;
37
- color: #007bff;
38
- text-decoration: none;
39
- }
40
-
41
- a:hover {
42
- text-decoration: underline;
43
- }
44
- </style>
45
  </head>
46
  <body>
47
  <div class="container">
48
- <h1>クイズ</h1>
49
- <p><a href="/quiz_capital">首都のクイズを始める</a></p>
50
- <p><a href="/quiz_element">元素の最外殻電子のクイズを始める</a></p>
51
- <p><a href="/quiz_element2num">元素の名前から原子番号を当てたりしよう。</a></p>
52
-
53
-
 
 
54
  </div>
55
  </body>
56
- <-- /quiz_element2num-->
57
  </html>
 
1
  <!DOCTYPE html>
2
+ <html lang="en">
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>化学計算問題生成</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  </head>
9
  <body>
10
  <div class="container">
11
+ <h1>化学計算問題</h1>
12
+ <h2>{{ problem_statement }}</h2>
13
+ <form method="post">
14
+ <label for="user_input">解答を入力してください:</label>
15
+ <input type="number" step="0.001" name="user_input" id="user_input" required>
16
+ <input type="hidden" name="solution" value="{{ solution }}">
17
+ <button type="submit">提出</button>
18
+ </form>
19
  </div>
20
  </body>
 
21
  </html>