forked from Hackalist/Hackalist.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
162 lines (155 loc) · 8.07 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
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
<!DOCTYPE html>
<html lang="en" ng-app="hackalist">
<head>
<title>Hackalist - List of Upcoming Hackathons</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A list of upcoming hackathons worldwide.">
<meta name="keywords" content="hackathon, hackathons, list, directory">
<!-- Start Google Javascript -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51284668-3', 'auto');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</script>
<link rel="shortcut icon" href="images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/skeleton.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body ng-controller="hackathonEvents">
<div class="container" style="padding:20px;" >
<div class="row">
<div class="twelve columns">
<br> <a href="https://www.hackalist.org"><img src="images/logo.png" alt="Hackalist" class="img-center"> </a><br>
</div>
</div>
<br>
<div class="row">
<div class="twelve columns">
<p style="text-align:center;">
A list of upcoming hackathons from around the world.
<br><br>
<a class="button" href="https://github.com/Hackalist/Hackalist.github.io">Contribute on GitHub</a>
<div id="githubButtons">
<iframe src="https://ghbtns.com/github-btn.html?user=Hackalist&repo=Hackalist.github.io&type=star&count=true&size=large" frameborder="0" scrolling="0" width="130px" height="30px"></iframe>
<iframe src="https://ghbtns.com/github-btn.html?user=Hackalist&repo=Hackalist.github.io&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="130px" height="30px"></iframe>
<iframe src="https://ghbtns.com/github-btn.html?user=Hackalist&repo=Hackalist.github.io&type=watch&count=true&size=large&v=2" frameborder="0" scrolling="0" width="130px" height="30px"></iframe>
</div>
<div id="toggleNav" style="text-align:center;" ng-init="travelReimbursements = false; prizes = false; highSchoolers = false">
<h2>Show only hackathons that...</h2>
Offer Travel Reimbursements
<div class="onoffswitch" style="left:45%; text-align:center;">
<input id="cbTravelToggle" type="checkbox" class="onoffswitch-checkbox" ng-click="travelReimbursements = !travelReimbursements" /><label for="cbTravelToggle" class="onoffswitch-label" ><span class="onoffswitch-inner"></span><span class="onoffswitch-switch"></span></label>
</div>
<br>Have Prizes
<div class="onoffswitch" style="left:45%; text-align:center;">
<input id="cbPrizeToggle" type="checkbox" class="onoffswitch-checkbox" ng-click="prizes = !prizes" /><label for="cbPrizeToggle" class="onoffswitch-label" ><span class="onoffswitch-inner"></span><span class="onoffswitch-switch"></span></label>
</div>
<br>Accept High Schoolers
<div class="onoffswitch" style="left:45%; text-align:center;">
<input id="cbHighSchoolersToggle" type="checkbox" class="onoffswitch-checkbox" ng-click="highSchoolers = !highSchoolers" /><label for="cbHighSchoolersToggle" class="onoffswitch-label" ><span class="onoffswitch-inner"></span><span class="onoffswitch-switch"></span></label>
</div>
<br>Are Free
<div class="onoffswitch" style="left:45%; text-align:center;">
<input id="cbCostToggle" type="checkbox" class="onoffswitch-checkbox" ng-click="cost = !cost" /><label for="cbCostToggle" class="onoffswitch-label" ><span class="onoffswitch-inner"></span><span class="onoffswitch-switch"></span></label>
</div>
</div>
<br>
<div id="monthNav" style="text-align:center;">
<h2>Month Navigation</h2>
<div class="row" style="margin-bottom: 1%; margin-left:1%; margin-right: 1%; text-align: center;" ng-repeat="hacks in chunkedHackathons">
<div class="offset-by-one three columns" ng-repeat="month in hacks">
<a style="width: 100%; margin:auto;"class="button" ng-href="#{{month.month}}">{{month.month}}</a>
</div>
</div>
</div>
<hr>
</hr>
</p>
</div>
</div>
</div>
<div class="container" style="padding:20px;">
<div ng-repeat="month in hackathons">
<a name="{{month.month}}"></a>
<h1>{{month.month}}</h1>
<div ng-repeat="hackathon in month.hacks | filter:applicable">
<a ng-href="{{hackathon.url}}" target="_blank">
<h2>{{hackathon.title}}</h2>
</a>
<a ng-href="{{hackathon.facebookURL}}" style="margin-right: 5px;" ng-if="hackathon.facebookURL != ''">
<img src="images/facebook.png" alt="Facebook profile" width="24px" ng-if="hackathon.facebookURL != ''">
</a>
<a ng-href="{{hackathon.twitterURL}}" style="margin-right: 5px;" ng-if="hackathon.facebookURL != ''">
<img src="images/twitter.png" alt="Twitter profile" width="24px" ng-if="hackathon.twitterURL != ''">
</a>
<a ng-href="{{hackathon.googlePlusURL}}" style="margin-right: 5px;" ng-if="hackathon.facebookURL != ''">
<img src="images/googleplus.png" alt="Google+ profile" width="24px" ng-if="hackathon.googlePlusURL != ''">
</a>
<p class="info-line">
{{hackathon.startDate}} - {{hackathon.endDate}} in {{hackathon.city}}
</p>
<p class="info-line-sm">
Hosted by {{hackathon.host}} for {{hackathon.length}} hours
</p>
<p class="info-line-sm" ng-if="hackathon.size == 'unknown'">
Capacity: Unknown
</p>
<p class="info-line-sm" ng-if="hackathon.size != 'unknown'">
Capacity: {{hackathon.size}}
</p>
<p class="info-line-sm" ng-if="hackathon.cost == 'free'">
Cost: Free
</p>
<p class="info-line-sm" ng-if="hackathon.cost != 'free'">
Cost: {{hackathon.cost}}
</p>
<p class="info-line-sm" ng-if="hackathon.notes != ''">
Note: {{hackathon.notes}}
</p>
<div class="travel-reimbursement">
<img src="images/status-yes.png" alt="Travel reimbursement offered!" width="20" ng-if="hackathon.travel == 'yes'">
<img src="images/status-no.png" alt="Travel reimbursement not offered" width="20" ng-if="hackathon.travel == 'no'">
<img src="images/status-question.png" alt="Unknown" width="20" ng-if="hackathon.travel == 'unknown'">
<p class="info-line">
Travel Reimbursement
</p>
</div>
<div class="prizes">
<img src="images/status-yes.png" alt="Prizes offered!" width="20" ng-if="hackathon.prize == 'yes'">
<img src="images/status-no.png" alt="Prizes not offered" width="20" ng-if="hackathon.prize == 'no'">
<img src="images/status-question.png" alt="Unknown" width="20" ng-if="hackathon.prize == 'unknown'">
<p class="info-line">
Prizes
</p>
</div>
<div class="high-schoolers">
<img src="images/status-yes.png" alt="High schoolers accepted!" width="20" ng-if="hackathon.highSchoolers == 'yes'">
<img src="images/status-no.png" alt="High schoolers not accepted" width="20" ng-if="hackathon.highSchoolers == 'no'">
<img src="images/status-question.png" alt="Unknown" width="20" ng-if="hackathon.highSchoolers == 'unknown'">
<p class="info-line">
High Schoolers
</p>
</div>
<br>
</div>
</div>
</div>
<div style="text-align:center;">
<br><br>
Site initiated by <a href="http://www.kevinpayravi.com/">Kevin Payravi</a>
<br>
<a href="https://github.com/Hackalist/Hackalist.github.io/graphs/contributors">Full Contributor List</a>
<br>
<a href="https://github.com/Hackalist/Hackalist.github.io">GitHub Repo</a> | Licensed under <a href="https://github.com/Hackalist/Hackalist.github.io/blob/master/LICENSE">MIT License</a>
<br>
Built using <a href="http://getskeleton.com/">Skeleton</a>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
<script src="js/app.js"></script>
</html>