mirror of https://github.com/r4sas/py-i2phosts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.7 KiB
64 lines
1.7 KiB
{% load i18n %} |
|
|
|
<html> |
|
<head> |
|
<title> |
|
{% block title %} |
|
{{ title }} |
|
{% endblock %} |
|
</title> |
|
{% block head %} |
|
{% endblock %} |
|
<link rel="stylesheet" type="text/css" href="/static/base.css" /> |
|
</head> |
|
<body> |
|
<div class="search_host"> |
|
<form action="/search/"> |
|
<input class="input" name="q" maxlength="67" type="text" value="{% trans "Search host" %}" |
|
onblur="if (value == '') {value = '{% trans "Search host" %}'}" onfocus="if (value == '{% trans "Search host" %}') |
|
{value =''}" /> |
|
<input type="submit" value="{% trans "Search" %}" /> |
|
</form> |
|
</div> |
|
|
|
{% block navigation %} |
|
<div class="menu"> |
|
<ul> |
|
<li><a href=/>{% trans "Home" %}</a></li> |
|
<li><a href={% url 'faq' %}>FAQ</a></li> |
|
<li><a href={% url 'latest' %}>{% trans "Browse latest hosts" %}</a></li> |
|
<li><a href={% url 'browse' %}>{% trans "Browse alive hosts" %}</a></li> |
|
<li><a href={% url 'pyi2phosts.postkey.views.addkey' %}>{% trans "Register a domain" %}</a></li> |
|
<li><a href={% url 'contacts' %}>{% trans "Contacts" %}</a></li> |
|
</ul> |
|
</div> |
|
|
|
<form action="/i18n/setlang/" method="post"> |
|
{% csrf_token %} |
|
{% for lang in LANGUAGES %} |
|
<input type="radio" value="{{ lang.0 }}" name="language" /> |
|
<img src="/static/{{ lang.0 }}.png" width="16" height="11" alt="{{ lang.0 }}"/> |
|
{% endfor %} |
|
<input type="submit" value="Set" /> |
|
</form> |
|
|
|
{% endblock %} |
|
|
|
<div class="main"> |
|
{% block header %} |
|
{% endblock %} |
|
|
|
{% block content %} |
|
{% endblock %} |
|
</div> |
|
|
|
{% block footer %} |
|
<hr> |
|
<div class="footer"> |
|
{% block footer-addon %} |
|
{% endblock %} |
|
{% trans "powered-by" %}: <a href=http://py-i2phosts.i2p/>py-i2phosts</a> |
|
</div> |
|
{% endblock %} |
|
</body> |
|
</html>
|
|
|