{% extends "base.html" %} {% load i18n version_static %} {% block extrahead-lib %} {% include "slickgrid_libs.html" %} {% endblock %} {% block extrahead %} <link rel="stylesheet" type="text/css" href="{% version_static 'css/slickgrid.css' %}"/> <link rel="stylesheet" type="text/css" href="{% version_static 'css/slickgrid-edit.css' %}"/> <link rel="stylesheet" type="text/css" href="{% version_static 'css/lexeme_view.css' %}"/> <link rel="stylesheet" type="text/css" href="{% version_static 'css/history.css' %}"> <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/lexeme-view.js' %}"></script> <script type="text/javascript" src="{% version_static 'js/edit.js' %}"></script> <script type="text/javascript" src="{% version_static 'js/lexeme-edit.js' %}"></script> {% endblock %} {% block title %}{% trans 'Lexeme view' %}{% endblock %} {% block moremenu %} <li id="search-panel"> <button id="sort-button" title="{% trans 'sort' %}"> <span class="ui-icon ui-icon-sort">{% trans 'sort' %}</span> </button> <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_lexeme %} <!--button id="action-button" title="{% trans 'group actions' %}"> <span class="ui-icon ui-icon-star">{% trans 'group actions' %}</span> </button--> <button id="add-button" title="{% trans 'create lexeme' %}"> <span class="ui-icon ui-icon-plus">{% trans 'create lexeme' %}</span> </button> {% endif %} <button id="more-button" title="{% trans 'more' %}"> <span class="ellipsis-icon">...</span> </button> </li> {% endblock %} {% block content %} <div id="left"> <div id="lexeme-grid"></div> </div> <div id="right"> <div class="tabs" id="lexeme-tabs"> <ul> <li><a href="#edit" id="edit-tab">{% trans 'Edit' %}</a></li> <li><a href="#variant0">{% trans 'Base forms' %}</a></li> <li><a href="#variant1">{% trans 'All forms' %}</a></li> <!--li><a href="#odm">Formy z sjp.pl</a></li--> <li><a href="#history">{% trans 'History' %}</a></li> </ul> <div id="edit"></div> <div id="variant0"></div> <div id="variant1"></div> <!--div id="odm"></div--> <div id="history"></div> </div> </div> {% endblock %} {% block modal_elements %} {% include "slickgrid_modal_elements.html" %} <div id="more-actions-dialog" title="{% trans 'Other actions' %}"> <p><button type="button" id="export-list-button"> {% trans 'Export the current list' %} </button></p> <p><button type="button" id="reload-list-button"> {% trans 'Reload the list' %} </button></p> <p><button type="button" id="clone-lexeme-button"> {% trans 'Clone the active lexeme' %} </button></p> </div> <div id="group-action-dialog" title="{% trans 'Choose group action' %}"> <button id="add-action" title="{% trans 'add action' %}"> <span class="ui-icon ui-icon-plus">{% trans 'add action' %}</span> </button> <table id="action-list" class="group-action-list"> </table> </div> <div id="choose-homonym-dialog" title="{% trans 'Choose homonym' %}"> <table id="homonym-list" class="choose-homonym-list"> <thead> <tr> <th>{% trans 'Hom. №' %}</th> <th>{% trans 'Gender' %}</th> <th>{% trans 'Pattern' %}</th> </tr> </thead> <tbody> </tbody> </table> </div> <div id="prompter-dialog" title="{% trans 'Pattern prompter' %}"> <div id="prompter-dialog-left"> <table id="prompter-list"> </table> <ul id="prompter-checkboxes"> <li> <input type="checkbox" id="prompter-gender"/> <label for="prompter-gender">{% trans 'Match gender' %}</label> </li> <li> <input type="checkbox" id="prompter-commonness"/> <label for="prompter-commonness">{% trans 'Match commonness' %}</label> </li> <li> <input type="checkbox" id="prompter-blacklist"/> <label for="prompter-blacklist">{% trans 'Exclude atypical patterns' %}</label> </li> </ul> </div> <div id="prompter-table-preview"> </div> </div> <div id="default-owner-dialog" title="{% trans 'Choose default dictionary' %}"> <p> {% trans 'Choose a dictionary to be set as the default owner when creating new lexemes.' %} </p> <p> {% trans 'This choice can be change in Settings.' %} </p> <ul id="default-owner"> {% for vocab in editable_vocabularies %} <li> <input type="radio" value="{{ vocab.pk }}" name="owner"/> {{ vocab.id }} </li> {% endfor %} </ul> </div> <div id="auto-derivatives-dialog" title="{% trans 'Create derivatives' %}"> <p>{% trans 'Choose entries to create' %}:</p> <ul id="auto-derivatives-list"> </ul> </div> <div id="back-references-dialog" title="{% trans 'Back references' %}"> <div id="proposed-crs"></div> </div> {% endblock %}