This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
/
layout.html
210 lines (175 loc) · 7.31 KB
/
layout.html
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="it"{% block html_fixtures %}{% endblock %}>
<head>
<meta charset="utf-8"/>
<title>Openpolis{% block title %}{% endblock %}</title>
<meta name="description" content="Sito dell'Associazione Openpolis"/>
<meta name="author" content="Associazione Openpolis"/>
<meta name="google-site-verification" content="pUD79-TXeNtrU29AiD3HTRt4bntUyBBrGtA5prUo2oM" />
<!-- Pinterest domain verification -->
<meta name="p:domain_verify" content="99ed366efb8040ead8085dd2fe8f08a8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<!-- Le 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]-->
<!-- Le styles -->
{% block css_styles %}
<link href="/static/css/bootstrap.min.css" rel="stylesheet"/>
<link href="/static/css/bootstrap-responsive.min.css" rel="stylesheet"/>
<link href="/static/css/styles.css" rel="stylesheet"/>
<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
{% endblock %}
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="/static/favicon.ico"/>
<!--
<link rel="apple-touch-icon" href="/static/images/apple-touch-icon.png"/>
<link rel="apple-touch-icon" sizes="72x72" href="/static/images/apple-touch-icon-72x72.png"/>
<link rel="apple-touch-icon" sizes="114x114" href="/static/images/apple-touch-icon-114x114.png"/>
-->
{% block social_tags %}
{% endblock %}
</head>
<body>
<header style="padding: 5px 110px">
<div class="row">
<h1 class="span12">
<a href="/"><img src="/static/img/logo.png" alt="Titolo" id="logo"></a>
</h1>
</div>
</header>
<nav class="navbar navbar-static">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<div class="nav-collapse offset1">
{% block nav %}
{% include "nav.html"%}
{% endblock nav %}
</div><!--/.nav-collapse -->
</div>
</div>
</nav>
{% block payoff %}{% endblock %}
{% block alerts %}
{% if subscription_form %}
<div class="container">
<div class="row">
<div class="span12">
{% if not subscription_form.is_valid %}
<div{% if message.tags %} class="alert subscription_alert alert-{{ message.tags }}"{%else %} class="subscription_alert alert"{% endif %}>
<strong>Attenzione!</strong>
Ci sono errori nel form, controlla i valori inseriti <a href="#subscription_form">nel form</a>
</div>
{% else %}
<div class="alert subscription_alert alert-success">
Iscrizione avvenuta correttamente.
</div>
{% endif %}
</div></div></div>
{% else %}
{% if messages %}
<div class="container">
{% for message in messages %}
{% if 'email' not in message.tags %}
<div class="row" style="margin-top: 1em">
<div{% if message.tags %} class="alert alert-{{ message.tags }}"{%else %} class="alert"{% endif %}>
<strong>Attenzione!</strong>
{{ message }}
</div>
</div>
{% endif %}
{% endfor %}
</div>
{% endif %}
{% endif %}
{% endblock %}
{% block article %}
{% block header_image %}
{% endblock %}
<!-- Main Content -->
<article id="main" class="container">
{% block article_head %}{% endblock %}
<div class="row">
<div class="span8">{% block content %}{% endblock %}</div>
<div class="span4">{% block sidebar %}{% endblock %}</div>
</div>
</article>
<!-- /Main Content -->
{% endblock %}
{% block extra_content %}{% endblock %}
<div id="fb-root"></div>
{% block fblike %}
<section id="fblike" class="container-fluid">
<div class="container">
<div class="row">
<div class="span8">
<div class="fb-like" data-send="false" data-width="450" data-show-faces="false" data-font="arial"></div>
</div>
</div>
</div>
</section>
{% endblock %}
{% block buzz %}{% endblock %}
{% block footer %}
{% include "footer.html"%}
<a href="https://plus.google.com/109143685236616102347" rel="publisher" style="display:none">Google+</a>
{% endblock footer %}
{% block js_footer %}
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/static/js/jquery-1.7.1.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
{% block js_custom %}
{% endblock %}
{% comment %}
<!-- 5xmille -->
<script src="https://s3.eu-central-1.amazonaws.com/op-5xmille/5xmille.js"></script>
<script type="text/javascript">
jQuery(document).on('click','.close_box',function(){
jQuery(this).parent().fadeTo(300,0,function(){
jQuery(this).remove();
});
});
</script>
<!-- end5xmille -->
{% endcomment %}
<script type="text/javascript">
jQuery('.email-nascosta').each(function(){ jQuery(this).text(jQuery(this).text().replace('[chioccia]', '@').replace('[punto]','.')); });
</script>
<script src="/static/js/cookiechoices.js"></script>
<script>
/*
document.addEventListener('DOMContentLoaded', function(event) {
cookieChoices.showCookieConsentBar('Questo sito utilizza i cookies',
'Chiudi', 'Leggi di più', 'http://www.openpolis.it/cookiepolicy');
});
*/
</script>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-980632-14']);
_gaq.push(['_setDomainName', 'openpolis.it']);
_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>
{% endblock %}
</body>
</html>