-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbase.html
More file actions
85 lines (72 loc) · 3.67 KB
/
base.html
File metadata and controls
85 lines (72 loc) · 3.67 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
<!DOCTYPE html>
<html>
<head>
<title>{{ _("Learn Python in Kyiv, Ukraine") }}</title>
<meta charset="utf-8">
<link href="{{ url_for("static", filename="css/screen.css") }}" media="screen,projection,tv" rel="stylesheet" type="text/css">
{% block extra_head %}{% endblock %}
{% if not request.host.startswith("127.0.0.1") %}
<script type="text/javascript"><!--
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-5480567-4']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
--></script>
{% endif %}
</head>
<body>
<div id="wrapper">
<header>
<div class="left-wrapper">
<h1>
{% if not is_index %}<a href="{{ url_for("index") }}">{% endif %}{{ _("Learn Python in Kyiv, Ukraine") }}
{% if not is_index %}</a>{% endif %}
</h1>
<p>
<a{% if is_about %} class="active"{% endif %} href="{{ url_for("page", name="about") }}">{{ _("About us") }}</a> –
<a{% if is_archive %} class="active"{% endif %} href="{{ url_for("page", name="archive") }}">{{ _("Flows archive") }}</a> –
<a{% if is_contacts %} class="active"{% endif %} href="{{ url_for("page", name="contacts") }}">{{ _("Contacts") }}</a>
</p>
</div>
<div class="right-wrapper">
<h3>{{ _("3 flows on 6 studies") }}</h3>
<p>
<a class="twitter-icon" href="https://twitter.com/learnpythoninua">learnpythoninua</a></li>
</p>
</div>
<div class="clear">
<a class="github-ribbon" href="https://github.com/learnpython/learnpython.in.ua">
<img alt="{{ _("Fork us on GitHub") }}" src="{{ url_for("static", filename="img/github-ribbon.png") }}">
</a>
</div>
</header>
<nav>
<ul>
<li><a id="async-link-nav" href="{{ url_for("flows", _anchor="async") }}">{{ _("Async flow") }}</a></li>
<li><a id="web-link-nav" href="{{ url_for("flows", _anchor="web") }}">{{ _("Web flow") }}</a></li>
<li><a id="optimization-link-nav" href="{{ url_for("flows", _anchor="optimization") }}">{{ _("Optimization flow") }}</a></li>
<li><a class="{% if is_subscribe %}active {% endif %}subscribe" href="{{ url_for("subscribe") }}">{{ _("Subscribe") }} →</a></li>
</ul>
</nav>
<article>
{% block content %}{% endblock %}
</article>
<footer>
2012, 2013 ©
<a{% if is_index %} class="active"{% endif %} href="{{ url_for("index") }}">{{ _("Learn Python") }}</a><br>
<a id="async-link-footer" href="{{ url_for("flows", _anchor="async") }}">{{ _("Async flow") }}</a> –
<a id="web-link-footer" href="{{ url_for("flows", _anchor="web") }}">{{ _("Web flow") }}</a> –
<a id="optimization-link-footer" href="{{ url_for("flows", _anchor="optimization") }}">{{ _("Optimization flow") }}</a><br>
<a{% if is_about %} class="active"{% endif %} href="{{ url_for("page", name="about") }}">{{ _("About us") }}</a> –
<a{% if is_subscribe %} class="active"{% endif %} href="{{ url_for("subscribe") }}">{{ _("Subscribe") }}</a> –
<a{% if is_archive %} class="active"{% endif %} href="{{ url_for("page", name="archive") }}">{{ _("Flows archive") }}</a> –
<a{% if is_contacts %} class="active"{% endif %} href="{{ url_for("page", name="contacts") }}">{{ _("Contacts") }}</a>
</footer>
</div>
{% block extra_body %}{% endblock %}
</body>
</html>