Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Committing version one's templates. Hardest decision ever, but hopefu…

…lly the README makes things clear.
  • Loading branch information...
commit 44a8d8b57a17da937aac71b41323e1236847c068 1 parent 54d1cb3
@bryanveloso bryanveloso authored
Showing with 657 additions and 0 deletions.
  1. +19 −0 templates/404.html
  2. +16 −0 templates/500.html
  3. +62 −0 templates/base.html
  4. +9 −0 templates/base_blog.html
  5. +16 −0 templates/blog/entry_archive.html
  6. +16 −0 templates/blog/entry_archive_day.html
  7. +16 −0 templates/blog/entry_archive_month.html
  8. +16 −0 templates/blog/entry_archive_year.html
  9. +28 −0 templates/blog/entry_detail.html
  10. +12 −0 templates/blog/entry_list_item.html
  11. +47 −0 templates/contact_form/contact_form.html
  12. +3 −0  templates/contact_form/contact_form.txt
  13. +31 −0 templates/contact_form/contact_form_sent.html
  14. +1 −0  templates/contact_form/contact_form_subject.txt
  15. +5 −0 templates/feeds/commits_description.html
  16. +1 −0  templates/feeds/commits_title.html
  17. +9 −0 templates/feeds/latest-entries_description.html
  18. +1 −0  templates/feeds/latest-entries_title.html
  19. +5 −0 templates/feeds/projects_description.html
  20. +1 −0  templates/feeds/projects_title.html
  21. +57 −0 templates/home.html
  22. +35 −0 templates/projects/codecommit_list.html
  23. +47 −0 templates/projects/coderepository_list.html
  24. +51 −0 templates/projects/developer_detail.html
  25. +32 −0 templates/projects/developer_list.html
  26. +19 −0 templates/projects/paginator.html
  27. +72 −0 templates/projects/project_detail.html
  28. +30 −0 templates/projects/project_list.html
