-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathotherdomain.html
32 lines (31 loc) · 972 Bytes
/
otherdomain.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends 'base.html' %}
{% block body %}
<form id="form" method="post" action="">
{% csrf_token %}
{{ form }}
<input type="submit" name="submit" class="btn btn-success" value="提交"/>
</form>
<p class="label label-warning">你要查询的域名是{{ domain }},IP是{{ ip }},可能不准<br></p>
{% if info %}
<h1>旁站</h1>
{% for i in info %}
<p class="alert alert-info">{{ i.domain }}
{% if i.title %}
<p class="alert alert-info">{{ i.title }}</p>
{% else %}
<p class="alert alert-info">没有标题</p>
{% endif %}
{% endfor %}
{% else %}
空
{% endif %}
<br><br>
{% if cduan %}
<h1>旁站</h1>
{% for i in cduan %}
<p class="list-group-item">{{ i }}</p>
{% endfor %}
{% else %}
空
{% endif %}
{% endblock %}