base.html
2.73 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
{% load url from future %}<!DOCTYPE HTML>
<!-- Website template by freewebsitetemplates.com -->
<html>
<head>
<meta charset="UTF-8">
<title>Periphraser</title>
<link rel="stylesheet" href="{{ STATIC_URL }}css/main_style.css" type="text/css">
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css" type="text/css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
{% load script json %}
{% if js_vars %}
{% script %}
{% for name,var in js_vars.iteritems %}
var {{ name }} = {{ var|jsonify }};
{% endfor %}
{% endscript %}
{% endif %}
{% block extrahead %}{% endblock %}
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49926765-3', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="header">
<div>
<div class="logo">
<a href="/">Periphraser</a>
</div>
<ul id="navigation">
<li id="preview">
<a href="{% url 'preview_page' %}">Podgląd</a>
</li>
{% if user.is_authenticated %}
<li id="edit">
<a href="{% url 'edit_page' %}">Edycja</a>
</li>
<li id="download">
<a href="{% url 'download' %}">Pobierz</a>
</li>
<li id="account">
<a href="{% url 'auth_password_change' %}">{{ user.username }}</a>
<a href="{% url 'auth_logout' %}">(Wyloguj)</a>
</li>
{% else %}
<li id="download">
<a href="{% url 'download' %}">Pobierz</a>
</li>
<li id="account">
<a href="{% url 'auth_login' %}">Zaloguj</a>
</li>
{% endif %}
</ul>
</div>
</div>
<div id="contents">
{% block content %}{% endblock %}
</div>
<div id="footer">
<div class="clearfix">
<p>
Periphraser logo graphic by <a href="http://www.flaticon.com/authors/roundicons">Roundicons</a> from <a href="http://www.flaticon.com/">Flaticon</a> is licensed under <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0">CC BY 3.0</a>. Made with <a href="http://logomakr.com" title="Logo Maker">Logo Maker</a>.
<br>
© 2016 IPI PAN. All Rights Reserved.
</p>
</div>
</div>
</body>
</html>