View
19 templates/404.html
@@ -0,0 +1,19 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} • (404){% endblock %}
+{% block body-class %}error{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>Going Somewhere?</h2>
+</div>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_8">
+ <h3>Looking for something that isn't here?</h3>
+ <p>Well, apparently you've either mistyped something. Or you've followed a link that no longer exists. <em>Or did it ever?</em> I guess we'll never know will we? Well, here's what you can do.</p>
+ <ul>
+ <li>Go back <a href="/">home</a>.</li>
+ <li>Or you can <a href="javascript:history.back();">go back</a> to where you came from.</li>
+ </ul>
+</div>
+{% endblock %}
View
16 templates/500.html
@@ -0,0 +1,16 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} &bull; (500){% endblock %}
+{% block body-class %}error{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>You broke something. o_O;</h2>
+</div>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_8">
+ <h3>Looks like you killed the server. Great job!</h3>
+ <p>Great. You've just made my job that much harder. Or you can just think that I screwed up and save yourself the trouble. Well, either way, I'm either sleeping or on it. So rest assured that I'll have it back as soon as inhumanly possible!</p>
+ <p>I'd give you other stuff to do, but there's actually nothing you CAN do if you found this message.</p>
+</div>
+{% endblock %}
View
62 templates/base.html
@@ -0,0 +1,62 @@
+{% autoescape off %}
+
+<!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" xml:lang="en" lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <title>{% block title %}Django Pluggables{% endblock %}</title>
+
+ <!-- All your... umm... CSS... bah.. x_x; -->
+ <link rel="stylesheet" href="{{ MEDIA_URL }}/stylesheets/basics.css" type="text/css" media="screen" charset="utf-8" />
+ <link rel="stylesheet" href="{{ MEDIA_URL }}/stylesheets/network.css" type="text/css" media="screen" charset="utf-8" />
+ <link rel="stylesheet" href="{{ MEDIA_URL }}/stylesheets/master.css" type="text/css" media="screen" charset="utf-8" />
+
+ <!-- Javascript for great justice. -->
+ <script src="http://analytics.djangoplugables.com/?js" type="text/javascript"></script>
+ {% block javascript %}{% endblock %}
+
+ <!-- Just like this. I'll get your feed to you, just like that. -->
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/djangoplugables" />
+
+ <!-- Google seems to be watching me... -->
+ <meta name="verify-v1" content="ydOjJ/qEU6loEcPKlWM51nUhtjaM+mJC0k33Xq0WWiw=" />
+</head>
+
+<body class="{% block body-class %}{% endblock %}"{% block extra-body %}{% endblock %}>
+ <div id="network-nav">
+ <h1><a href="http://network.sidebarcreative.com/">Sidebar Network</a></h1>
+ <ul>
+ <li><a href="http://sidebarcreative.com/">Sidebar Creative</a></li>
+ <li><a href="http://mymilemarker.com/">My Mile Marker</a></li>
+ <li><a href="http://getsnitter.com/">Snitter</a></li>
+ <li><a href="http://overheard.it/">Overheard.it</a></li>
+ <li id="network-current"><a href="http://djangoplugables.com/">Django Plugables</a></li>
+ </ul>
+ </div><!-- end #network-nav -->
+ <div id="header" class="container_16 clearfix">
+ <h1 class="grid_10"><a href="/">Django Pluggables</a></h1>
+ <ul class="grid_6">
+ <li class="grid_2 alpha{% block projects-selected %}{% endblock %}"><a href="{% url project-list %}">Projects</a></li>
+ <li class="grid_2{% block developers-selected %}{% endblock %}"><a href="{% url developer-list %}">Developers</a></li>
+ <li class="grid_2 omega{% block repositories-selected %}{% endblock %}"><a href="{% url repository-list %}">EzayRepo</a></li>
+ </ul>
+ </div>
+ <div id="masthead" class="container_16 clearfix">
+ {% filter typogrify %}{% block masthead %}{% endblock %}{% endfilter %}
+ </div>
+ <div id="content" class="container_16 clearfix">
+ <div id="content2" class="clearfix">
+ {% filter typogrify %}
+ {% block content %}{% endblock %}
+ {% block sidebar %}{% endblock %}
+ {% endfilter %}
+ </div>
+ </div>
+ <div id="footer" class="container_16 clearfix">
+ <p class="grid_16">Django Pluggables. From <a href="http://revyver.com">Revyver</a>, with love. &copy;{% now "Y" %} All rights reserved. <a href="http://djangoproject.com/">Django</a> is a registered trademark of the <a href="http://www2.ljworld.com/">Lawrence Journal-World</a>.</p>
+ </div>
+</body>
+
+{% endautoescape %}
View
9 templates/base_blog.html
@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }}: The Project Blog{% endblock %}
+{% block body-class %}blog{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>The Django Plugables Project Blog</h2>
+</div>
+{% endblock %}
View
16 templates/blog/entry_archive.html
@@ -0,0 +1,16 @@
+{% extends "base_blog.html" %}
+
+{% block title %}{{ block.super }} &bull; Entry Archive{% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ {% for entry in entry %}
+ {% include "blog/entry_list_item.html" %}
+ {% endfor %}
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <h3>Feeling Nosy?</h3>
+ <p>If you need to be in the know about what's going on here at the Django Plugables project, this is your first and last stop.</p>
+</div>
+{% endblock %}
View
16 templates/blog/entry_archive_day.html
@@ -0,0 +1,16 @@
+{% extends "base_blog.html" %}
+
+{% block title %}{{ block.super }} &bull; Entry Archive (by day){% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ {% for entry in entry %}
+ {% include "blog/entry_list_item.html" %}
+ {% endfor %}
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <h3>Feeling Nosy?</h3>
+ <p>If you need to be in the know about what's going on here at the Django Plugables project, this is your first and last stop.</p>
+</div>
+{% endblock %}
View
16 templates/blog/entry_archive_month.html
@@ -0,0 +1,16 @@
+{% extends "base_blog.html" %}
+
+{% block title %}{{ block.super }} &bull; Entry Archive (by month){% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ {% for entry in entry %}
+ {% include "blog/entry_list_item.html" %}
+ {% endfor %}
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <h3>Feeling Nosy?</h3>
+ <p>If you need to be in the know about what's going on here at the Django Plugables project, this is your first and last stop.</p>
+</div>
+{% endblock %}
View
16 templates/blog/entry_archive_year.html
@@ -0,0 +1,16 @@
+{% extends "base_blog.html" %}
+
+{% block title %}{{ block.super }} &bull; Entry Archive (by year){% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ {% for entry in entry_list %}
+ {% include "blog/entry_list_item.html" %}
+ {% endfor %}
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <h3>Feeling Nosy?</h3>
+ <p>If you need to be in the know about what's going on here at the Django Plugables project, this is your first and last stop.</p>
+</div>
+{% endblock %}
View
28 templates/blog/entry_detail.html
@@ -0,0 +1,28 @@
+{% extends "base_blog.html" %}
+
+{% block title %}{{ block.super }} &bull; {{ entry.title }}{% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ <div class="entry grid_9 alpha">
+ <div class="entry-body">
+ {{ entry.body_processed }}
+ </div>
+ {% if entry.footnotes %}
+ <div class="entry-footnotes">
+ {{ entry.footnotes_processed }}
+ </div>
+ {% endif %}
+ </div>
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <div class="entry-meta">
+ <h3>{{ entry.title|typogrify }}</h3>
+ <abbr class="published" title="{{ entry.published|date:"Y-m-d\TH:i:sO" }}">Written on {{ entry.published|date:"F jS, Y" }} at {{ entry.published|time:"g:iA" }}</abbr>
+ </div>
+ <div class="entry-summary">
+ {{ entry.summary_processed }}
+ </div>
+</div>
+{% endblock %}
View
12 templates/blog/entry_list_item.html
@@ -0,0 +1,12 @@
+<div class="single-result {% if forloop.first %}first{% endif %} grid_9 alpha">
+ <div class="meta">
+ <a href="{{ entry.get_absolute_url }}"><h3>{{ entry.title }}</h3></a>
+ <abbr class="published" title="{{ entry.published|date:"Y-m-d\TH:i:sO" }}">Posted {{ entry.published|date:"F jS, Y" }} at {{ entry.published|time:"g:iA" }}</abbr>
+ {# <span class="commentcount">{% if entry.get_approved_comment_count %}{{ entry.get_approved_comment_count }} Comments{% else %}No Comments{% endif %}</span> #}
+ </div>
+ <div class="entry">
+ <div class="entry-summary">{{ entry.summary_processed }}</div>
+ {{ entry.body_processed|truncatewords_html:"100" }}
+ <p class="more"><a href="{{ entry.get_absolute_url }}">We're not done yet! Keep reading! &rarr;</a></p>
+ </div>
+</div>
View
47 templates/contact_form/contact_form.html
@@ -0,0 +1,47 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} &bull; The Obligatory About Page{% endblock %}
+{% block body-class %}about{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>The Obligatory About Page</h2>
+</div>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ <div class="grid_9 alpha">
+ <div class="paragraph">
+ <h3>The Backstory.</h3>
+ <p>You know when you get those ideas that are fueled by the hatred towards and incompetence of something else? Well, that's how this place was born. Django Plugables is simply a place that aims to bring all of the pluggable applications under one roof. There are so many gems and little-known projects in the world of the pluggable app and this site strives to make them as well known as the essentials. <strong>We want to make it easy for you to create.</strong></p>
+ <p>This site was created, with love, by the duo at <a href="http://revyver.com">Revyver</a>, <a href="http://avalonstar.com">Bryan</a> and <a href="http://sayonarane.net">Jen</a>. Bryan did the 80% of the work that made 20% of the difference. Jen did the 20% of the work that made 80% of the difference. :)</p>
+ </div>
+
+ <div class="paragraph">
+ <h3>Colophon.</h3>
+ <p>This <a href="http://djangoproject.com">Django joint</a> is essentially a heavily modified and lovingly styled version of the SCM (source control management) element of <a href="/developers/jacob-kaplan-moss/">Jacob Kaplan-Moss'</a> <a href="/projects/jellyroll/"><code>jellyroll</code></a>. <a href="http://www.jacobian.org/coding/">Here's his original implementation</a>, where he uses it to keep track of his commits and wiki edits within the Django project.</p>
+ <p>We also use <a href="/developers/james-bennett/">James Bennett's</a> <a href="/projects/django-contact-form"><code>django-contact-form</code></a> for the lovely set of boxes you see to the right. Future features (like tagging and possibly OpenID integration) will obviously use more pluggable apps. A cron script runs every hour, updating all of the repositories with the latest commits.</p>
+ <p>The design was built using <a href="http://sonspring.com">Nathan Smith's</a> <a href="http://960.gs">960.gs</a> CSS grid framework.</p>
+ <p>The site itself is deployed using <a href="http://www.modpython.org/">mod_python</a> running on <a href="http://httpd.apache.org/">Apache 2.2</a> (port <a href="http://www.encyclopediadramatica.com/index.php/IT'S_OVER_NINE_THOUSAND!">9000</a> for hilarity) behind an <a href="http://nginx.net/">nginx</a> proxy used to handle all the media. Everything is lovingly cared for on one of <a href="https://manage.slicehost.com/customers/new?referrer=451636206">Slicehost's 256slices</a>.</p>
+ <p>Oh, and we love <a href="http://www.apple.com/safari/">Safari</a>.</p>
+ </div>
+ </div>
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <h3>Poke Us.</h3>
+ <p>If you've come here from a project or developer page, you can use this form to contact us about any errors, changes or omissions you would like us to make. You could also say hi, we always love those. When submitting information please be <strong>as thorough as possible</strong>. We have the right to reject any information if we deem it to be invalid or spammish.</p>
+ {% comment %}
+ <form action="." method="post">
+ <ul>
+ <li class="clearfix"><label for="id_name" class="grid_2 alpha"><span>Name</span></label>{{ form.name }}</li>
+ <li class="clearfix"><label for="id_email" class="grid_2 alpha"><span>E-mail</span></label>{{ form.email }}</li>
+ <li class="body clearfix"><label for="id_body" class="grid_2 alpha"><span>Message</span></label>{{ form.body }}</li>
+ <li class="submit clearfix"><label for="id_submit" class="grid_2 alpha"><span>Submit</span></label><input id="id_submit" type="submit" value="I'm about to poke you. (or Send) &rarr;" /></li>
+ </ul>
+ </form>
+ {% endcomment %}
+ <p>Unfortunately, something's acting weird in regards to the contact form, so if you want to submit information or say hi, email <strong>bryan</strong> at <strong>this domain</strong>. Or, you can go to <a href="http://getsatisfaction.com/revyver/products/revyver_django_plugables">GetSatisfaction</a>!</p>
+ <p><a href="http://getsatisfaction.com/revyver/products/revyver_django_plugables"><img alt="Badge_get_help" src="http://getsatisfaction.com/images/badges/badge_get_help.png" /></a></p>
+</div>
+{% endblock %}
View
3  templates/contact_form/contact_form.txt
@@ -0,0 +1,3 @@
+Poked by {{ name }} ({{ email }})
+
+{{ body }}
View
31 templates/contact_form/contact_form_sent.html
@@ -0,0 +1,31 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} &bull; The Obligatory About Page{% endblock %}
+{% block body-class %}about{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>The Obligatory About Page</h2>
+</div>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_8">
+ <div class="grid_7 alpha">
+ <h3>The Backstory.</h3>
+ <p>You know when you get those ideas that are fueled by the hatred towards and incompetence of something else? Well, that's how this place was born. Django Plugables is simply a place that aims to bring all of the pluggable applications under one roof. There are so many gems and little-known projects in the world of the pluggable app and this site strives to make them as well known as the essentials. <strong>We want to make it easy for you to create.</strong></p>
+ <p>This site was created, with love, by the duo at <a href="http://revyver.com">Revyver</a>, <a href="http://avalonstar.com">Bryan</a> and <a href="http://sayonarane.net">Jen</a>. Bryan did the 80% of the work that made 20% of the difference. Jen did the 20% of the work that made 80% of the difference. :)</p>
+
+ <h3>Colophon.</h3>
+ <p>This <a href="http://djangoproject.com">Django joint</a> is essentially a heavily modified and lovingly styled version of the SCM (source control management) element of <a href="/developers/jacob-kaplan-moss/">Jacob Kaplan-Moss'</a> <a href="/projects/jellyroll/"><code>jellyroll</code></a>. <a href="http://www.jacobian.org/coding/">Here's his original implementation</a>, where he uses it to keep track of his commits and wiki edits within the Django project.</p>
+ <p>We also use <a href="/developers/james-bennett/">James Bennett's</a> <a href="/projects/django-contact-form"><code>django-contact-form</code></a> for the lovely set of boxes you see to the right. Future features (like tagging and possibly OpenID integration) will obviously use more pluggable apps.</p>
+ <p>The site itself is deployed using <a href="http://www.modpython.org/">mod_python</a> running on <a href="http://httpd.apache.org/">Apache 2.2</a> (port <a href="http://www.encyclopediadramatica.com/index.php/IT'S_OVER_NINE_THOUSAND!">9000</a> for hilarity) behind an <a href="http://nginx.net/">nginx</a> proxy used to handle all the media. Everything is lovingly cared for on one of <a href="https://manage.slicehost.com/customers/new?referrer=451636206">Slicehost's 256slices</a>.
+ </div>
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_7">
+ <h3>You poked us.</h3>
+ <p><strong>Ow.</strong> Well, the androids should be off to send that to us right now. I hope. You know, since we spewed so much hatred on Google Code's search, maybe Gmail will have a fit too.</p>
+ <p>Either way, we'll reply soon... somehow.</p>
+ <p>~ Bryan &amp; Jen</p>
+</div>
+{% endblock %}
View
1  templates/contact_form/contact_form_subject.txt
@@ -0,0 +1 @@
+[Django Pluggables] {{ name }} is poking you.
View
5 templates/feeds/commits_description.html
@@ -0,0 +1,5 @@
+<ul>
+<li><strong>Revision:</strong> {{ obj.revision }}</li>
+<li><strong>Timestamp:</strong> {{ obj.committed|date:"r" }}</li>
+<li><strong>Message:</strong> {% if obj.message %}{{ obj.message }}{% else %}No commit message was supplied.{% endif %}</li>
+</ul>
View
1  templates/feeds/commits_title.html
@@ -0,0 +1 @@
+{{ obj.repository.project.name }} updated to [{{ obj.revision }}]
View
9 templates/feeds/latest-entries_description.html
@@ -0,0 +1,9 @@
+{% autoescape off %}
+{{ obj.summary_processed }}
+<hr />
+{{ obj.body_processed }}
+{% if obj.footnotes %}
+<hr />
+{{ obj.footnotes_processed }}
+{% endif %}
+{% endautoescape %}
View
1  templates/feeds/latest-entries_title.html
@@ -0,0 +1 @@
+{{ obj.title }}
View
5 templates/feeds/projects_description.html
@@ -0,0 +1,5 @@
+<p><strong>{{ obj.name }}</strong> &mdash; <em>{{ obj.tagline }}</em></p>
+{% if obj.description %}
+<hr />
+{{ obj.description|markdown }}
+{% endif %}
View
1  templates/feeds/projects_title.html
@@ -0,0 +1 @@
+{{ obj.name }}
View
57 templates/home.html
@@ -0,0 +1,57 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} &bull; Find reusable applications for your Django project, quickly and easily!{% endblock %}
+{% block body-class %}home{% endblock %}
+{% block masthead %}
+<div class="grid_9 prefix_3">
+ <h2>Plug(g)ables?</h2>
+ <p><strong>One of Django's great strengths lie in its abundant library of 3rd party "pluggable" applications.</strong> Need a blog? Grab a few pluggable apps to get you off your feet. The only problem is... they're so hard to find and keep track of. That's what we're here for. <strong>We do the work of making sure you're keeping your pluggables up-to-date.</strong></p>
+</div>
+<blockquote class="grid_4 omega">
+ <p>I’ve always thought that the sign of a healthy Open Source project is a vibrant ecosystem around that project. I’ve been thrilled to see that there are a bunch of cool third-party Django add-ons popping up. <cite>- Jacob Kaplan-Moss (<a href="http://www.jacobian.org/writing/2007/may/22/django-projects/">source</a>)</cite></p>
+</blockquote>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_9">
+ <h3>Recently Updated Projects.</h3>
+ {% get_latest_objects projects.codecommit 5 as commits %}
+ <ul class="grid_8 alpha">
+ {% for commit in commits %}
+ <li><a href="{{ commit.repository.project.get_absolute_url }}">{{ commit.repository.project.name }}</a> updated to {% if commit.url %}<a href="{{ commit.url }}" class="revision">{{ commit.revision }}</a>{% else %}<span class="revision">{{ commit.revision }}</span>{% endif %} {{ commit.committed|timesince }} ago at {{ commit.committed|time:"P"}}</li>
+ {% endfor %}
+ <li><a href="{% url commit-list %}">See More Recent Commits &rarr;</a></li>
+ </ul>
+
+ <h3>Random Pluggables.</h3>
+ {% get_random_objects projects.project 5 as projects %}
+ <ul class="grid_8 alpha">
+ {% for project in projects %}
+ <li><a href="{{ project.get_absolute_url }}">{{ project.name }}</a> {{ project.tagline|truncatewords:6 }}</li>
+ {% endfor %}
+ <li><a href="{% url project-list %}">Check Out The Full List of Applications &rarr;</a></li>
+ </ul>
+
+ <span class="clear">HOLY SHIT! IT'S EXTRA UNNECESSARY CLEARING MARKUP!</span>
+
+ <h3>From the Plugable Blog.</h3>
+ {% get_latest_objects blog.entry 5 as entries %}
+ <ul class="grid_8 alpha">
+ {% for entry in entries %}
+ <li><a href="{{ entry.get_absolute_url }}">{{ entry.title }}</a> <abbr class="published" title="{{ entry.published|date:"Y-m-d\TH:i:sO" }}">written on <strong>{{ entry.published|date:"F jS, Y" }}</strong> at <strong>{{ entry.published|time:"g:iA" }}</strong></abbr></li>
+ {% endfor %}
+ <li style="display: none;"><a href="{% url project-list %}">Check Out The Rest of the Blog &rarr;</a></li>
+ </ul>
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <h3>The Why.</h3>
+ <p>By nature I'm a designer, not a programmer. So, when I decided to build my first application that wasn't a blog, running into pluggable applications like James Bennett's <code>django-registration</code> and the numerous forum projects out there helped me hit the ground running. Not only that, they helped teach me the fundamentals of good Python coding practices.</p>
+ <p>My only problem was, I hated having to go to Google Code to try and find them all. Wether it was to find that "diamond in the rough" or to see if an app had upgraded--it was like pulling teeth.</p>
+ <p>Django Plugables is my solution to that problem. Thanks to plugable apps like Jacob Kaplan-Moss' <code>jellyroll</code>, Pluggables will give you a central location to find all the apps and help you keep track of when your favorite ones update!</p>
+ <p>By any standard, this is a work-in-progress. But I hope to save you some time when it comes to building your next project.</p>
+ <a href="{% url contact_form %}" class="bubble">See what make this place tick &rarr;</a>
+</div>
+<div id="placeholder" class="grid_2">
+</div>
+{% endblock %}
View
35 templates/projects/codecommit_list.html
@@ -0,0 +1,35 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} &bull; Recent Commits{% endblock %}
+{% block body-class %}commits{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>Recent Commits</h2>
+</div>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ {% regroup commit_list by repository.project.name as list %}
+ <h3>The Last 50 (or so) Commits.</h3>
+ <ul id="commit-list" class="grid_9">
+ {% for commit in list %}
+ <li class="clearfix">
+ <h4 class="grid_3 alpha">{{ commit.grouper }}</h4>
+ <ul class="grid_6 omega">
+ {% for item in commit.list %}
+ <li>{% if item.url %}<a href="{{ item.url }}" class="revision">{{ item.revision }}</a>{% else %}<span class="revision">{{ item.revision }}</span>{% endif %} committed <strong>{{ item.committed|timesince }} ago</strong> at {{ item.committed|time:"P"}}</li>
+ {% endfor %}
+ </ul>
+ </li>
+ {% endfor %}
+ </ul>
+ <span class="clear">HOLY SHIT! IT'S EXTRA UNNECESSARY CLEARING MARKUP!</span>
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <h3>What you'll find.</h3>
+ <p>Listed here are the <em>50 most recent commits</em> by all the projects in our index. How to use it is quite simple. If the numbered box is blue, then click on it to go to see the changes that were made for that commit. If it's not, then code changes aren't made public and you'll have to do with `svn log` or another related function depending on your source control system.</p>
+ <p><a href="http://djangoplugables.com/feeds/commits/">We also have a feed of this page ready for your consumption.</a></p>
+</div>
+{% endblock %}
View
47 templates/projects/coderepository_list.html
@@ -0,0 +1,47 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} &bull; List of Repositories{% endblock %}
+{% block javascript %}
+ <script type="text/javascript" src="{{ MEDIA_URL }}/javascripts/jquery-1.2.3.min.js"></script>
+ <script type="text/javascript" src="{{ MEDIA_URL }}/javascripts/jquery-uitablefilter.js"></script>
+ <script type="text/javascript">
+ $(document).ready(function(){
+ t = $('table')
+ $('#phrase').keyup(function() {
+ $.uiTableFilter( t, $('#phrase').val() );
+ });
+ });
+ </script>
+{% endblock %}
+{% block body-class %}repositories{% endblock %}
+{% block repositories-selected %} selected{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>The EzayRepo System</h2>
+</div>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_16">
+ <div id="thehell" class="grid_8 alpha">
+ <h3>What in the hell?</h3>
+ <p>"What in the hell is correct." Part of the reason I was wasting half of my life on Google Code was not only trying to find the pluggables I wanted, but also trying to remember the repository links for them. Granted, now I know the pattern. But there are going to be projects that aren't hosted on Google Code, and wouldn't you want a quicker way to get all of your pluggables in order?</p>
+ <p>Below is a simple list of all the apps we have and their respective repository link. It's all Subversion right now, but I'm sure you'll find some GIT links pop up sooner or later. Now all you have to do is <em>copy and paste</em>.</p>
+ </div>
+ <div id="thefilter" class="grid_8 omega">
+ <h3>Filter!</h3>
+ <p>If you're feeling lazy. You can use this <strong>uber gigantic</strong> text field below to filter the repositories. <strong>Although, typing "django-" won't help you all that much.</strong></p>
+ <label for="phrase"></label><input type="text" name="phrase" value="" id="phrase" />
+ </div>
+ <span class="clear">HOLY SHIT! IT'S EXTRA UNNECESSARY CLEARING MARKUP!</span>
+ <table>
+ <thead>
+ <tr><th>Project Name</th><th>Repository URL</th><th>Last Updated</th></tr>
+ </thead>
+ <tbody>
+ {% for repository in repository_list|dictsort:"project.name" %}
+ <tr><td><a href="{{ repository.project.get_absolute_url }}">{{ repository.project.name }}</a></td><td><code>svn checkout {{ repository.url }}</code></td><td>{{ repository.updated|date:"F j, Y" }}</td></tr>
+ {% endfor %}
+ </tbody>
+ </table>
+</div>
+{% endblock %}
View
51 templates/projects/developer_detail.html
@@ -0,0 +1,51 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} &bull; {{ developer.full_name }}{% endblock %}
+{% block body-class %}profile{% endblock %}
+{% block developers-selected %} selected{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>{{ developer.full_name }}</h2>
+</div>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ <h3>You can find {{ developer.first_name }} at...</h3>
+ <ul id="urls">
+ {% if developer.django_people_url %}<li><a href="{{ developer.django_people_url }}" class="djp">{{ developer.django_people_url }}</a></li>{% endif %}
+ {% if developer.personal_url %}<li><a href="{{ developer.personal_url }}" class="per">{{ developer.personal_url }}</a></li>{% endif %}
+ {% if developer.professional_url %}<li><a href="{{ developer.professional_url }}" class="pro">{{ developer.professional_url }}</a></li>{% endif %}
+ </ul>
+
+ {% if developer.owners.all %}
+ <h3>{{ developer.first_name }} owns...</h3>
+ <ul class="grid_9">
+ {% for project in developer.owners.all %}
+ <li>
+ <h4><a href="{{ project.get_absolute_url }}">{{ project.name }}</a></h4>
+ <div>{{ project.tagline }}</div>
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+ <span class="clear">HOLY SHIT! IT'S EXTRA UNNECESSARY CLEARING MARKUP!</span>
+ {% if developer.members.all %}
+ <h3>{{ developer.first_name }} is a member of...</h3>
+ <ul class="grid_9">
+ {% for project in developer.members.all %}
+ <li>
+ <h4><a href="{{ project.get_absolute_url }}">{{ project.name }}</a></h4>
+ <div>{{ project.tagline }}</div>
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <h3>Um... profile?</h3>
+ <p>We here at Pluggables, or maybe just I, like to give thanks to the developers that made our lives easier. However, we're not here to give you loads of information about them. We've kept the site simple, and we're not looking to go all... social-network-y.</p>
+ <p>With that, all you'll see are a personal link, professional link, and a link to their <a href="http://djangopeople.com">Django People</a> profile; if they're available of course.</p>
+</div>
+{% endblock %}
View
32 templates/projects/developer_list.html
@@ -0,0 +1,32 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} &bull; List of Developers{% endblock %}
+{% block body-class %}developers{% endblock %}
+{% block developers-selected %} selected{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>The Sexy Developer List</h2>
+</div>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ <h3>Send your thank you cards to...</h3>
+ <ul class="grid_9">
+ {% for developer in developer_list %}
+ {% if developer.owners.all or developer.members.all %}
+ <li>
+ <a href="{{ developer.get_absolute_url }}">{{ developer.name }}</a>
+ {% if developer.owners.all %}<div><span>Owns</span> {% for project in developer.owners.all %}<a href="{{ project.get_absolute_url }}">{{ project.name }}</a>{% ifequal forloop.revcounter 2 %} and {% else %}{% if not forloop.last %}, {% endif %}{% endifequal %}{% endfor %}</div>{% endif %}
+ {% if developer.members.all %}<div><span>Is a member of</span> {% for project in developer.members.all %}<a href="{{ project.get_absolute_url }}">{{ project.name }}</a>{% ifequal forloop.revcounter 2 %} and {% else %}{% if not forloop.last %}, {% endif %}{% endifequal %}{% endfor %}</div>{% endif %}
+ </li>
+ {% endif %}
+ {% endfor %}
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <h3>We list {{ developer_list|length }} developers.</h3>
+ <p>These are the special people that help your Django projects scream during the day and sleep soundly at night. They're the minds that make your life easier by providing code that is (hopefully) clean, well documented and concise.</p>
+ <p>However, we might not have every author credited. This could be due to the fact that we missed your name during our searches (since we do this stuff manually) or we couldn't find any information about you. In either case, if you'd like to submit some information, <a href="{% url contact_form %}">please feel free to do so</a>!
+</div>
+{% endblock %}
View
19 templates/projects/paginator.html
@@ -0,0 +1,19 @@
+{% if page.has_other_pages %}
+ {% spaceless %}
+ <div class="paginator">
+ Page {{ page.number }} of {{ paginator.num_pages }}&nbsp;&nbsp;
+ {% if page.has_previous %}
+ <a href="{{ request.path }}?{% if query %}search={{ query }}&amp;{% endif %}page={{ page.previous_page_number }}">&larr; Previous</a>&nbsp;
+ {% endif %}
+
+ {% for p in paginator.page_range %}
+ <a href="{{ request.path }}?{% if query %}search={{ query }}&amp;{% endif %}page={{ p }}">{% ifequal p page.number %}<strong>{{ p }}</strong>{% else %}{{ p }}{% endifequal %}</a>&nbsp;
+ {% endfor %}
+
+ {% if page.has_next %}
+ <a href="{{ request.path }}?{% if query %}search={{ query }}&amp;{% endif %}page={{ page.next_page_number }}">Next &rarr;</a>
+ {% endif %}
+ <span style="padding-left: 15px;">({{ paginator.count }} total)</span>
+ </div>
+ {% endspaceless %}
+{% endif %}
View
72 templates/projects/project_detail.html
@@ -0,0 +1,72 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} &bull; {{ project.name }}{% endblock %}
+{% block body-class %}projects{% endblock %}
+{% block projects-selected %} selected{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>{{ project.name }} <small>{{ project.tagline }}</small></h2>
+</div>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ {% if project.description %}
+ <h3>The Basics</h3>
+ <div id="basics" class="grid_9 alpha">
+ {{ project.description|markdown|typogrify|urlize }}
+
+ <strong>Project Home</strong> &ndash; <a href="{{ project.url }}">{{ project.url }}</a><br />
+ <strong>Grab the Repository</strong> &ndash; {% for repository in project.repository.all %}svn checkout {{ repository.url }}{% endfor %}
+ </div>
+ {% endif %}
+ <span class="clear">HOLY SHIT! IT'S EXTRA UNNECESSARY CLEARING MARKUP!</span>
+ <h3>Recent Commits</h3>
+ {% for repository in project.repository.all %}
+ {% ifequal repository.type "svn" %}
+ <ul class="grid_9 alpha">
+ {% for commit in repository.commits.all|slice:":10" %}
+ <li>
+ {% if commit.url %}<a href="{{ commit.url }}" class="revision">{{ commit.revision }}</a>{% else %}<span class="revision">{{ commit.revision }}</span>{% endif %} was committed <strong>{{ commit.committed|timesince }} ago.</strong>
+ <div>{% if commit.message %}{{ commit.message|urlize|typogrify }}{% else %}No commit message supplied.{% endif %}</div>
+ </li>
+ {% endfor %}
+ </ul>
+ {% else %}
+ <p>Ack. We don't support showing the commits for this project's repository type ({{ repository.type }}).</p>
+ {% endifequal %}
+ {% endfor %}
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ {% if project.owners.all %}
+ <h3>Project Owner{{ project.owners.all|pluralize }}</h3>
+ <ul>
+ {% for owner in project.owners.all %}
+ <li>
+ <h4>{{ owner.full_name }}</h4>
+ <a class="per" href="{{ owner.personal_url }}">{{ owner.personal_url }}</a>
+ <a class="pro" href="{{ owner.professional_url }}">{{ owner.professional_url }}</a>
+ <a class="djp" href="{{ owner.django_people_url }}">{{ owner.django_people_url }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ {% else %}
+ <p>We don't seem to know the people who created this project. If you or somebody you know owns this and you'd like to have your name added, please let us know!</p>
+ {% endif %}
+
+ {% if project.members.all %}
+ <h3>Project Member{{ project.members.all|pluralize }}</h3>
+ <ul>
+ {% for member in project.members.all %}
+ <li>
+ <h4>{{ member.full_name }}</h4>
+ <a class="per" href="{{ member.personal_url }}">{{ member.personal_url }}</a>
+ <a class="pro" href="{{ member.professional_url }}">{{ member.professional_url }}</a>
+ <a class="djp" href="{{ member.django_people_url }}">{{ member.django_people_url }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+</div>
+{% endblock %}
View
30 templates/projects/project_list.html
@@ -0,0 +1,30 @@
+{% extends "base.html" %}
+
+{% block title %}{{ block.super }} &bull; List of Projects{% endblock %}
+{% block body-class %}projects{% endblock %}
+{% block projects-selected %} selected{% endblock %}
+{% block masthead %}
+<div class="grid_16">
+ <h2>The Super Juicy List of Pluggable Applications</h2>
+</div>
+{% endblock %}
+{% block content %}
+<div id="main" class="grid_10">
+ <h3>Alphabetical. <small>(sorting methods arrive when <a href="http://code.djangoproject.com/wiki/QuerysetRefactorBranch">queryset-refactor</a> lands.)</small></h3>
+ <ul id="project-list" class="grid_9 alpha">
+ {% for project in project_list %}
+ <li>
+ <h4><a href="{{ project.get_absolute_url }}">{{ project.name }}</a></h4>
+ <div>{{ project.tagline }}</div>
+ </li>
+ {% endfor %}
+ </ul>
+</div>
+{% endblock %}
+{% block sidebar %}
+<div id="sidebar" class="grid_5">
+ <h3>We list {{ project_list|length }} projects.</h3>
+ <p>We've done our research (for the most part) and found the apps that we thought were updated frequently, crucial to any Django project or just plain interesting. <strong>But we know we don't have them all!</strong> That's where you come in.</p>
+ <p>If your project or the project of somebody you know is missing from this list <strong>and</strong> you'd think it'd make a good fit here at Plugables, <a href="{% url contact_form %}">just let us know!</a></p>
+</div>
+{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.