質問編集履歴

1

誤字

2022/02/15 05:31

投稿

aoiriyu0406
aoiriyu0406

スコア54

test CHANGED
File without changes
test CHANGED
@@ -63,9 +63,13 @@
63
63
  <link rel="stylesheet" href ="../static/style2.css">
64
64
  </head>
65
65
  <body>
66
+ <ul><h5></h5>
67
+ 結果を見に行くときは↓↓をクリックしてね<br>
68
+ <a href="./result1.html"><img src="../static/img/upa.png" alt="結果を見る"></a>
69
+ </h5></ul>
66
70
  <article>
67
71
  <div>
68
- <form action="kekka" method="post">
72
+ <form action="result1" method="post">
69
73
  <dl>
70
74
  <h1>出した手は・・・</h1>
71
75
  あなたの手:{{ my }}         敵の手:{{ cpu }}
@@ -93,56 +97,7 @@
93
97
  {% endif %}
94
98
  </dl>
95
99
  </form>
96
- <br>
97
- <br>
98
- <br>
99
- <form action="kekka" method="get">
100
- <h1>勝敗の結果</h1>
101
- <dt>
102
- <h3>{{ kekka }}</h3>
103
- </dt>
104
-
105
- <ul>
106
- {% if kekka=='あいこ' %}
107
- <p>あいこ!ヾ(・ω・`;)ノ</p>
108
- <img src="../static/img/aiko.png" alt="あいこだよ!">
109
-
110
- {% elif my=='グー' and kekka=='勝ち' %}
111
- <p>おめでとう!( *¯ ꒳¯*)</p>
112
- <img src='../static/img/win1.png' alt='勝ちだよ!おめでとう!'>
113
-
114
- {% elif my=='グー' and kekka=='負け' %}
115
- <p>残念 (´・ェ・`)</p>
116
- <img src='../static/img/lose3.png' alt='負けだよ'>
117
-
118
-
119
- {% elif my=='チョキ' and kekka=='負け' %}
120
- <p>残念 (´・ェ・`)</p>
121
- <img src='../static/img/lose1.png' alt='負けだよ'>
122
-
123
- {% elif my=='チョキ' and kekka=='勝ち' %}
124
- <p>あめでとう!( *¯ ꒳¯*)</p>
125
- <img src='../static/img/win.png' alt='勝ちだよ!おめでとう!'>
126
-
127
-
128
- {% elif my=='パー' and kekka=='勝ち' %}
129
- <p>おめでとう!( *¯ ꒳¯*)</p>
130
- <img src='../static/img/win1.png' alt='勝ちだよ!おめでとう!'>
131
-
132
- {% elif my=='パー' and kekka=='負け' %}
133
- <p>残念 (´・ェ・`)</p>
134
- <img src='../static/img/lose4.png' alt='負けだよ'>
135
-
136
- {% endif %}
137
- </form>
138
100
  </div>
139
- <br>
140
- <br>
141
- <br>
142
- <h5>
143
- 次の試合に行く場合は下の画像をタッチしてください。<br>
144
- <a href="/bmi"><img src="../static/img/upa.png" alt="手を選びに行く"></a>
145
- </h5>
146
101
  </article>
147
102
  </body>
148
103
  </html>