reader_view.html
5.15 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{% extends "reader_base.html" %}
{% load i18n staticfiles %}
{% block extrahead %}
{{ block.super }}
<link rel="stylesheet" type="text/css"
href="{% static 'css/lib/jquery.uix.multiselect.css' %}">
<link rel="stylesheet" type="text/css"
href="{% static 'css/lib/slick.grid.css' %}"/>
<link rel="stylesheet" type="text/css"
href="{% static 'css/slick-default-theme.css' %}"/>
<link rel="stylesheet" type="text/css"
href="{% static 'css/slickgrid.css' %}"/>
<link rel="stylesheet" type="text/css"
href="{% static 'css/lexeme_view.css' %}"/>
<link rel="stylesheet" type="text/css"
href="{% static 'css/reader_view.css' %}"/>
<script type="text/javascript"
src="{% static 'js/lib/cvi_busy_lib.js' %}"></script>
<script type="text/javascript"
src="{% static 'js/lib/splitter.js' %}"></script>
<script type="text/javascript"
src="{% static 'js/lib/jquery.event.drag-2.2.js' %}"></script>
<script type="text/javascript"
src="{% static 'js/lib/jquery.event.drop-2.2.js' %}"></script>
<script type="text/javascript"
src="{% static 'js/lib/jquery.uix.multiselect.js' %}"></script>
<script type="text/javascript"
src="{% static 'js/lib/slick.core.js' %}"></script>
<script type="text/javascript"
src="{% static 'js/lib/slick.grid.js' %}"></script>
<script type="text/javascript"
src="{% static 'js/remotemodel.js' %}"></script>
<script type="text/javascript"
src="{% static 'js/slickgrid.js' %}"></script>
<script type="text/javascript"
src="{% static 'js/lexeme-view.js' %}"></script>
<script type="text/javascript"
src="{% static 'js/reader-view.js' %}"></script>
{% endblock %}
{% block title %}{% trans 'Słownik gramatyczny języka polskiego' %}{% endblock %}
{% block header %}
{{ block.super }}
<div id="search-panel">
<input type="text" id="text-search"/>
<img id="search-button" title="{% trans 'szukaj' %}" src="{% static 'images/tick.png' %}"/>
</div>
<img id="afronte-button" class="menu-button"
title="{% trans 'a fronte' %}" src="{% static 'images/afronte.png' %}"/>
<img id="atergo-button" class="menu-button"
title="{% trans 'a tergo' %}" src="{% static 'images/atergo.png' %}"/>
<img id="filter-button" class="menu-button"
title="{% trans 'filtruj' %}" src="{% static 'images/filter.png' %}"/>
<div id="settings-menu-container">
<img id="settings-button" class="menu-button"
title="{% trans 'ustawienia' %}" src="{% static 'images/gears.png' %}"/>
<div id="settings-menu">
<p class="item">{% trans "odmiana" %}</p>
<p class="subitem">{% trans "wszystkie formy" %}</p>
<p class="subitem">{% trans "formy bazowe" %}</p>
<p id="show-columns-button" class="item">{% trans "lista haseł…" %}</p>
<p id="columns" class="subitem"></p>
<p class="item">{% trans "język interfejsu" %}</p>
{% get_language_info_list for LANGUAGES as languages %}
{% get_current_language as lang_code %}
{% for language in languages %}
{% if language.code != lang_code %}
{% language language.code %}
<p class="subitem change-language" data-lang_code="{{ language.code }}">{% trans language.name %}</p>
{% endlanguage %}
{% endif %}
{% endfor %}
</div>
</div>
<img id="help-button" class="menu-button"
title="{% trans 'pomoc' %}" src="{% static 'images/question.png' %}"/>
{% endblock %}
{% block content %}
<div id="left">
<div id="lexeme-grid"></div>
</div>
<div id="right">
<div class="tabs" id="lexeme-tabs">
<ul>
<li><a href="#variant1">{% trans 'Wszystkie formy' %}</a></li>
<li><a href="#variant0">{% trans 'Formy bazowe' %}</a></li>
</ul>
<div id="variant1"></div>
<div id="variant0"></div>
</div>
</div>
{% endblock %}
{% block modal_elements %}
<div id="choose-columns-dialog" title="{% trans 'Wybierz kolumny' %}">
<select id="column-list" multiple=multiple></select>
</div>
<div id="choose-filter-dialog" title="{% trans 'Filtrowanie' %}">
<p>
<select id="group-op">
<option value="AND" selected="selected">{% trans 'oraz' %}</option>
<option value="OR">{% trans 'lub' %}</option>
</select>
<input type="button" value="+" title="{% trans 'Dodaj filtr' %}"
id="add-filter-button">
</p>
<table id="filter-table"></table>
</div>
<div id="search-by-form-dialog" title="{% trans 'Szukanie według formy' %}">
<table id="search-by-form-table">
</table>
</div>
<div id="more-actions-dialog" title="{% trans 'Inne działania' %}">
<p><button type="button" id="export-list-button">
{% trans 'Eksport aktualnie filtrowanej listy' %}
</button></p>
</div>
{% endblock %}