|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>开发者状态监测报告</title>
|
|
|
|
<style>
|
|
|
|
.container-fluid {
|
|
|
|
width: 100%;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table {
|
|
|
|
--bs-table-bg: transparent;
|
|
|
|
--bs-table-accent-bg: transparent;
|
|
|
|
--bs-table-striped-color: #212529;
|
|
|
|
--bs-table-striped-bg: rgba(0, 0, 0, 0.05);
|
|
|
|
--bs-table-active-color: #212529;
|
|
|
|
--bs-table-active-bg: rgba(0, 0, 0, 0.1);
|
|
|
|
--bs-table-hover-color: #212529;
|
|
|
|
--bs-table-hover-bg: rgba(0, 0, 0, 0.075);
|
|
|
|
|
|
|
|
--bs-table-color: #212529;
|
|
|
|
--bs-table-border-color: #dee2e6;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
color: var(--bs-table-color);
|
|
|
|
vertical-align: top;
|
|
|
|
border-color: var(--bs-table-border-color);
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table > :not(caption) > * > * {
|
|
|
|
padding: .5rem .5rem;
|
|
|
|
background-color: var(--bs-table-bg);
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg)
|
|
|
|
}
|
|
|
|
|
|
|
|
.table > tbody {
|
|
|
|
vertical-align: inherit
|
|
|
|
}
|
|
|
|
|
|
|
|
.table > thead {
|
|
|
|
vertical-align: bottom
|
|
|
|
}
|
|
|
|
|
|
|
|
.table > :not(:first-child) {
|
|
|
|
border-top: 2px solid currentColor
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.table-sm > :not(caption) > * > * {
|
|
|
|
padding: .25rem .25rem
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.table-borderless > :not(caption) > * > * {
|
|
|
|
border-bottom-width: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-borderless > :not(:first-child) {
|
|
|
|
border-top-width: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.table-striped > tbody > tr:nth-of-type(odd) > * {
|
|
|
|
--bs-table-accent-bg: var(--bs-table-striped-bg);
|
|
|
|
color: var(--bs-table-striped-color)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.table-hover > tbody > tr:hover > * {
|
|
|
|
--bs-table-accent-bg: var(--bs-table-hover-bg);
|
|
|
|
color: var(--bs-table-hover-color)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.table-success {
|
|
|
|
--bs-table-bg: #d1e7dd;
|
|
|
|
--bs-table-striped-bg: #c7dbd2;
|
|
|
|
--bs-table-striped-color: #000;
|
|
|
|
--bs-table-active-bg: #bcd0c7;
|
|
|
|
--bs-table-active-color: #000;
|
|
|
|
--bs-table-hover-bg: #c1d6cc;
|
|
|
|
--bs-table-hover-color: #000;
|
|
|
|
color: #000;
|
|
|
|
border-color: #bcd0c7
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.table-warning {
|
|
|
|
--bs-table-bg: #fff3cd;
|
|
|
|
--bs-table-striped-bg: #f2e7c3;
|
|
|
|
--bs-table-striped-color: #000;
|
|
|
|
--bs-table-active-bg: #e6dbb9;
|
|
|
|
--bs-table-active-color: #000;
|
|
|
|
--bs-table-hover-bg: #ece1be;
|
|
|
|
--bs-table-hover-color: #000;
|
|
|
|
color: #000;
|
|
|
|
border-color: #e6dbb9
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-danger {
|
|
|
|
--bs-table-bg: #f8d7da;
|
|
|
|
--bs-table-striped-bg: #eccccf;
|
|
|
|
--bs-table-striped-color: #000;
|
|
|
|
--bs-table-active-bg: #dfc2c4;
|
|
|
|
--bs-table-active-color: #000;
|
|
|
|
--bs-table-hover-bg: #e5c7ca;
|
|
|
|
--bs-table-hover-color: #000;
|
|
|
|
color: #000;
|
|
|
|
border-color: #dfc2c4
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-bordered {
|
|
|
|
border: 1px solid var(--bs-table-border-color);
|
|
|
|
border-collapse: separate;
|
|
|
|
*border-collapse: collapsed;
|
|
|
|
border-left: 0;
|
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
-moz-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-bordered th, .table-bordered td {
|
|
|
|
border-left: 1px solid #c7ecb8;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body style="text-align: center">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div style="width: 100%">
|
|
|
|
<h3>
|
|
|
|
尊敬的用户 {{ username }} 你好,苹果开发者状态监测如下:
|
|
|
|
</h3>
|
|
|
|
<table class="table table-bordered table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
苹果开发者ID
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
苹果开发者备注
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
苹果开发者状态
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for developer_obj in developer_obj_list %}
|
|
|
|
<tr class="{% if developer_obj.status == 2 %}table-warning{% elif developer_obj.status == 1 %}table-success{% else %}table-danger{% endif %}">
|
|
|
|
<td>
|
|
|
|
{{ developer_obj.issuer_id }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ developer_obj.description }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ developer_obj.get_status_display }}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|