|
1
|
{% extends "base.html" %}
|
|
2
|
{% load i18n version_static %}
|
|
3
|
|
|
4
5
6
7
|
{% block extrahead-lib %}
{% include "slickgrid_libs.html" %}
{% endblock %}
|
|
8
|
{% block extrahead %}
|
|
9
|
<link rel="stylesheet" type="text/css"
|
|
10
|
href="{% version_static 'css/slickgrid.css' %}"/>
|
|
11
|
<link rel="stylesheet" type="text/css"
|
|
12
13
|
href="{% version_static 'css/slickgrid-edit.css' %}"/>
<link rel="stylesheet" type="text/css"
|
|
14
|
href="{% version_static 'css/lexeme_view.css' %}"/>
|
|
15
|
<link rel="stylesheet" type="text/css"
|
|
16
|
href="{% version_static 'css/history.css' %}">
|
|
17
|
<script type="text/javascript"
|
|
18
|
src="{% version_static 'js/remotemodel.js' %}"></script>
|
|
19
|
<script type="text/javascript"
|
|
20
|
src="{% version_static 'js/slickgrid.js' %}"></script>
|
|
21
|
<script type="text/javascript"
|
|
22
|
src="{% version_static 'js/lexeme-view.js' %}"></script>
|
|
23
|
<script type="text/javascript"
|
|
24
|
src="{% version_static 'js/edit.js' %}"></script>
|
|
25
|
<script type="text/javascript"
|
|
26
|
src="{% version_static 'js/lexeme-edit.js' %}"></script>
|
|
27
28
|
{% endblock %}
|
|
29
|
{% block title %}{% trans 'Lexeme view' %}{% endblock %}
|
|
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
|
{% block moremenu %}
<li id="search-panel">
<button id="sort-button" title="{% trans 'sort' %}">
<span class="ui-icon ui-icon-sort">{% trans 'sort' %}</span>
</button>
<button id="filter-button" title="{% trans 'filter' %}">
<span class="ui-icon ui-icon-filter">{% trans 'filter' %}</span>
</button>
<button id="show-columns-button" title="{% trans 'show/hide' %}">
<span class="ui-icon ui-icon-columns">{% trans 'show/hide' %}</span>
</button>
<input type="text" id="text-search"/>
<button id="search-button" title="{% trans 'search' %}">
<span class="ui-icon ui-icon-search">{% trans 'search' %}</span>
</button>
{% if perms.dictionary.change_lexeme %}
<!--button id="action-button" title="{% trans 'group actions' %}">
<span class="ui-icon ui-icon-star">{% trans 'group actions' %}</span>
</button-->
<button id="add-button" title="{% trans 'create lexeme' %}">
<span class="ui-icon ui-icon-plus">{% trans 'create lexeme' %}</span>
</button>
{% endif %}
<button id="more-button" title="{% trans 'more' %}">
<span class="ellipsis-icon">...</span>
</button>
</li>
{% endblock %}
|
|
60
|
{% block content %}
|
|
61
|
<div id="left">
|
|
62
|
<div id="lexeme-grid"></div>
|
|
63
|
</div>
|
|
64
|
<div id="right">
|
|
65
|
<div class="tabs" id="lexeme-tabs">
|
|
66
|
<ul>
|
|
67
68
69
|
<li><a href="#edit" id="edit-tab">{% trans 'Edit' %}</a></li>
<li><a href="#variant0">{% trans 'Base forms' %}</a></li>
<li><a href="#variant1">{% trans 'All forms' %}</a></li>
|
|
70
|
<!--li><a href="#odm">Formy z sjp.pl</a></li-->
|
|
71
|
<li><a href="#history">{% trans 'History' %}</a></li>
|
|
72
73
74
75
|
</ul>
<div id="edit"></div>
<div id="variant0"></div>
<div id="variant1"></div>
|
|
76
|
<!--div id="odm"></div-->
|
|
77
78
|
<div id="history"></div>
</div>
|
|
79
80
81
82
|
</div>
{% endblock %}
{% block modal_elements %}
|
|
83
84
85
86
87
88
89
90
91
92
93
|
{% include "slickgrid_modal_elements.html" %}
<div id="more-actions-dialog" title="{% trans 'Other actions' %}">
<p><button type="button" id="export-list-button">
{% trans 'Export the current list' %}
</button></p>
<p><button type="button" id="reload-list-button">
{% trans 'Reload the list' %}
</button></p>
<p><button type="button" id="clone-lexeme-button">
{% trans 'Clone the active lexeme' %}
</button></p>
|
|
94
|
</div>
|
|
95
96
97
|
<div id="group-action-dialog" title="{% trans 'Choose group action' %}">
<button id="add-action" title="{% trans 'add action' %}">
<span class="ui-icon ui-icon-plus">{% trans 'add action' %}</span>
|
|
98
99
|
</button>
<table id="action-list" class="group-action-list">
|
|
100
|
</table>
|
|
101
|
</div>
|
|
102
|
<div id="choose-homonym-dialog" title="{% trans 'Choose homonym' %}">
|
|
103
104
|
<table id="homonym-list" class="choose-homonym-list">
<thead>
|
|
105
|
<tr>
|
|
106
107
108
|
<th>{% trans 'Hom. №' %}</th>
<th>{% trans 'Gender' %}</th>
<th>{% trans 'Pattern' %}</th>
|
|
109
|
</tr>
|
|
110
111
112
113
114
|
</thead>
<tbody>
</tbody>
</table>
</div>
|
|
115
|
<div id="prompter-dialog" title="{% trans 'Pattern prompter' %}">
|
|
116
117
118
119
120
|
<div id="prompter-dialog-left">
<table id="prompter-list">
</table>
<ul id="prompter-checkboxes">
<li>
|
|
121
|
<input type="checkbox" id="prompter-gender"/>
|
|
122
|
<label for="prompter-gender">{% trans 'Match gender' %}</label>
|
|
123
124
125
|
</li>
<li>
<input type="checkbox" id="prompter-commonness"/>
|
|
126
|
<label for="prompter-commonness">{% trans 'Match commonness' %}</label>
|
|
127
128
129
|
</li>
<li>
<input type="checkbox" id="prompter-blacklist"/>
|
|
130
|
<label for="prompter-blacklist">{% trans 'Exclude atypical patterns' %}</label>
|
|
131
132
133
134
135
136
|
</li>
</ul>
</div>
<div id="prompter-table-preview">
</div>
</div>
|
|
137
|
<div id="default-owner-dialog" title="{% trans 'Choose default dictionary' %}">
|
|
138
|
<p>
|
|
139
|
{% trans 'Choose a dictionary to be set as the default owner when creating new lexemes.' %}
|
|
140
141
|
</p>
<p>
|
|
142
|
{% trans 'This choice can be change in Settings.' %}
|
|
143
144
145
146
|
</p>
<ul id="default-owner">
{% for vocab in editable_vocabularies %}
<li>
|
|
147
148
|
<input type="radio" value="{{ vocab.pk }}" name="owner"/>
{{ vocab.id }}
|
|
149
150
|
</li>
{% endfor %}
|
|
151
|
</ul>
|
|
152
|
</div>
|
|
153
154
|
<div id="auto-derivatives-dialog" title="{% trans 'Create derivatives' %}">
<p>{% trans 'Choose entries to create' %}:</p>
|
|
155
156
157
|
<ul id="auto-derivatives-list">
</ul>
</div>
|
|
158
|
<div id="back-references-dialog" title="{% trans 'Back references' %}">
|
|
159
160
|
<div id="proposed-crs"></div>
</div>
|
|
161
|
{% endblock %}
|