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.
41 lines
1.6 KiB
41 lines
1.6 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Title</title>
|
|
</head>
|
|
<body>
|
|
<div><a href="/"><button class="but" type="submit" >返回主页</button></a></div>
|
|
<div align="center">
|
|
<div><a href="/insert1"><button class="but" type="submit" >添加数据</button></a></div>
|
|
<br>
|
|
<br>
|
|
<table width="1000px" cellpadding="5" align="center" border="1" cellspacing="0">
|
|
<th align="center" colspan="10">物资捐赠情况</th>
|
|
<tr align="center">
|
|
<td>捐赠编号</td>
|
|
<td width="120px">捐赠单位</td>
|
|
<td>捐赠物资名称</td>
|
|
<td>规格</td>
|
|
<td>计量单位</td>
|
|
<td>数量总计</td>
|
|
<td width="50px">操作</td>>
|
|
</tr>
|
|
{% for item in donations %}
|
|
<tr align="center">
|
|
<td>{{item[0]}}</td>
|
|
<td>{{item[1]}}</td>
|
|
<td>{{item[2]}}</td>
|
|
<td>{{item[3]}}</td>
|
|
<td>{{item[4]}}</td>
|
|
<td>{{item[5]}}</td>
|
|
<td>
|
|
<a href="修改捐赠记录?id={{ item[0] }}&捐赠单位={{ item[1] }}&捐赠物资名称={{ item[2] }}&规格={{ item[3] }}&计量单位={{ item[4] }}&数量总计={{ item[5] }}">编辑</a>
|
|
<a href="删除捐赠记录?id={{item[0]}}">删除</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html> |