-
-
Save AkiyonKS/0b8084b5c1158ce993296b79202141a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>近鉄特急どれかな?</title> | |
<link rel="stylesheet" href="./static/stylesheet.css"> | |
</head> | |
<body> | |
<header> | |
<a class="header-logo" href="#">近鉄特急どれかな?</a> | |
</header> | |
<div class="main"> | |
{% if check == "1" %} | |
<div class="div_upload_img"><img class="upload_img" src="{{img}}"></div> | |
{% endif %} | |
<table class="scores"> | |
<thead> | |
<tr> | |
<th>系</th> | |
<th>名称</th> | |
{% if check == "1" %} | |
<th>スコア</th> | |
{% endif %} | |
</tr> | |
</thead> | |
<tbody> | |
{% for y, d in scores.items() %} | |
{% if loop.first and check == "1" %} | |
<tr class="result"> | |
{% elif check == "1" %} | |
<tr class="notresult"> | |
{% else %} | |
<tr> | |
{% endif %} | |
{% for key, value in d.items() %} | |
{% if loop.first %} | |
<td><a href={{d["url"]}} target="_blank">{{value|e}}</a></td> | |
{% elif key != "url" %} | |
<td>{{value|e}}</td> | |
{% endif %} | |
{% endfor %} | |
</tr> | |
{% endfor %} | |
</tbody> | |
</table> | |
<p>10種類の近鉄特急のうち、どれに似ているかをAIが判定するよ!</p> | |
<p>列車の画像、または画像のurlを送信してね♪</p> | |
<form method="POST" enctype="multipart/form-data"> | |
<div><input class="file_choose" type="file" name="file"></div> | |
<div class="input_url"><span>url: </span><input type="text" name="url"></div> | |
<input class="btn" value="送信する" type="submit"></div> | |
</form> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment