base.html
4.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{% 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/lib/jquery.hotkeys.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/base-layout.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/status_table.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="{{ STATIC_URL }}css/vocabulary_stats.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="{{ STATIC_URL }}css/user_stats.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" />
<link rel="stylesheet" href="{{ STATIC_URL }}css/arg_realization_table.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="{{ STATIC_URL }}css/arg_realization_viewtab.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="{{ STATIC_URL }}css/all_notes_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');
</script>
{% block extrahead %}{% endblock %}
</head>
{% load i18n %}
<body>
<!-- Container -->
<!--div id="container"-->
<!-- Header -->
<div id="header">
<div id="branding">
{% block branding %}{% endblock %}
</div>
<div id="user-tools">
{% block userlinks %}
{% if user.is_authenticated %}
{# if debug #}
<span id="show-debug">debug</span>
{# endif #}
{% trans 'Welcome,' %}
<strong>{% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}</strong>.
<a href="{% url 'settings' %}">
Ustawienia</a> /
<a href="{% url 'auth_logout' %}">
{% trans 'Log out' %}</a>
{% else %}
<a href="{% url 'auth_login' %}">
{% trans 'Log in' %}</a>
{% endif %}
{% endblock %}
</div>
{% include 'main_menu.html' %}
{% block nav-global %}{% endblock %}
{% if messages %}
<ul class="messagelist">{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}</ul>
{% endif %}
</div>
<!-- END Header -->
<!-- Content -->
<div id="content">
{% block pretitle %}{% endblock %}
{% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %}
{% block content %}
{% block object-tools %}{% endblock %}
{{ content }}
{% endblock %}
{% block sidebar %}{% endblock %}
</div>
<!-- END Content -->
{% block footer %}<div id="footer"></div>{% endblock %}
{% block modal_elements %}{% endblock %}
{# if debug #}
<iframe id="debug">
</iframe>
{# endif #}
<!--/div-->
<!-- END Container -->
<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>