reader_base.html
4.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{% extends "base.html" %}
{% load version_static i18n %}
{% block extrahead %}
<link rel="stylesheet" type="text/css" href="{% version_static 'css/reader.css' %}"/>
<script type="text/javascript" src="{% version_static 'js/reader.js' %}"></script>
{% endblock %}
{% block header %}
<div id="main-menu-container" class="menu-container">
<div id="branding">
<div id="dict-name">
{% trans 'Grammatical Dictionary<br>of Polish' %}
</div>
</div>
<div class="main-menu">
<p><a href="{% url 'reader_view' %}">{% trans 'dictionary entries' %}</a></p>
<p><a href="{% url 'pattern_reader_view' %}">{% trans 'inflection patterns' %}</a></p>
<p><a href="{% url 'help' %}">{% trans 'help' %}</a></p>
<p class="subitem"><a href="{% version_static 'pdf/Wstęp do II wydania SGJP.pdf' %}">{% trans 'preface to the 2nd edition' %}</a></p>
<p class="subitem"><a href="{% url 'pattern_system' %}">{% trans 'systematization of patterns' %}</a></p>
<p class="subitem"><a href="{% url 'symbols' %}">{% trans 'symbols and notation' %}</a></p>
<p><a href="{% url 'about' %}">{% trans 'about Dictionary' %}</a></p>
<p class="subitem"><a href="{% url 'about' %}#osoby">{% trans 'team' %}</a></p>
<p class="subitem"><a href="{% url 'about' %}#historia">{% trans 'history' %}</a></p>
<p class="subitem"><a href="{% url 'about' %}#liczby">{% trans 'numbers' %}</a></p>
<p class="subitem show-splash">{% trans 'splash screen' %}</p>
</div>
</div>
<div id="settings-menu-container" class="menu-container">
<img id="settings-button" class="menu-button"
title="{% trans 'settings' %}" src="{% version_static 'images/gears.png' %}"/>
<div id="settings-menu">
{% block settings-menu %}
{% endblock %}
<p class="item">{% trans "interface language" %}</p>
{% get_language_info_list for LANGUAGES as languages %}
{% get_current_language as lang_code %}
{% for language in languages %}
{% language language.code %}
<p class="subitem {% if language.code == lang_code %}current-language{% else %}change-language{% endif %}" data-lang_code="{{ language.code }}">
{% if language.code == lang_code %}<span class="ui-icon ui-icon-check"></span>{% endif %}
{% trans language.name %}
</p>
{% endlanguage %}
{% endfor %}
</div>
</div>
<a href="{% url 'help' %}">
<img id="help-button" class="menu-button"
title="{% trans 'help' %}" src="{% version_static 'images/question.png' %}"/>
</a>
<form action="{% url 'set_language' %}" method="post" style="display: none" id="change_language_form">
{% csrf_token %}
<input type="hidden" value="" name="language" id="language" />
</form>
{% endblock %}
{% block modal_elements %}
<div id="splash-overlay">
<div id="splash">
<div id="splash-content">
<span class="author">Zygmunt Saloni</span>
<span class="author">Marcin Woliński</span>
<span class="author">Robert Wołosz</span>
<span class="author">Włodzimierz Gruszczyński</span>
<span class="author">Danuta Skowrońska</span>
<h1>{% trans 'Grammatical Dictionary<br>of Polish' %}</h1>
<p>{% trans "3rd Edition Online" %}</p>
<p>Warszawa 2015</p>
<div id="splash-footer">
<p>
{% blocktrans %}
The project was funded by the National Science Centre
pursuant to the decision no.
{% endblocktrans %}
DEC-2011/01/B/HS2/04695.
</p>
<p>
{% blocktrans %}
Note: The site uses cookies, which are necessary for the application.
{% endblocktrans %}
</p>
</div>
</div>
<div id="splash-button">
<span>{% trans "OK" %}</span>
</div>
</div>
</div>
{% endblock %}