newmediamonitoring/monitor/templates/monitor/error-monitoring.html

96 lines
5.0 KiB
HTML

{% extends 'dashboard/base/base.html' %}
{% load static %}
{% block content %}
<body class=" ">
<!-- START TOPBAR -->
<!-- START CONTAINER -->
<div class="page-container row-fluid">
<div class="page-sidebar ">
{% include 'dashboard/base/left.html' %}
</div>
<section id="main-content" class=" ">
<section class="wrapper" style='margin-top:60px;display:inline-block;width:100%;padding:15px 0 0 15px;'>
{% if messages %}
<div class="alert alert-success alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert">
<span aria-hidden="true">&times;</span>
<span class="sr-only">Close</span>
</button>
{% for message in messages %}
{{ message }}.<br/>
{% endfor %}
</div>
{% endif %}
</section>
<div class="chatapi-windows "></div>
<div class="panel panel-default">
<div class="panel-body">
<div class="panel panel-default">
<div class="panel-heading">错别字列表</div>
<div class="panel panel-default">
<!-- Default panel contents -->
<table class="table table-hover" style="font-size: 14px">
<thead>
<tr>
<th style="text-align: center">序号</th>
<th style="text-align: center">错别字</th>
<th style="text-align: center">校正字</th>
<th style="text-align: center">上下文</th>
<th style="text-align: center">网址</th>
<th style="text-align: center">审核状态</th>
{# <th style="text-align: center">修改标记</th>#}
<th style="text-align: center">核实人</th>
<th style="text-align: center">监测时间</th>
<th style="text-align: center">定位</th>
<th style="text-align: center">错别字审核</th>
<th style="text-align: center">修改标记</th>
</tr>
</thead>
<tbody>
{% for r in wrongly %}
<tr>
<td style="vertical-align: middle;text-align: center">{{ forloop.counter }}</td>
<td style="vertical-align: middle;text-align: center">{{ r.error }}</td>
<td style="vertical-align: middle;text-align: center">{{ r.idea }}</td>
<td style="vertical-align: middle;text-align: center">{{ r.site }}</td>
<td style="vertical-align: middle;text-align: center">暂无数据</td>
<td style="vertical-align: middle;text-align: center">已审核</td>
{# <td style="vertical-align: middle;text-align: center">已修改</td>#}
<td style="vertical-align: middle;text-align: center">管理员</td>
<td style="vertical-align: middle;text-align: center">{{ r.date }}</td>
<td style="vertical-align: middle;text-align: center"><a class="dingwei">截图</a>
</td>
<td style="vertical-align: middle;text-align: center">审核</td>
<td style="vertical-align: middle;text-align: center">已修改</td>
</tr>
{% endfor %}
</tbody>
</table>
<div class="metadata-pagination">
{% include 'dashboard/paginator/wrongly-management-paginate.html' %}
</div>
<div id="image" style="text-align: center;" hidden>
<img src="{% static 'monitor/image/dingwei.png' %}">
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</body>
{% endblock %}
{% block add_js %}
<script>
$(".dingwei").click(function () {
$("#image").toggle();
});
</script>
{% endblock %}