main page: misc cosmetic changes

smaller icons, maybe they work for mobile then, too
fixes a few typos

remade IP addr display
This commit is contained in:
Thomas Waldmann 2013-09-29 21:38:50 +02:00
parent 1089ed3170
commit a8bd912cc3

View File

@ -4,42 +4,39 @@
{% block content %}
<div class="row" style="background-color: #DDDDDD">
<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>
<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>
</div>
<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>
<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>
</div>
<div class="col-sm-4" style="text-align: center">
<h1><i class="icon-trophy icon-4x"></i></h1>
<h3>The Throphy Is A Lie</h3>
<h1><i class="icon-trophy icon-3x"></i></h1>
<h3>The Trophy Is A Lie</h3>
<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>
</div>
</div>
<hr>
<div class="row">
<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 %}
<h1>{{request.session.ipv4}}</h1>
<h1>Your IPv4 address:&nbsp;&nbsp;&nbsp;{{request.session.ipv4}}</h1>
{% else %}
<h1>Your IPv4 address:&nbsp;&nbsp;&nbsp;unknown</h1>
{% endif %}
{% if request.session.ipv6 %}
<h1>{{request.session.ipv6}}</h1>
<h1>Your IPv6 address:&nbsp;&nbsp;&nbsp;{{request.session.ipv6}}</h1>
{% else %}
<h1>Your IPv6 address:&nbsp;&nbsp;&nbsp;unknown</h1>
{% endif %}
</div>
</div>