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