Blame view

dictionary/templates/pattern_view.html 3.78 KB
janek37 authored
1
2
3
4
{% extends "base.html" %}
{% load i18n %}

{% block extrahead %}
janek37 authored
5
6
7
8
    <link rel="stylesheet" href="{{ MEDIA_URL }}css/lib/slick.grid.css"
          type="text/css"/>
    <link rel="stylesheet" type="text/css"
          href="{{ MEDIA_URL }}css/lib/jquery.uix.multiselect.css">
janek37 authored
9
    <link rel="stylesheet" type="text/css"
janek37 authored
10
11
12
13
14
          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"/>
janek37 authored
15
16
    <link rel="stylesheet" type="text/css"
          href="{{ MEDIA_URL }}css/pattern_view.css"/>
janek37 authored
17
18
    <link rel="stylesheet" type="text/css"
          href="{{ MEDIA_URL }}css/inflection_table.css"/>
janek37 authored
19
20
21
22
23
    <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"
janek37 authored
24
25
26
27
28
29
30
31
32
33
34
35
36
            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"
            src="{{ MEDIA_URL }}js/lib/jquery.uix.multiselect.js"></script>
    <script type="text/javascript"
            src="{{ MEDIA_URL }}js/lib/slick.core.js"></script>
    <script type="text/javascript"
            src="{{ MEDIA_URL }}js/lib/slick.grid.js"></script>
    <script type="text/javascript"
            src="{{ MEDIA_URL }}js/remotemodel.js"></script>
    <script type="text/javascript"
            src="{{ MEDIA_URL }}js/slickgrid.js"></script>
janek37 authored
37
38
    <script type="text/javascript"
            src="{{ MEDIA_URL }}js/pattern-view.js"></script>
janek37 authored
39
40
41
42
    <script type="text/javascript"
            src="{{ MEDIA_URL }}js/edit.js"></script>
    <script type="text/javascript"
            src="{{ MEDIA_URL }}js/pattern-edit.js"></script>
janek37 authored
43
44
45
46
47
{% endblock %}

{% block title %}Widok wzorów{% endblock %}

{% block content %}
janek37 authored
48
49
50
51
52
53
54
55
    <div id="left">
        <div id="search-panel">
            <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>
janek37 authored
56
57
            <input type="text" id="text-search"/>
            <button id="search-button" title="szukaj">
janek37 authored
58
59
                <span class="ui-icon ui-icon-search">szukaj</span>
            </button>
janek37 authored
60
61
62
63
64
            {% if perms.dictionary.change_pattern %}
                <button id="add-button" title="dodaj wzór">
                    <span class="ui-icon ui-icon-plus">dodaj wzór</span>
                </button>
            {% endif %}
janek37 authored
65
        </div>
janek37 authored
66
        <div id="pattern-grid"></div>
janek37 authored
67
    </div>
janek37 authored
68
69
70
71
    <div id="right">
        <div class="tabs">
            <ul>
                <li><a href="#edit" id="edit-tab">Edycja</a></li>
janek37 authored
72
                <li><a href="#preview" id="preview-tab">Podgląd</a></li>
janek37 authored
73
74
75
            </ul>
            <div id="edit">
            </div>
janek37 authored
76
77
            <div id="preview">
            </div>
janek37 authored
78
        </div>
janek37 authored
79
80
81
82
    </div>
{% endblock %}

{% block modal_elements %}
janek37 authored
83
84
85
86
87
88
89
90
91
92
93
94
95
    <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>
janek37 authored
96
    </div>
janek37 authored
97
{% endblock %}