reader_view.html 2.96 KB
{% extends "reader_slickgrid.html" %}
{% load i18n version_static %}

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

{% block title %}{% trans 'Grammatical Dictionary of Polish' %}{% endblock %}

{% block header %}
    {{ block.super }}
    <div id="search-panel">
        <input type="text" id="text-search"/>
        <img id="search-button" title="{% trans 'search' %}" src="{% version_static 'images/tick.png' %}"/>
    </div>
    <img id="afronte-button" class="menu-button hide-by-form"
         title="{% trans 'a fronte' %}" src="{% version_static 'images/afronte.png' %}"/>
    <img id="atergo-button" class="menu-button hide-by-form"
         title="{% trans 'a tergo' %}" src="{% version_static 'images/atergo.png' %}"/>
    <img id="filter-button" class="menu-button hide-by-form"
         title="{% trans 'filter' %}" src="{% version_static 'images/filter.png' %}"/>
{% endblock %}

{% block settings-menu %}
    <p class="item">{% trans "inflection" %}</p>
    <p class="subitem switch-tab" data-tab="variant1"><span class="ui-icon ui-icon-check"></span>{% trans "all forms" %}</p>
    <p class="subitem switch-tab" data-tab="variant0"><span class="ui-icon ui-icon-check"></span>{% trans "base forms" %}</p>
    <p id="show-columns-button" class="item hide-by-form">{% trans "entry list…" %}</p>
    <p id="columns" class="subitem"></p>
{% endblock %}


{% block content %}
    <div id="left">
        <div id="lexeme-grid"></div>
    </div>
    <div id="right">
        <div id="variant1"></div>
        <div id="variant0"></div>
    </div>
{% endblock %}

{% block modal_elements %}
    {{ block.super }}
    <div id="choose-columns-dialog" title="{% trans 'Choose columns' %}">
        <select id="column-list" multiple=multiple></select>
    </div>
    <div id="choose-filter-dialog" title="{% trans 'Filters' %}">
        <p>
            <select id="group-op">
                <option value="AND" selected="selected">{% trans 'and' %}</option>
                <option value="OR">{% trans 'or' %}</option>
            </select>
            <input type="button" value="+" title="{% trans 'Add filter' %}"
                   id="add-filter-button">
        </p>
        <table id="filter-table"></table>
    </div>
    <div id="search-by-form-dialog" title="{% trans 'Search by form' %}">
        <table id="search-by-form-table">
        </table>
    </div>
    <div id="more-actions-dialog" title="{% trans 'Other actions' %}">
        <p><button type="button" id="export-list-button">
            {% trans 'Export the current list' %}
        </button></p>
    </div>
{% endblock %}