|
1
|
{% extends "base.html" %}
|
|
2
|
{% load i18n staticfiles %}
|
|
3
4
|
{% block extrahead %}
|
|
5
|
<link rel="stylesheet" type="text/css"
|
|
6
|
href="{% static 'css/lib/jquery.uix.multiselect.css' %}">
|
|
7
|
<link rel="stylesheet" type="text/css"
|
|
8
|
href="{% static 'css/lib/jquery.ui.selectmenu.css' %}"/>
|
|
9
|
<link rel="stylesheet" type="text/css"
|
|
10
|
href="{% static 'css/lib/slick.grid.css' %}"/>
|
|
11
|
<link rel="stylesheet" type="text/css"
|
|
12
|
href="{% static 'css/slick-default-theme.css' %}"/>
|
|
13
|
<link rel="stylesheet" type="text/css"
|
|
14
|
href="{% static 'css/slickgrid.css' %}"/>
|
|
15
|
<link rel="stylesheet" type="text/css"
|
|
16
|
href="{% static 'css/lexeme_view.css' %}"/>
|
|
17
18
|
<link rel="stylesheet" type="text/css"
href="{% static 'css/history.css' %}">
|
|
19
|
<script type="text/javascript"
|
|
20
|
src="{% static 'js/lib/cvi_busy_lib.js' %}"></script>
|
|
21
|
<script type="text/javascript"
|
|
22
|
src="{% static 'js/lib/splitter.js' %}"></script>
|
|
23
|
<script type="text/javascript"
|
|
24
|
src="{% static 'js/lib/jquery.event.drag-2.2.js' %}"></script>
|
|
25
|
<script type="text/javascript"
|
|
26
|
src="{% static 'js/lib/jquery.event.drop-2.2.js' %}"></script>
|
|
27
|
<script type="text/javascript"
|
|
28
|
src="{% static 'js/lib/jquery.ui.selectmenu.js' %}"></script>
|
|
29
|
<script type="text/javascript"
|
|
30
|
src="{% static 'js/lib/jquery.uix.multiselect.js' %}"></script>
|
|
31
|
<script type="text/javascript"
|
|
32
|
src="{% static 'js/lib/slick.core.js' %}"></script>
|
|
33
|
<script type="text/javascript"
|
|
34
|
src="{% static 'js/lib/slick.grid.js' %}"></script>
|
|
35
|
<script type="text/javascript"
|
|
36
|
src="{% static 'js/remotemodel.js' %}"></script>
|
|
37
|
<script type="text/javascript"
|
|
38
|
src="{% static 'js/slickgrid.js' %}"></script>
|
|
39
|
<script type="text/javascript"
|
|
40
|
src="{% static 'js/lexeme-view.js' %}"></script>
|
|
41
|
<script type="text/javascript"
|
|
42
|
src="{% static 'js/edit.js' %}"></script>
|
|
43
|
<script type="text/javascript"
|
|
44
|
src="{% static 'js/lexeme-edit.js' %}"></script>
|
|
45
46
|
{% endblock %}
|
|
47
|
{% block title %}{% trans 'Widok leksemów' %}{% endblock %}
|
|
48
49
|
{% block content %}
|
|
50
51
|
<div id="left">
<div id="search-panel">
|
|
52
53
|
<button id="sort-button" title="{% trans 'sortuj' %}">
<span class="ui-icon ui-icon-sort">{% trans 'sortuj' %}</span>
|
|
54
|
</button>
|
|
55
56
|
<button id="filter-button" title="{% trans 'filtruj' %}">
<span class="ui-icon ui-icon-filter">{% trans 'filtruj' %}</span>
|
|
57
|
</button>
|
|
58
59
|
<button id="show-columns-button" title="{% trans 'pokaż/ukryj' %}">
<span class="ui-icon ui-icon-columns">{% trans 'pokaż/ukryj' %}</span>
|
|
60
|
</button>
|
|
61
|
<input type="text" id="text-search"/>
|
|
62
63
|
<button id="search-button" title="{% trans 'szukaj' %}">
<span class="ui-icon ui-icon-search">{% trans 'szukaj' %}</span>
|
|
64
65
|
</button>
{% if perms.dictionary.change_lexeme %}
|
|
66
67
|
<!--button id="action-button" title="{% trans 'akcje grupowe' %}">
<span class="ui-icon ui-icon-star">{% trans 'akcje grupowe' %}</span>
|
|
68
|
</button-->
|
|
69
70
|
<button id="add-button" title="{% trans 'dodaj leksem' %}">
<span class="ui-icon ui-icon-plus">{% trans 'dodaj leksem' %}</span>
|
|
71
72
|
</button>
{% endif %}
|
|
73
|
<button id="more-button" title="{% trans 'więcej' %}">
|
|
74
75
|
<span class="ellipsis-icon">...</span>
</button>
|
|
76
|
</div>
|
|
77
|
<div id="lexeme-grid"></div>
|
|
78
|
</div>
|
|
79
|
<div id="right">
|
|
80
|
<div class="tabs" id="lexeme-tabs">
|
|
81
|
<ul>
|
|
82
83
84
|
<li><a href="#edit" id="edit-tab">{% trans 'Edycja' %}</a></li>
<li><a href="#variant0">{% trans 'Formy bazowe' %}</a></li>
<li><a href="#variant1">{% trans 'Wszystkie formy' %}</a></li>
|
|
85
|
<!--li><a href="#odm">Formy z sjp.pl</a></li-->
|
|
86
|
<li><a href="#history">{% trans 'Historia' %}</a></li>
|
|
87
88
89
90
|
</ul>
<div id="edit"></div>
<div id="variant0"></div>
<div id="variant1"></div>
|
|
91
|
<!--div id="odm"></div-->
|
|
92
93
|
<div id="history"></div>
</div>
|
|
94
95
96
97
|
</div>
{% endblock %}
{% block modal_elements %}
|
|
98
|
<div id="choose-columns-dialog" title="{% trans 'Wybierz kolumny' %}">
|
|
99
100
|
<select id="column-list" multiple=multiple></select>
</div>
|
|
101
|
<div id="choose-filter-dialog" title="{% trans 'Filtrowanie' %}">
|
|
102
103
|
<p>
<select id="group-op">
|
|
104
105
|
<option value="AND" selected="selected">{% trans 'oraz' %}</option>
<option value="OR">{% trans 'lub' %}</option>
|
|
106
|
</select>
|
|
107
|
<input type="button" value="+" title="{% trans 'Dodaj filtr' %}"
|
|
108
109
110
|
id="add-filter-button">
</p>
<table id="filter-table"></table>
|
|
111
|
</div>
|
|
112
|
<div id="load-filter-dialog" title="{% trans 'Wybierz filtr' %}">
|
|
113
|
<ul id="filter-list" class="load-dialog-list"></ul>
|
|
114
|
</div>
|
|
115
116
117
|
<div id="group-action-dialog" title="{% trans 'Wybierz akcję grupową' %}">
<button id="add-action" title="{% trans 'dodaj akcję' %}">
<span class="ui-icon ui-icon-plus">{% trans 'dodaj akcję' %}</span>
|
|
118
119
|
</button>
<table id="action-list" class="group-action-list">
|
|
120
|
</table>
|
|
121
|
</div>
|
|
122
|
<div id="choose-homonym-dialog" title="{% trans 'Wybierz homonim' %}">
|
|
123
124
|
<table id="homonym-list" class="choose-homonym-list">
<thead>
|
|
125
|
<tr>
|
|
126
127
128
|
<th>{% trans 'Nr hom.' %}</th>
<th>{% trans 'Rodzaj' %}</th>
<th>{% trans 'Wzór' %}</th>
|
|
129
|
</tr>
|
|
130
131
132
133
134
|
</thead>
<tbody>
</tbody>
</table>
</div>
|
|
135
|
<div id="prompter-dialog" title="{% trans 'Podpowiadacz wzorów' %}">
|
|
136
137
138
139
140
|
<div id="prompter-dialog-left">
<table id="prompter-list">
</table>
<ul id="prompter-checkboxes">
<li>
|
|
141
|
<input type="checkbox" id="prompter-gender"/>
|
|
142
|
<label for="prompter-gender">{% trans 'Uwzględniaj rodzaj' %}</label>
|
|
143
144
145
|
</li>
<li>
<input type="checkbox" id="prompter-commonness"/>
|
|
146
|
<label for="prompter-commonness">{% trans 'Uwzględniaj pospolitość' %}</label>
|
|
147
148
149
|
</li>
<li>
<input type="checkbox" id="prompter-blacklist"/>
|
|
150
|
<label for="prompter-blacklist">{% trans 'Pomijaj wzory nietypowe' %}</label>
|
|
151
152
153
154
155
156
|
</li>
</ul>
</div>
<div id="prompter-table-preview">
</div>
</div>
|
|
157
|
<div id="default-owner-dialog" title="{% trans 'Wybór domyślnego słownika' %}">
|
|
158
|
<p>
|
|
159
160
161
162
|
{% blocktrans %}
Wybierz słownik domyślnie ustawiany jako właściciel przy
dodawaniu leksemów.
{% endblocktrans %}
|
|
163
164
|
</p>
<p>
|
|
165
|
{% trans 'Wybór można będzie zmienić w Ustawieniach.' %}
|
|
166
167
168
169
170
171
172
173
|
</p>
<ul id="default-owner">
{% for vocab in editable_vocabularies %}
<li>
<input type="radio" value="{{ vocab.pk }}"
name="owner"/> {{ vocab.id }}
</li>
{% endfor %}
|
|
174
|
</ul>
|
|
175
|
</div>
|
|
176
|
<div id="more-actions-dialog" title="{% trans 'Inne działania' %}">
|
|
177
|
<p><button type="button" id="export-list-button">
|
|
178
|
{% trans 'Eksport aktualnie filtrowanej listy' %}
|
|
179
180
|
</button></p>
<p><button type="button" id="reload-list-button">
|
|
181
|
{% trans 'Przeładowanie listy' %}
|
|
182
|
</button></p>
|
|
183
|
<p><button type="button" id="clone-lexeme-button">
|
|
184
|
{% trans 'Sklonowanie aktywnego leksemu' %}
|
|
185
|
</button></p>
|
|
186
|
</div>
|
|
187
188
|
<div id="auto-derivatives-dialog" title="{% trans 'Tworzenie derywatów' %}">
<p>{% trans 'Wybierz hasła do utworzenia' %}:</p>
|
|
189
190
191
|
<ul id="auto-derivatives-list">
</ul>
</div>
|
|
192
|
<div id="search-by-form-dialog" title="{% trans 'Szukanie według formy' %}">
|
|
193
194
195
|
<table id="search-by-form-table">
</table>
</div>
|
|
196
|
{% endblock %}
|