You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB

6 months ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" type="text/css" href="static/nba.css">
</head>
<body>
<div class="row">
<div class="col">
<h1 class="section-title">NBA球员top50排行榜</h1>
</div>
<form method="get" action="/index">
<button class="but" type="submit">回到主页</button>
</form>
</div>
<table class="table" border="1">
<tr>
<td bgcolor="#ff4500">排名</td>
<td style="width:20%;" bgcolor="#ff4500">姓名</td>
<td style="width:20%;" bgcolor="#ff4500">得分</td>
<td style="width:20%;" bgcolor="#ff4500">队伍</td>
<td style="width:20%;" bgcolor="#ff4500">球员信息</td>
</tr>
{% for nba in nbadata %}
<tr>
<td>{{ nba[0] }}</td>
<td bgcolor="#f8f8ff">{{ nba[1] }}</td>
<td bgcolor="#f8f8ff">{{ nba[2] }}</td>
<td bgcolor="#f8f8ff">{{ nba[3] }}</td>
<td bgcolor="#f8f8ff"><a href="{{ nba[4] }}" target="_blank" >去虎扑网看</a></td>
</tr>
{% endfor %}
</table>
</body>
</html>