forked from ptarjan/fb-hackathon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
116 lines (107 loc) · 2.29 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>
Facebook Camp Hackathon
</title>
<link rel="stylesheet" href="/static/dynamic.12380.css" type="text/css" />
<link rel="stylesheet" href="/static/power.12380.css" type="text/css" />
<meta property="fb:admins" content="218471" />
<meta property="og:image" content="http://fb-hackathon.appspot.com/static/logo.jpg" />
<style>
h1 {
text-indent: 0;
color: white;
}
.wufoo table {
margin-bottom: 20px;
width: 100%;
}
.wufoo table td {
padding: 10px;
}
img.icon {
height: 12px;
}
form li span {
float: none;
}
.date {
display: inline-block;
width: 90px;
}
#logo {
height: 150px;
}
.like_button {
margin-top: 50px;
float: right;
}
#footer {
text-align: center;
}
</style>
</head>
<!-- commented out for app tabs
<body>
-->
<div id="container">
<form class="wufoo">
<div class="info">
<a href="http://www.facebook.com/camphackathon">
<img id="logo" src="static/logo.jpg" alt="Facebook Camp Hackathon Logo" />
</a>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<div class="like_button">
<fb:like href="http://www.facebook.com/camphackathon" show_faces="true" width="650"></fb:like>
</div>
</div>
<table>
<thead>
<tr>
<th>Date</th>
<th>School</th>
<th>Event</th>
<th>Submit</th>
</tr>
</thead>
{% for event in events %}
<tr>
<td class="date">
{{ event.start_time|date:"M j Y" }}
</td>
<td>
<a href="{{ event.id }}">{{ event.name }}</a>
</td>
<td>
<a href="{{ event.id }}/event">
<img class="icon" src="http://fb-hackathon.appspot.com/images/favicon.png" />
</a>
</td>
<td>
<a href="{{ event.id }}/submit">Submit Hack</a>
</td>
</tr>
{% endfor %}
</table>
<div id="footer">
This tool is <a href="https://github.com/ptarjan/fb-hackathon">Open Source</a>.
Fix it for your hackathon project.
</div>
</div>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="static/jquery.dataTables.min.js"></script>
<link rel="stylesheet" href="static/jquery.dataTables.css" />
<script>
$(function() {
$('table').dataTable({
"bAutoWidth": false,
"bFilter": false,
"bInfo": false,
"bLengthChange": true,
"bPaginate": false,
"bSort": false,
"aaSorting": [[ 4, "desc" ]],
});
});
</script>