云计算期末作业项目:线上作业提交
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.
 
 
 

31 lines
816 B

{% extends "publish.html" %}
{% block main %}
<div class="container">
<!--提交信息的表格-->
<h1 class="mt-4 mb-3">目前的学生列表
</h1>
<table class="table table-hover" id="stuInfoTable">
<thead>
<tr>
<th>学号</th>
<th>姓名</th>
</tr>
</thead>
<tbody>
{% for i in data %}
<tr>
<td>{{ i[0] }}</td>
<td>{{ i[1] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<form id="upload" enctype='multipart/form-data' method='POST'>
<!--上传文件的控件-->
<input id='file' class="btn btn-info" name="file" type="file">
<div class="modal-footer">
<button type="button" onclick="submit_new_studentList()" class="btn btn-primary">提交新的学生名单</button>
</div>
</form>
</div>
{% endblock %}