pattern_view.html
4.76 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
{% extends "base.html" %}
{% load i18n version_static %}
{% block extrahead %}
<link rel="stylesheet" href="{% version_static 'css/lib/slick.grid.css' %}"
type="text/css"/>
<link rel="stylesheet" type="text/css"
href="{% version_static 'css/lib/jquery.uix.multiselect.css' %}">
<link rel="stylesheet" type="text/css"
href="{% version_static 'css/lib/slick.grid.css' %}"/>
<link rel="stylesheet" type="text/css"
href="{% version_static 'css/slick-default-theme.css' %}"/>
<link rel="stylesheet" type="text/css"
href="{% version_static 'css/slickgrid.css' %}"/>
<link rel="stylesheet" type="text/css"
href="{% version_static 'css/pattern_view.css' %}"/>
<link rel="stylesheet" type="text/css"
href="{% version_static 'css/inflection_table.css' %}"/>
<link rel="stylesheet" type="text/css"
href="{% version_static 'css/history.css' %}"/>
<script type="text/javascript"
src="{% version_static 'js/lib/cvi_busy_lib.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/lib/splitter.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/lib/jquery.event.drag-2.2.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/lib/jquery.event.drop-2.2.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/lib/jquery.uix.multiselect.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/lib/slick.core.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/lib/slick.grid.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/remotemodel.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/slickgrid.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/pattern-view.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/edit.js' %}"></script>
<script type="text/javascript"
src="{% version_static 'js/pattern-edit.js' %}"></script>
{% endblock %}
{% block title %}{% trans 'Widok wzorów' %}{% endblock %}
{% block content %}
<div id="left">
<div id="search-panel">
<button id="filter-button" title="{% trans 'filtruj' %}">
<span class="ui-icon ui-icon-filter">{% trans 'filtruj' %}</span>
</button>
<button id="show-columns-button" title="{% trans 'pokaż/ukryj' %}">
<span class="ui-icon ui-icon-columns">{% trans 'pokaż/ukryj' %}</span>
</button>
<input type="text" id="text-search"/>
<button id="search-button" title="{% trans 'szukaj' %}">
<span class="ui-icon ui-icon-search">{% trans 'szukaj' %}</span>
</button>
{% if perms.dictionary.change_pattern %}
<button id="add-button" title="{% trans 'dodaj wzór' %}">
<span class="ui-icon ui-icon-plus">{% trans 'dodaj wzór' %}</span>
</button>
<button id="more-button" title="{% trans 'więcej' %}">
<span class="ellipsis-icon">...</span>
</button>
{% endif %}
</div>
<div id="pattern-grid"></div>
</div>
<div id="right">
<div class="tabs">
<ul>
<li><a href="#edit" id="edit-tab">{% trans 'Edycja' %}</a></li>
<li><a href="#preview" id="preview-tab">{% trans 'Podgląd' %}</a></li>
<li><a href="#history" id="history-tab">{% trans 'Historia' %}</a></li>
</ul>
<div id="edit">
</div>
<div id="preview">
</div>
<div id="history">
</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="more-actions-dialog" title="{% trans 'Inne działania' %}">
<p><button type="button" id="clone-pattern-button">
{% trans 'Sklonowanie aktywnego wzoru' %}
</button></p>
</div>
{% endblock %}