经理审核 - 待审核用户列表
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>经理审核</title>
<link rel="stylesheet" href="{% static 'css/audit.css' %}">
</head>
<body>
<span style="position: relative;top: 70px;left: 0px;">{{ request.session.username }},欢迎您!</span>
<div class="lay-out">
<a href="/exper_6/pendingReview" class="nav-link managerIndex">待审核用户</a>
<a href="/exper_6/audited" class="nav-link managerIndex">已审核用户</a>
<a href="/exper_6/signOut" class="nav-link managerIndex">退出登录</a><br>
</div>
<table>
<colgroup>
<col style="width: 100px;">
<col>
<col>
</colgroup>
<tr>
<th>{{ forloop.counter }}</th>
<th>审核项目</th>
<th>是否审核</th>
<th>操作</th>
</tr>
{% if toBeReviewed %}
{% for review in toBeReviewed %}
<tr>
<th>{{ forloop.counter }}</th>
<th>{{ review.0 }}</th>
<th>{{ review.1 }}</th>
<th><a href="/exper_6/mangerAudit/{{ review.2 }}">{{ review.3 }}</a></th>
</tr>
{% endfor %}
{% endif %}
{% if not toBeReviewed %}
<tr>
<th>1</th>
<td colspan="3" style="text-align: center;">{{ notUser }}</td>
</tr>
{% endif %}
</table>
</body>
</html>
/* audit.css */
<p>body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
}</p>
<p>.lay-out {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: #333;
padding: 10px;
}</p>
<p>.nav-link {
color: #fff;
text-decoration: none;
margin-right: 10px;
}</p>
<p>.managerIndex {
font-size: 16px;
}</p>
<p>table {
margin-top: 150px;
margin-left: auto;
margin-right: auto;
background-color: #fff;
border-collapse: collapse;
width: 70%;
}</p>
<p>th {
background-color: #333;
color: #fff;
padding: 10px;
text-align: left;
}</p>
<p>td {
padding: 10px;
}</p>
<p>a {
color: #333;
text-decoration: none;
}</p>
<p>a:hover {
text-decoration: underline;
}</p>
原文地址: https://www.cveoy.top/t/topic/o4Og 著作权归作者所有。请勿转载和采集!