mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-08 22:07:55 +00:00
66 lines
1.7 KiB
HTML
66 lines
1.7 KiB
HTML
{% 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>
|
|
|