changed overview ui

This commit is contained in:
Fabian Faessler 2013-09-29 23:02:52 +02:00
parent 5b02e52794
commit 2d03bf1974

View File

@ -3,7 +3,7 @@
{% block content %}
<div class="row">
<div class="col-lg-9">
<div class="col-lg-12">
<h3>Host List</h3>
<table class="table">
<tr><th>domain</th><th>last IP update</th><th>IPv4</th><th>IPv6</th><th>comment</th><th>action</th></tr>
@ -24,7 +24,13 @@
{% endfor %}
</table>
</div>
<div class="col-lg-3">
</div>
<hr>
<div class="row">
<div class="col-lg-6">
<div class="well well-sm">
<h3>New Host</h3>
<form method="post" action="">
{% csrf_token %}
@ -33,13 +39,13 @@
</form>
</div>
</div>
<hr>
<div class="row">
<div class="col-lg-6">
<div class="well well-sm">
<h3>Information</h3>
<p>We try to get your IP addresses through a trick. We host two fake images on a IPv4 and IPv6 domain and we can associate those with your session. If we find an IP address, we will update this information accordingly. This allows us to get your IPv4 address even when you are using your IPv6 and vice versa.</p>
<b>your IPv4:</b> <span class="ipv4adr">{{ request.session.ipv4 }}</span> <br>
<b>your IPv6:</b> <span class="ipv6adr">{{ request.session.ipv6 }}</span>
</div>
</div>
</div>
{% endblock %}