Adjusted template (dns.html) for DNS and whois

Adjusted main.py to return values instead of print them
This commit is contained in:
benjamyn committed 2018-05-13 23:43:59 +10:00
1 parent b704eea43f
commit e62b756155
4 files changed
+33 -14

No files matched your search

+5 -1
View File
@@ -25,7 +25,7 @@
<div class="container records justify-content-between row col-centered" style="width: 70%;">
<div class="column rounded">
<b>Whois Information:</b>
{% for key, value in dnsinfo.iteritems() %}
{% for key, value in whois.iteritems() %}
<li><b>{{ key }} </b> - {{ value }}</li>
{% endfor %}
</div>
@@ -33,6 +33,10 @@
</div>
<div class="column rounded">
<b>DNS Records</b>
{% for key, value in dnsinfo.iteritems() %}
<li><b>{{ key }} </b> - {{ value }}</li>
{% endfor %}
</div>
</div>
<!-- Optional JavaScript -->