Skip to content

Commit 17ed6cd

Browse files
author
Faris Chebib
committed
Merge branch 'sprint'
2015 PyCon update for the website
2 parents bf73bb8 + 8b730a8 commit 17ed6cd

23 files changed

+620
-71
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# vim swap files
22
.*sw*
3+
# sublime
4+
*.sublime-*
5+
_site
6+
static/bower_components
37

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 utahpython
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Utah Python User Group website
2+
3+
## Local development
4+
5+
0. Requirements: Pretty simple. You’ll need to install
6+
[`jekyll`](http://jekyllrb.com/) and [`bower`](http://bower.io).
7+
1. Install the bower components: `cd static/ && bower install`
8+
2. Start the local server: `jekyll serve`
9+
10+
## Resources
11+
12+
For more information:
13+
14+
* Visit our website: [http://utahpython.org/](http://utahpython.org/)
15+
* Join our mailing list: [https://groups.google.com/forum/#!forum/utahpython](http://utahpython.org/)
16+
* Or join us via IRC on Freenode in `#utahpython`.
17+
18+
To help edit our site, join our Github Organization:
19+
20+
https://github.com/organizations/utahpython

README.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

_includes/groups.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<div class='btn-group'>
2+
<a class="btn btn-success" href="#" role="button">
3+
Join SLC’s Meetup Group
4+
</a>
5+
<a href="#" class="btn btn-info">
6+
Join Draper’s Meetup Group
7+
</a>
8+
<a href="#" class="btn btn-warning">
9+
Join Utah Python North
10+
</a>
11+
</div>

_includes/jumbotron.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div class="jumbotron">
2+
<h1>Utah Python</h1>
3+
<p class="lead">
4+
The Utah Python Meetup Group is a consortium of python meetup groups around Utah.
5+
</p>
6+
<p>
7+
<a ui-sref="upcoming" class="btn btn-lg btn-success">Join Us</a>
8+
</p>
9+
</div>

_includes/meetuptmpl.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{% raw %}
2+
<div ng-controller="MeetupCtrl as meetup">
3+
<ul class='list-unstyled'>
4+
<li ng-repeat="event in meetup.events
5+
|filter:{announced:true}
6+
|orderBy:event.time">
7+
<h2>
8+
{{ event.time+event.utc_offset|date:"MMMM d, h:mma":"UTC" }}
9+
</h2>
10+
<h3>
11+
<a ng-href='{{ event.event_url }}'>{{ event.name }}</a>
12+
<a ng-href='{{ event.gmap_url }}'>
13+
<span class="glyphicon glyphicon-map-marker"></span>
14+
</a>
15+
</h3>
16+
<div ng-bind-html="event.description">
17+
</div>
18+
<div>
19+
<a class="btn btn-lg btn-success"
20+
ng-href="{{ event.event_url }}">
21+
<small>{{ event.yes_rsvp_count }} Pythonistas</small><br/>
22+
<b>Join us!</b>
23+
</a>
24+
</div>
25+
<!--<div>
26+
{{ event|json }}
27+
</div>-->
28+
</li>
29+
</ul>
30+
</div>
31+
{% endraw %}
32+
<script type="text/javascript">
33+
var meetup_signed_url = "{{ include.meetup_signed_url }}";
34+
</script>

_includes/pyladies.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<div class="col-lg-6">
2+
<h4>Subheading</h4>
3+
<p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
4+
5+
<h4>Subheading</h4>
6+
<p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
7+
8+
<h4>Subheading</h4>
9+
<p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
10+
</div>
11+
12+
<div class="col-lg-6">
13+
<h4>Subheading</h4>
14+
<p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
15+
16+
<h4>Subheading</h4>
17+
<p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
18+
19+
<h4>Subheading</h4>
20+
<p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
21+
</div>

_includes/topnav.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<nav>
2+
<ul class="nav nav-pills pull-right">
3+
<li role="presentation"
4+
{% if page.home-nav %}
5+
class="active"
6+
{% endif %}
7+
>
8+
<a ui-sref="home">
9+
<span class="glyphicon glyphicon-home"></span>
10+
</a>
11+
</li>
12+
<li role="presentation"
13+
{% if page.about-nav %}
14+
class="active"
15+
{% endif %}
16+
>
17+
<a ui-sref="about">
18+
About
19+
</a>
20+
</li>
21+
<li role="presentation"
22+
{% if page.upcoming-nav %}
23+
class="active"
24+
{% endif %}
25+
>
26+
<a ui-sref="locations">
27+
Locations
28+
</a>
29+
</li>
30+
<li role="presentation"
31+
{% if page.present-nav %}
32+
class="active"
33+
{% endif %}
34+
>
35+
<a ui-sref="past_present">Past Presentations</a>
36+
</li>
37+
</ul>
38+
</nav>

_layouts/base.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!DOCTYPE html>
2+
<html lang="en" ng-app="utahPython">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<title>{{ page.title }} — Utah Python</title>
8+
<link rel="stylesheet" href="/static/bower_components/bootstrap/dist/css/bootstrap.css">
9+
<link rel="stylesheet" href="/static/css/main.css">
10+
<script type="text/javascript">
11+
var _gaq = _gaq || [];
12+
_gaq.push(['_setAccount', 'UA-24309091-1']);
13+
_gaq.push(['_trackPageview']);
14+
15+
(function() {
16+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
17+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
18+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
19+
})();
20+
</script>
21+
22+
<script type="text/javascript"
23+
src="/static/bower_components/angular/angular.js"></script>
24+
<script type="text/javascript"
25+
src="/static/bower_components/angular-ui-router/release/angular-ui-router.js"></script>
26+
<script type="text/javascript"
27+
src="/static/bower_components/angular-sanitize/angular-sanitize.js"></script>
28+
</head>
29+
<body>
30+
31+
{{ content }}
32+
33+
<script type="text/javascript" src="/static/js/controller.js"></script>
34+
</body>
35+
</html>

0 commit comments

Comments
 (0)