-
Notifications
You must be signed in to change notification settings - Fork 1
/
base.tpl
94 lines (89 loc) · 3.42 KB
/
base.tpl
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
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pump19 | {{ subtitle }}</title>
<link rel="icon" type="image/gif" href="data:image/gif;base64,R0lGODlhEAAQAOMJAAABACcgFkE2IllMMnJiQop3Uf92AP+pAP/MBv///////////////////////////yH5BAEKAA8ALAAAAAAQABAAAARf8MkHqrVzAjGIJ0UIZNvQfZ4olSeajhQ3CEFN0HVRyYNxGAGCD6gDBAScA+IQGCiZRRpnaBoKokeTidfRxTgfpODj3cgIrZP3a6q5QeuYKVWgw9jdkIqEVO8zFBcYEhEAOw==">
<link rel="stylesheet" href="/static/css/app.css">
</head>
<body>
<header class="expanded row align-center">
<nav class="small-12 column top-bar">
<div class="top-bar-left">
<ul class="expanded menu icon-top text-center">
<li{{!" class=\"active\"" if get("active") == "home" else ""}}>
<a href="/" title="Pump19">
<i class="fa fa-2x fa-twitch"></i>
<span class="show-for-medium">Pump19</span>
</a>
</li>
<li{{!" class=\"active\"" if get("active") == "commands" else ""}}>
<a href="/commands" title="Commands">
<i class="fa fa-2x fa-keyboard-o"></i>
<span class="show-for-medium">Commands</span>
</a>
</li>
<li{{!" class=\"active\"" if get("active") == "codefall" else ""}}>
<a href="/codefall" title="Codefall">
<i class="fa fa-2x fa-gift"></i>
<span class="show-for-medium">Codefall</span>
</a>
</li>
<li{{!" class=\"active\"" if get("active") == "bingo" else ""}}>
<a href="/bingo" title="Trope Bingo">
<i class="fa fa-2x fa-puzzle-piece"></i>
<span class="show-for-medium">Trope Bingo</span>
</a>
</li>
<li{{!" class=\"active\"" if get("active") == "contribute" else ""}}>
<a href="/contribute" title="Contribute">
<i class="fa fa-2x fa-medkit"></i>
<span class="show-for-medium">Contribute</span>
</a>
</li>
% if session.get("logged_in", False):
<li>
<a href="/logout" title="Log out">
<i class="fa fa-2x fa-sign-out"></i>
<span class="show-for-medium">Log out</span>
</a>
</li>
% else:
<li{{!" class=\"active\"" if get("active") == "login" else ""}}>
<a href="/login" title="Log in">
<i class="fa fa-2x fa-sign-in"></i>
<span class="show-for-medium">Log in</span>
</a>
</li>
% end
</ul>
</div>
</nav>
</header>
{{!base}}
<footer class="text-center">
<small>
Powered by
<a href="http://foundation.zurb.com/">Foundation</a>
and
<a href="https://fortawesome.github.io/Font-Awesome/">
<i class="fa fa-flag"></i>
Font Awesome
</a>
<br>
<i class="fa fa-copyright"></i>
2015-2017 Twisted Pear
</small>
</footer>
<!-- JS components -->
<script src="/static/js/app.js"></script>
<%
rc_sitekey = get("rc_sitekey")
if rc_sitekey:
include("captcha_js.tpl", sitekey=rc_sitekey)
end
%>
</body>
</html>