Merge branch 'master' of github.com:asmaps/nsupdate.info

This commit is contained in:
Fabian Faessler 2013-09-29 21:55:37 +02:00
commit 2e3587c322

View File

@ -4,42 +4,39 @@
{% block content %} {% block content %}
<div class="row" style="background-color: #DDDDDD"> <div class="row" style="background-color: #DDDDDD">
<div class="col-sm-4" style="text-align: center"> <div class="col-sm-4" style="text-align: center">
<h1><i class="icon-globe icon-4x"></i></h1> <h1><i class="icon-globe icon-3x"></i></h1>
<h3>World Wide Web</h3> <h3>World Wide Web</h3>
<p> <p>
nsupdate.info is a free and <a href="https://github.com/asmaps/nsupdate.info">open-source</a> dynamic DNS service with IPv4 and IPv6 support. nsupdate.info is a <a href="https://github.com/asmaps/nsupdate.info">free and open-source</a> dynamic DNS service with IPv4 and IPv6 support.
</p> </p>
</div> </div>
<div class="col-sm-4" style="text-align: center"> <div class="col-sm-4" style="text-align: center">
<h1><i class="icon-cogs icon-4x"></i></h1> <h1><i class="icon-cogs icon-3x"></i></h1>
<h3>Awesomeness</h3> <h3>Awesomeness</h3>
<p> <p>
Powered by python, the magical django pony and a stupid three columned icon landing page. Powered by Python, the magical Django Pony and a stupid three columned icon landing page.
</p> </p>
</div> </div>
<div class="col-sm-4" style="text-align: center"> <div class="col-sm-4" style="text-align: center">
<h1><i class="icon-trophy icon-4x"></i></h1> <h1><i class="icon-trophy icon-3x"></i></h1>
<h3>The Throphy Is A Lie</h3> <h3>The Trophy Is A Lie</h3>
<p> <p>
nsupdate.info is winner of the <a href="http://djangodash.com">Django-Dash</a> 2013 with the highest score in the history of the competition. nsupdate.info is winner of the <a href="http://djangodash.com/">Django-Dash</a> 2013 with the highest score in the history of the competition.
</p> </p>
</div> </div>
</div> </div>
<hr> <hr>
<div class="row"> <div class="row">
<div class="container"> <div class="container">
<h1>HeyHo!</h1>
{% if request.session.ipv4 and request.session.ipv6 %}
<p>We think this are your IPs:</p>
{% elif request.session.ipv4 or request.session.ipv6 %}
<p>We think this is your IP:</p>
{% endif %}
{% if request.session.ipv4 %} {% if request.session.ipv4 %}
<h1>{{request.session.ipv4}}</h1> <h1>Your IPv4 address: {{request.session.ipv4}}</h1>
{% else %}
<h1>Your IPv4 address: unknown</h1>
{% endif %} {% endif %}
{% if request.session.ipv6 %} {% if request.session.ipv6 %}
<h1>{{request.session.ipv6}}</h1> <h1>Your IPv6 address: {{request.session.ipv6}}</h1>
{% else %}
<h1>Your IPv6 address: unknown</h1>
{% endif %} {% endif %}
</div> </div>
</div> </div>