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.

28 lines
591 B

6 years ago
<!DOCTYPE html>
<html lang="en">
<head>
5 years ago
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap.min.css' %}">
<script src="{% static 'js/jquery-3.4.1.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
6 years ago
</head>
<body>
<table class="table">
<thead>
<tr>
<th scope="col">规则</th>
<th scope="col">操作</th>
</tr>
</thead>
<tbody>
{% for rule in rules %}
<tr>
<td>{{ rule.regex }}</td>
<td>删除</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>