base.html 2.08 KB
{% 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">
    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery-3.1.1.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">
                {% if user.is_authenticated %}
                    <li class="active">
					    <a href="#">Wyrażenia</a>
				    </li>
                    <li>
                        <strong><a href="{% url 'auth_password_change' %}">{{ user.username }}</a></strong>
		                <a href="{% url 'auth_logout' %}">(Wyloguj)</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>