entry.html 3.86 KB
{% load url from future %}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3c.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<title>{% block title %}{% endblock %}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="{{ STATIC_URL }}js/lib/jquery-1.7.1.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/lib/jquery.json-2.2.min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/lib/jquery-ui-1.8.20.custom.min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/lib/jquery.scrollTo-min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/argument_form_utils.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/script.js"></script>
{% load script json %}
{% if js_vars %}
  {% script %}
    {% for name,var in js_vars.iteritems %}
      var {{ name }} = {{ var|jsonify }};
    {% endfor %}
  {% endscript %}
{% endif %}
<link rel="shortcut icon" href="{{STATIC_URL}}images/favicon.ico" type="image/png"/>
<link rel="stylesheet" href="{{ STATIC_URL }}css/lib/smoothness/jquery-ui-1.8.20.custom.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="{{ STATIC_URL }}css/general.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="{{ STATIC_URL }}css/frame_table.css" type="text/css" media="screen" charset="utf-8" />

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-49926765-2', 'auto');
  ga('send', 'pageview');

  $(document).ready( function() {
        if (userIsAuthenticated()) {
            $('#wait-dialog h2').text('Ten widok nie jest przeznaczony dla zalogowanych użytkowników.');
        } else if (error) {
            $('#wait-dialog h2').text(error);
        } else {
            createWaitDialog();
            load_content(lemma);
        }
    });
</script>

<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/change_ctrl_table.css"/>
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/examples_table.css"/>
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/filter_frames_menu.css"/>
<script type="text/javascript" src="{{ STATIC_URL }}js/lib/splitter.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/lemma-view.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/entry-layout.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/schemata_filtering.js"></script>

</head>
{% load i18n %}

<body>
    <div id="header">
    </div>

    <div id="content">
        <div class="tabs">
            <ul>
            <li id="refresh_frames"><a href="#new_frames">{% trans "Składnia" %} [<span id="new-frames-count"></span>]</a></li>
              {% if semantics_ready %}
                <li><a href="#semantics">{% trans "Semantyka" %} [<span id="semantic-frames-count"></span>]</a></li>
              {% endif %}
              <li><a href="#examples">{% trans "Przykłady" %} [<span id="lemma-examples-count"></span>]</a></li>
              <li id="lemma_desc" style="float:right;"></li>
            </ul>

            <div id="new_frames"></div>
            {% if semantics_ready %}
                <div id="semantics"></div>
            {% endif %}
            <div id="examples"></div>
        </div>
    </div>

    <div id="footer"></div>
    <div id="wait-dialog">
        <div id="progress" class="ui-corner-all" >
            <h2 style="color:gray;font-weight:normal;">Proszę czekać....</h2>
        </div>
    </div>

</body>
</html>