-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.html
More file actions
169 lines (161 loc) · 6.63 KB
/
base.html
File metadata and controls
169 lines (161 loc) · 6.63 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en">
<head>
{% block head -%}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8">
<title>{% block title %}...{% endblock %} - IFCDB</title>
{#-<meta name="title" content="{% block title %}Home{% endblock %} - {{ site.name|e }} - IFCDB" />-#}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{% block meta_description %}IFCDB - Internet Fortune Cookie Database{% endblock %}" />
<meta name="keywords" content="{% block meta_keywords %}{% endblock %}" />
<meta name="author" content="{% block meta_author %}{% endblock %}" />
<!-- HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Icons -->
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"/>
<link rel="apple-touch-icon" href="/static/apple-touch-icon.png"/>
<link rel="apple-touch-icon" sizes="72x72" href="/static/apple-touch-icon-72x72.png"/>
<link rel="apple-touch-icon" sizes="114x114" href="/static/apple-touch-icon-114x114.png"/>
<!-- Style -->
<link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap-responsive.min.css"/>
<link rel="stylesheet" type="text/css" href="/static/ifcdb.css"/>
<!-- Scripts -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="/static/bootstrap/js/bootstrap.min.js"></script>
{#
{% if use_forms -%}
<script type="text/javascript" src="/static/jquery.form.js"></script>
{%- endif %}
#}
<script type="text/javascript" src="/static/ifcdb.js"></script>
<script type="text/javascript">
{% block script -%}{%- endblock %}
</script>
{%- endblock %}
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="/">IFCDB</a>
<ul class="nav">
<!--<li><i class="icon-home icon-white"></i> <a href="#">Home</a></li>-->
<li><a href="/"><i class="icon-home icon-white"></i> Home</a></li>
<li><a href="/fc/-/add"><i class="icon-plus icon-white"></i> Add</a></li>
{#
<li><a href="/account"><i class="icon-user icon-white"></i> Account</a></li>
<li><a href="/account/settings"><i class="icon-cog icon-white"></i> Settings</a></li>
#}
</ul>
<form class="navbar-search form-inline pull-right" method="get" action="/-/search">
<input class="search-query" type="text" name="q" placeholder="Search" />
<input type="submit" value="Search" />
</form>
</div>
<!--
<ul class="nav pull-right">
{% if account -%}
<li><span class="account-id">{{ account.id|e }}</span>{# /
<span class="profile-id">{{ profile.id|e }}</span>#}</li>
<li><a href="/a/{{ account.id|e }}/-/edit">Settings</a></li>
<li><a href="/a/{{ account.id|e }}">Account</a></li>
{%- endif %}
<li><a href="/help">Help</a></li>
{% if account -%}
<li class="last"><a href="{{ sign_out_url }}">Sign out</a></li>
{%- else -%}
<li><a href="/a/-/new">Sign up</a></li>
<li class="last"><a href="{{ sign_in_url }}">Sign in</a></li>
{%- endif %}
</ul>
-->
</div>
</div>
<div class="container">
<div class="row">
<div class="span2">
<!--Sidebar -->
<div class="sidebar">
<ul class="unstyled">
<li><a href="/"><i class="icon-home"></i> IFCDB</a></li>
<li><a href="/fc"><i class="icon-list"></i> Fortunes</a></li>
<li><a href="/fc/-/add"><i class="icon-plus"></i> Add</a></li>
<li><a href="/fc/-/upload"><i class="icon-plus"></i> Upload</a></li>
<li><a href="/tags"><i class="icon-tag"></i> Tags</a></li>
{#
<li><a href="/fc/-/feed/recent">Feed</a></li>
<li><a href="/fc/-/feed">More Feeds</a></li>
#}
</ul>
{#
<hr/>
<ul id="categories">
{% for cat in categories -%}
<li><a href="/cat/FIXME">{{ cat.label }}</a></li>
{%- endfor %}
</ul>
#}
{% block left_sidebar_ads -%}
<hr/>
<span class="well ads-120">120px ads</span>
{%- endblock %}
</div>
</div>
<div class="span8">
<!--Main -->
<div class="top-header">
<h1>IFCDB <small>Internet Fortune Cookie Database</small></h1>
<h3><strong>THE</strong> source for brief moments of amusement and enlightenment.</h3>
<hr/>
{% if notice -%}
<div class="notice">
{{ notice }}
</div>
<hr/>
{%- endif -%}
</div>
<div class="content">
{% block content %}{% endblock %}
</div>
</div>
<div class="span2">
<div class="well">
{% block right_sidebar_ads -%}
<span class="ads-160">160px ads</span>
{%- endblock %}
</div>
</div>
</div>
<div class="row">
<div class="span12 footer">
<hr/>
<span><a href="/about">About</a></span> |
<span><a href="/contact">Contact</a></span> |
<span><a href="/legal">Legal</a></span> |
<span><a href="/terms">Terms of Service</a></span> |
<span><a href="/privacy">Privacy Policy</a></span> |
<span><a href="/help">Help</a></span> |
<span><a href="/help/developers">API</a></span> |
<span><a href="http://ifcdb.blogspot.com/">Blog</a></span>
<br/>
<span>Copyright © 2011 Evotronics — <a href="http://dil.lehn.org/">David I. Lehn</a></span>
</div>
</div>
</div>
{% if live_mode -%}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-585566-17");
pageTracker._trackPageview();
} catch(err) {}</script>
{%- endif %}
</body>
</html>