54 lines
2.2 KiB
HTML

{% extends "base.html" %}
{% load i18n %}{% load bootstrap %}
{% load static %}
{% block html_head %}
{% include "main/includes/home_html_head.html" %}
{% endblock %}
{% block content %}
{% include "main/includes/home_top.html" %}
<div class="jumbotron">
<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">
<div class="col-sm-12" style="text-align: center">
<h1>{{ WWW_HOST }} &mdash; {% trans "the Dynamic DNS service you waited for." %}</h1>
</div>
<div class="col-sm-4" style="text-align: center">
<h1><i class="fa fa-thumbs-o-up fa-3x"></i></h1>
<h3>{% trans "Free and Nice" %}</h3>
<p>
{{ WWW_HOST }} {% trans "is a free service." %}<br>
{% trans "Also, we won't annoy you with ads or spam." %}
</p>
</div>
<div class="col-sm-4" style="text-align: center">
<h1><i class="fa fa-code fa-3x"></i></h1>
<h3>{% trans "Free and Open Source" %}</h3>
<p>
{% trans "nsupdate.info is free and open-source software." %}
</p>
<p>
<a href="https://github.com/nsupdate-info/nsupdate.info">{% trans "nsupdate.info project on GitHub" %}</a>
</p>
</div>
<div class="col-sm-4" style="text-align: center">
<h1><i class="fa fa-heart-o fa-3x"></i></h1>
<h3>{% trans "Awesome Code" %}</h3>
<p>
{% blocktrans trimmed %}
Empowered by Python and Django,<br>
we love to write clean and secure code.
{% endblocktrans %}
</p>
</div>
</div>
{% include "main/includes/home_bottom.html" %}
{% endblock %}