pattern_reader_view.html 1.81 KB
{% extends "reader_slickgrid.html" %}
{% load i18n staticfiles %}

{% block extrahead %}
    {{ block.super }}
    <link rel="stylesheet" type="text/css"
          href="{% static 'css/pattern_view.css' %}"/>
    <script type="text/javascript"
            src="{% static 'js/pattern-view.js' %}"></script>
    <script type="text/javascript"
            src="{% static 'js/pattern-reader-view.js' %}"></script>
{% endblock %}

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

{% block header %}
    {{ block.super }}
    <div id="search-panel">
        <input type="text" id="text-search"/>
        <img id="search-button" title="{% trans 'szukaj' %}" src="{% static 'images/tick.png' %}"/>
    </div>
    <img id="filter-button" class="menu-button"
         title="{% trans 'filtruj' %}" src="{% static 'images/filter.png' %}"/>
{% endblock %}

{% block settings-menu %}
    <p id="show-columns-button" class="item">{% trans "lista wzorów…" %}</p>
    <p id="columns" class="subitem"></p>
{% endblock %}


{% block content %}
    <div id="left">
        <div id="pattern-grid"></div>
    </div>
    <div id="right">
        <div id="preview"></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>
{% endblock %}