|
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/pattern_view.css' %}"/>
|
|
15
|
<link rel="stylesheet" type="text/css"
|
|
16
|
href="{% version_static 'css/inflection_table.css' %}"/>
|
|
17
|
<link rel="stylesheet" type="text/css"
|
|
18
|
href="{% version_static 'css/history.css' %}"/>
|
|
19
|
<script type="text/javascript"
|
|
20
|
src="{% version_static 'js/remotemodel.js' %}"></script>
|
|
21
|
<script type="text/javascript"
|
|
22
|
src="{% version_static 'js/slickgrid.js' %}"></script>
|
|
23
|
<script type="text/javascript"
|
|
24
|
src="{% version_static 'js/pattern-view.js' %}"></script>
|
|
25
|
<script type="text/javascript"
|
|
26
|
src="{% version_static 'js/edit.js' %}"></script>
|
|
27
|
<script type="text/javascript"
|
|
28
|
src="{% version_static 'js/pattern-edit.js' %}"></script>
|
|
29
30
|
{% endblock %}
|
|
31
|
{% block title %}{% trans 'Pattern view' %}{% endblock %}
|
|
32
|
|
|
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{% block moremenu %}
<li id="search-panel">
<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_pattern %}
<button id="add-button" title="{% trans 'create pattern' %}">
<span class="ui-icon ui-icon-plus">{% trans 'create pattern' %}</span>
|
|
48
|
</button>
|
|
49
50
|
<button id="more-button" title="{% trans 'more' %}">
<span class="ellipsis-icon">...</span>
|
|
51
|
</button>
|
|
52
53
54
55
56
57
|
{% endif %}
</li>
{% endblock %}
{% block content %}
<div id="left">
|
|
58
|
<div id="pattern-grid"></div>
|
|
59
|
</div>
|
|
60
61
62
|
<div id="right">
<div class="tabs">
<ul>
|
|
63
64
65
|
<li><a href="#edit" id="edit-tab">{% trans 'Edit' %}</a></li>
<li><a href="#preview" id="preview-tab">{% trans 'Preview' %}</a></li>
<li><a href="#history" id="history-tab">{% trans 'History' %}</a></li>
|
|
66
67
68
|
</ul>
<div id="edit">
</div>
|
|
69
70
|
<div id="preview">
</div>
|
|
71
72
|
<div id="history">
</div>
|
|
73
|
</div>
|
|
74
75
76
77
|
</div>
{% endblock %}
{% block modal_elements %}
|
|
78
|
{% include "slickgrid_modal_elements.html" %}
|
|
79
|
<div id="more-actions-dialog" title="{% trans 'Other actions' %}">
|
|
80
|
<p><button type="button" id="clone-pattern-button">
|
|
81
|
{% trans 'Clone the active pattern' %}
|
|
82
83
|
</button></p>
</div>
|
|
84
|
{% endblock %}
|