move rDNS display from add host view to home view

This commit is contained in:
Thomas Waldmann 2014-08-31 01:50:58 +02:00
parent a4616e2637
commit 4178e700cd
2 changed files with 3 additions and 14 deletions

View File

@ -9,9 +9,11 @@
{% block content %}
{% include "main/includes/home_top.html" %}
<div class="jumbotron">
<h4>{% trans "Your current IP(s):" %}</h4>
<h4>{% trans "Your current IP(s) + reverse DNS:" %}</h4>
<h1>IPv4: <span id="ipv4">{{ request.session.ipv4 }}</span></h1>
<h4>rDNS: <span id="ipv4_rdns" class="ipv4addr">{{ request.session.ipv4_rdns }}</span></h4>
<h3>IPv6: <span id="ipv6">{{ request.session.ipv6 }}</span></h3>
<h4>rDNS: <span id="ipv6_rdns" class="ipv6addr">{{ request.session.ipv6_rdns }}</span></h4>
</div>
{% include "main/includes/home_middle.html" %}
<div class="row">

View File

@ -30,19 +30,6 @@
{% trans "We'll show you configuration examples after you add a host." %}
</p>
</div>
<div class="well well-sm">
<h3>{% trans "Your current IP(s) + reverse DNS:" %}</h3>
<p>
<b>IPv4:</b> <span id="ipv4" class="ipv4addr">{{ request.session.ipv4 }}</span>
<br>
<b>rDNS:</b> <span id="ipv4_rdns" class="ipv4addr">{{ request.session.ipv4_rdns }}</span>
</p>
<p>
<b>IPv6:</b> <span id="ipv6" class="ipv6addr">{{ request.session.ipv6 }}</span>
<br>
<b>rDNS:</b> <span id="ipv6_rdns" class="ipv6addr">{{ request.session.ipv6_rdns }}</span>
</p>
</div>
</div>
</div>
{% endblock %}