- buxiangjieqian

- 序号
*khjkhsfjkdfs倾斜*
**sdfsdfsdfds加粗**
1. 一二三四
2. 四五六七
3. 五六七八

|  申诉 |申诉   |
| ------------ | ------------ |
|  申诉 |申诉   |
|  申诉 |  申诉 |
This commit is contained in:
postman 2021-10-11 19:55:30 +08:00
parent 4cfdec3994
commit d1b92b28ae
2 changed files with 0 additions and 76 deletions

View File

@ -1,16 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>welcome</title>
</head>
<body>
<h1 style="text-align: center">Welcome to my website</h1>
{% for info in infos %}
<h2>#: {{ forloop.counter }}</h2>
<h2>username: {{ info.username }}</h2>
<h2>password:{{ info.password }}</h2>
{% endfor %}
</body>
</html>

View File

@ -1,60 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>项目列表页</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous">
<style>
.container-fluid {
margin-top: 100px;
}
.table-striped th, .table-striped td {
text-align: center;
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row" style="margin-bottom: 30px">
<div class="col"></div>
<div class="col"></div>
<div class="col"><h2 class="text-center text-info">项目列表信息</h2></div>
<div class="col"></div>
</div>
<div class="row">
<div class="col"></div>
<div class="col">
<table class="table table-striped">
<thead class="thead-dark">
<tr>
<th scope="col">序号</th>
<th scope="col">项目名称</th>
<th scope="col">项目负责人</th>
<th scope="col">应用名称</th>
</tr>
</thead>
<tbody>
{% for project in datas %}
<tr>
<th scope="row">{{ forloop.counter }}</th>
<td>{{ project.leader }}</td>
<td>{{ project.project_name }}</td>
<td>{{ project.app_name }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class="col"></div>
</div>
</div>
</body>
</html>