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
994 B

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>武汉疫情数据</title>
</head>
<body>
<h1>武汉市疫情数据</h1>
<form action="/get_area" method="port">
输入区名:<input type="text" name="area_name"/>
<input type="submit" value="查询该区具体信息">
</form>
<center>
<h1>各区疫情信息</h1>
<table width="800px" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>日期</td>
<td>区名</td>
<td>确诊</td>
<td>疑似</td>
<td>死亡</td>
</tr>
{% for area in areadata_list %}
<tr>
<td>{{ area. time}}</td>
<td>{{ area. areaname}}</td>
<td>{{ area.confirmed }}</td>
<td>{{ area. suspected}}</td>
<td>{{ area. death}}</td>
</tr>
{% endfor %}
</table>
</center>
</body>
</html>