-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathindex.html
More file actions
197 lines (193 loc) · 8.42 KB
/
index.html
File metadata and controls
197 lines (193 loc) · 8.42 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="description" content="PythonKC groups website. For all things Python in Kansas City." />
<meta name="keywords" content="python, kansas city" />
<meta name="viewport" content="initial-scale=1.0" />
<meta name="google-site-verification" content="nEMztdRw82tradHMd_FOb46_9pIdUvVf2hfKdTFmOmo" />
<title>PythonKC || For all things Python in Kansas City.</title>
<link rel="stylesheet" href="{{ STATIC_URL }}screen.css">
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<header role="banner"></header>
<a href="https://github.com/pythonkc/pythonkc.com"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png" alt="Fork me on GitHub"></a>
{% if request.GET.contact_sent == 'yes' %}
<span class="contact-sent">
Thanks for dropping us a note! We look forward to getting in touch
with you. In the meantime, consider joining our little group or
RSVP'ing for our next event to see what we're all about!
</span>
{% endif %}
<section class="next-meeting">
<div class="wrap">
<article>
<div class="details">
<header>
<time>
<h1>{{ next_event.time|date:"F j"|upper }}</h1>
<p>{{ next_event.time|date:"gA" }}</p>
</time>
</header>
<h2>{{ next_event.name|safe }}</h2>
{% if next_event.venue.id %}<address>{{ next_event.venue.name }}{% if next_event.venue.address_1 %} // {{ next_event.venue.address_1 }}{% if next_event.venue.address_2 %}, {{ next_event.venue.address_2 }}{% endif %}{% endif %} // {{ next_event.venue.city }}, {{ next_event.venue.state }} {{ next_event.venue.zip }}</address>{% else %}Venue TBD{% endif %}
{% if next_event.description %}<p class="description">{{ next_event.description|safe }}</p>{% endif %}
<p class="rsvp">RSVP at <a href="{{ next_event.event_url }}"><img src="{{ STATIC_URL }}meetup-logo.gif" alt="PythonKC Meetup RSVP for {{ next_event.name|safe }}"></a></p>
</div>
<div id="map_canvas" style="width:100%; height:100%"></div>
</article>
</div>
</section>
<section id="past-meetups">
<div class="wrap">
<h1>Join us on IRC!</h1>
<h3><a href="irc://chat.freenode.com:6667/pythonkc">#pythonkc on freenode</a></h3>
</div>
</section>
<section id="past-meetups">
<div class="wrap">
<h1>Past Events</h1>
<div class="slider-controls" id="slider-controls">
<a href="#" class="btn-previous btn-control disabled" id="prev"> <span class="prev-arrow"></span></a>
<a href="#" class="btn-next btn-control" id="next"><span class="next-arrow"></span></a>
</div>
<div id="evt-wrapper">
{% for event in past_events %}
<article class="past-event{% if not event.photos.0.url %} no-photo{% endif %}">
<div class="details">
<header>
<h1><time datetime>{{ event.time|date:"F j, Y" }}</time></h1>
</header>
<h2><a href="{{ event.event_url }}">{{ event.name|safe }}</a></h2>
{% if event.description %}
<p>{{ event.description|safe|truncatewords_html:25 }}</p>
{% endif %}
<a href="{{ event.event_url }}" class="read-more">Read more at the Meetup event page →</a>
<div class="attendees clearfix">
<h3>Attendees ({{event.attendees|length}})</h3>
{% for attendee in event.attendees %}
{% if attendee.photo.thumb_url %}
<div title="{{ attendee.name }}" style="background-image: url( {{ attendee.photo.thumb_url }} );" class="attendee"></div>
{% endif %}
{% endfor %}
</div>
</div>
{% if event.photos.0.url %}
<img class="event-photo" src="{{ event.photos.0.url }}" />
{% endif %}
</article>
{% endfor %}
</div>
</div>
</section>
<section class="resources clearfix">
<div class="wrap">
<h1>Resources</h1>
<article>
<h1>Books</h1>
<ul class="resources">
<li><a href="http://www.diveintopython.net/"> Dive Into Python <span class="author">Mark Pilgrim</span></a></li>
<li><a href="http://learnpythonthehardway.org/">Learn Python The Hard Way <span class="author">Zed A. Shaw</span></a></li>
<li><a href="http://www.swaroopch.com/notes/Python">A Byte of Python <span class="author">Swaroop C H</span></a></li>
<li><a href="http://greenteapress.com/thinkpython/thinkpython.html">Think Python <span class="author">Allen B. Downey</span></a></li>
</ul>
</article>
<article>
<h1>Websites</h1>
<ul class="resources">
<li><a href="http://python.org/">Official Python Site</a></li>
<li><a href="http://docs.python.org">Python Docs</a></li>
<li><a href="http://codingbat.com/python">Coding exercises</a></li>
<li><a href="https://github.com/gregmalcolm/python_koans">Coding koans</a></li>
<li><a href="http://www.pythonchallenge.com/">The Python Challenge</a></li>
</ul>
</article>
<article>
<h1>Community</h1>
<ul class="resources">
<li><a href="http://www.python.org/community/">Python Community</a></li>
<li><a href="http://reddit.com/r/python/">Python on Reddit</a></li>
</ul>
</article>
</div>
</section>
<footer>
<a class="top">Back to the top</a>
<div class="wrap">
<section>
<article>
<h1>POWERED BY</h1>
<ul>
<li><a href="http://www.python.org/">Python</a></li>
<li><a href="http://djangoproject.com/">Django</a></li>
<li><a href="https://gondor.io/">Gondor</a></li>
</ul>
</article>
<article>
<h1>FOLLOW US</h1>
<ul class="follow">
<li><a href="http://groups.google.com/group/pythonkc/">Google Group</a></li>
<li><a href="http://www.linkedin.com/groups/PythonKC/">LinkedIN</a></li>
<li><a href="http://www.meetup.com/pythonkc/">Meetup</a></li>
<li><a href="http://twitter.com/pythonkc/">Twitter</a></li>
</ul>
</article>
</section>
<section>
<div id="contact-form">
<form action="" method="post"
enctype="application/x-www-form-urlencoded"
class="contact-form">
{% csrf_token %}
<span class="name-container">
{{ form.first_name }}
{{ form.first_name.errors }}
</span>
<span class="name-container">
{{ form.last_name }}
{{ form.last_name.errors }}
</span>
<span class="email-container">
{{ form.email }}
{{ form.email.errors }}
</span>
<span class="message-container">
{{ form.message }}
{{ form.message.errors }}
</span>
<div>
<input type="submit" value="SUBMIT" class="contact-submit" />
</div>
</form>
</div>
</section>
<section>
<div class="copyright">
</div>
</section>
</div>
</footer>
</div>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="{{ STATIC_URL }}pykc.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(function(){
pykc.init( {{ next_event.venue.lat|default:past_events.0.venue.lat|default:-34.397 }}, {{ next_event.venue.lon|default:past_events.0.venue.lon|default:150.644 }});
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25628613-1']);
_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>
</body>
</html>