blob: 1d47b0d641c2c058a50c6603c33166c80205c4e5 (
plain)
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
|
<%inherit file="base.mako" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
${self.head()}
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="description" content="Hackerspace located in central Paris." />
<meta name="keywords" content="hackerspace, diy, hackers, workshops, conferences" />
<link rel="space-api" href="http://spaceapi.leloop.org/status.json" />
</head>
<body>
<div id="content" class="content">
${self.header()}
<div id="main_block">
<div id="prose_block">
${next.body()}
</div><!-- End Prose Block -->
</div><!-- End Main Block -->
<div class="push"></div>
</div> <!-- End Content -->
<div id="footer" class="footer">
${self.footer()}
</div> <!-- End Footer -->
<script type="text/javascript">
window.onload = function(){
var i, rm, rh,
read_mores = document.getElementsByClassName("post_more"),
read_hides = document.getElementsByClassName("post_hide"),
read_sum = document.getElementsByClassName("post_sum"),
read_all = document.getElementsByClassName("post_all");
for(i=0;i<read_mores.length;i++){
rh = read_hides[i],
rm = read_mores[i];
rm.href = "javascript:void(0);";
rm.data = rh.data = {};
rm.data.related_s = rh.data.related_s = read_sum[i];
rm.data.related_a = rh.data.related_a = read_all[i];
rm.onclick = rh.onclick = function(){
var sum = this.data.related_s,
all = this.data.related_a;
sum.className = (sum.className.indexOf("post_shown")!==-1) ? "post_hidden" : "post_shown";
sum.className += " post_sum";
all.className = (all.className.indexOf("post_shown")!==-1) ? "post_hidden" : "post_shown";
all.className += " post_all";
};
}
};
</script>
</body>
</html>
<%def name="head()">
<%include file="head.mako" />
</%def>
<%def name="header()">
<%include file="header.mako" />
</%def>
<%def name="footer()">
<%include file="footer.mako" />
</%def>
|