mirror of https://github.com/r4sas/py-i2phosts
Hidden Z
14 years ago
14 changed files with 89 additions and 42 deletions
@ -1,6 +1,7 @@
@@ -1,6 +1,7 @@
|
||||
{% extends "base.html" %} |
||||
{% load i18n %} |
||||
|
||||
{% block content %} |
||||
You are trying to access an invalid hostname. Maybe you're just mistyped it.<br> |
||||
Error: {{ error }} |
||||
{% trans "You are trying to access an invalid hostname. Maybe you're just mistyped it." %}<br> |
||||
{% trans "Error:" %} {{ error }} |
||||
{% endblock %} |
||||
|
@ -1,5 +1,6 @@
@@ -1,5 +1,6 @@
|
||||
{% extends "base.html" %} |
||||
{% load i18n %} |
||||
|
||||
{% block content %} |
||||
You are trying to access an unknown hostname. |
||||
{% trans "You are trying to access an unknown hostname." %} |
||||
{% endblock %} |
||||
|
@ -1,12 +1,15 @@
@@ -1,12 +1,15 @@
|
||||
{% extends "base.html" %} |
||||
{% load i18n %} |
||||
|
||||
{% block head %} |
||||
<meta http-equiv="refresh" content="5;URL={{ url }}" /> |
||||
{% endblock %} |
||||
|
||||
{% block content %} |
||||
{% blocktrans %} |
||||
<h3>Congratulations! We're found that host you're requesting. Redirecting in 5 secs...</h3> |
||||
<p> |
||||
We're suggesting to start use our subscription service. <a href=/>Find more...</a> |
||||
</p> |
||||
{% endblocktrans %} |
||||
{% endblock %} |
||||
|
@ -1,6 +1,9 @@
@@ -1,6 +1,9 @@
|
||||
{% extends "browse.html" %} |
||||
{% load i18n %} |
||||
|
||||
{% block header %} |
||||
<h3>Latest {{ hosts_count }} hosts added in {{ day_count }} days |
||||
{% blocktrans %} |
||||
<h3>Latest {{ hosts_count }} hosts added in {{ day_count }} days</h3> |
||||
{% endblocktrans %} |
||||
<a href={% url latest-rss %}><img src="/static/rss-grey-18.png" border="0" width="18" height="18" alt="rss"></a></h3> |
||||
{% endblock %} |
||||
|
@ -1,13 +1,15 @@
@@ -1,13 +1,15 @@
|
||||
<h2>Domain name registration policy</h2> |
||||
{% load i18n %} |
||||
|
||||
<h2>{% trans "Domain name registration policy" %}</h2> |
||||
<ul> |
||||
<li>Domain name registration is free.</li> |
||||
<li>Anyone can register a domain name.</li> |
||||
<li>Domain names are available on a "first come, first serve" basis.</li> |
||||
<li>A domain name's destination must be active. |
||||
Inactive destinations cannot be published.</lI> |
||||
<li>Domain name hoarding through mass registration (cybersquatting) is not allowed.</li> |
||||
<li>Domain name registrations will not be rejected based on content.</li> |
||||
<li>Domain name registrations will stop propagating after some period of inactivity.</li> |
||||
<li>Temporary or test sites should not be registered. Use b32 address instead.</li> |
||||
<li>Changing key for existing domains is prohibited.</li> |
||||
<li>{% trans "Domain name registration is free." %}</li> |
||||
<li>{% trans "Anyone can register a domain name." %}</li> |
||||
<li>{% trans "Domain names are available on a 'first come, first serve' basis." %}</li> |
||||
<li>{% trans "A domain name's destination must be active." %} |
||||
{% trans "Inactive destinations cannot be published." %}</lI> |
||||
<li>{% trans "Domain name hoarding through mass registration (cybersquatting) is not allowed." %}</li> |
||||
<li>{% trans "Domain name registrations will not be rejected based on content." %}</li> |
||||
<li>{% trans "Domain name registrations will stop propagating after some period of inactivity." %}</li> |
||||
<li>{% trans "Temporary or test sites should not be registered. Use b32 address instead." %}</li> |
||||
<li>{% trans "Changing key for existing domains is prohibited." %}</li> |
||||
</ul> |
||||
|
@ -1,11 +1,12 @@
@@ -1,11 +1,12 @@
|
||||
{% extends "base.html" %} |
||||
{% load i18n %} |
||||
|
||||
{% block content %} |
||||
{% include "policy.html" %} |
||||
<form action="/postkey/" method="post"> |
||||
{% csrf_token %} |
||||
<h3>Enter your domain details</h3> |
||||
<h3>{% trans "Enter your domain details" %}</h3> |
||||
{{ form.as_p }} |
||||
<input type="submit" value="Submit" /> |
||||
<input type="submit" value="{% trans "Submit" %}" /> |
||||
</form> |
||||
{% endblock %} |
||||
|
@ -1,5 +1,6 @@
@@ -1,5 +1,6 @@
|
||||
{% extends "browse.html" %} |
||||
{% load i18n %} |
||||
|
||||
{% block header %} |
||||
<h3>Search results</h3> |
||||
<h3>{% trans "Search results" %}</h3> |
||||
{% endblock %} |
||||
|
@ -1,8 +1,9 @@
@@ -1,8 +1,9 @@
|
||||
{% extends "base.html" %} |
||||
{% load i18n %} |
||||
|
||||
{% block content %} |
||||
<p> |
||||
Verification failed. Webserver returned http code: {{ code }} |
||||
{% trans "Verification failed. Webserver returned http code:" %} {{ code }} |
||||
</p> |
||||
|
||||
{% endblock %} |
||||
|
@ -1,5 +1,9 @@
@@ -1,5 +1,9 @@
|
||||
{% extends "base.html" %} |
||||
{% load i18n %} |
||||
|
||||
{% block content %} |
||||
Successfully added {{ hostname }}. It will be activated after admin's approval. |
||||
{% blocktrans %} |
||||
Successfully added {{ hostname }}. It will be activated after admin's approval and |
||||
automatic availability test. |
||||
{% endblocktrans %} |
||||
{% endblock %} |
||||
|
Loading…
Reference in new issue