Permalink
Browse files

Added portfolio app.

  • Loading branch information...
ktonon committed Aug 26, 2011
1 parent ce1b990 commit f1f65ef4ed15fd81cfb0ed2e0f62d98358ab1281
View
@@ -10,9 +10,7 @@ Markdown==2.0.1
textile==2.1.3
django-robots==0.6.1
-
-e git+git://github.com/django-extensions/django-extensions.git#egg=django_extensions
-
-e git+git://github.com/montylounge/django-basic-apps.git#egg=basic
-e git+git://github.com/zerok/django-flatblocks.git#egg=flatblocks
-e git+git://github.com/montylounge/django-disqus.git#egg=disqus
@@ -21,7 +19,6 @@ django-robots==0.6.1
-e git+git://github.com/brosner/django-oembed.git#egg=oembded
-e svn+http://django-template-utils.googlecode.com/svn/trunk#egg=template_utils
-e git+git://github.com/montylounge/django-proxy.git#egg=django_proxy
-
-e git+git://github.com/mintchaos/django_compressor.git#egg=compressor
-e git+git://github.com/bartTC/django-markup.git#egg=django_markup
-e git+git://github.com/montylounge/django-google-analytics.git#egg=google_analytics
@@ -30,7 +27,6 @@ django-robots==0.6.1
-e git+git://github.com/sunlightlabs/django-honeypot.git#egg=honeypot
-e git+git://github.com/montylounge/django-sugar.git#egg=sugar
-e git+git://github.com/montylounge/django-quoteme.git#egg=quoteme
-
-e hg+https://python-twitter.googlecode.com/hg/#egg=python-twitter
-e svn+http://django-tinymce.googlecode.com/svn/trunk/#django-tinymce
-e git+git://github.com/pydanny/django-wysiwyg.git#egg=django-wysiwyg
@@ -39,12 +35,6 @@ django-robots==0.6.1
django-dbtemplates==0.6.1
django-memcache-status==1.0.1
-e git+git://github.com/kylef/django-request.git#egg=django-request
-
-e git://github.com/sorl/sorl-thumbnail.git#egg=sorl_thumbnail
-e git://github.com/montylounge/django-basic-apps.git#egg=django_basic_apps
-
-
-
-
-
-
+-e git://github.com/ktonon/django-portfolio.git#egg=django_portfolio
View
@@ -96,6 +96,8 @@
'cropper',
'memcache_status',
'request',
+
+ 'portfolio',
)
@@ -12,7 +12,7 @@ django-robots==0.6.1
django-dbtemplates==0.6.1
django-markup==0.3
django-memcache-status==1.0.1
-
+
-e git://github.com/django-extensions/django-extensions.git@459276ded0edf1d1cf6d94b4865891a281445b95#egg=django_extensions-0.4.2_pre-py2.5-dev
-e git://github.com/mintchaos/django_compressor.git@7f314c513410a5be6379edf1abfc4f1730a36d09#egg=django_compressor-0.5.1-py2.5-dev
-e hg+https://bitbucket.org/ubernostrum/django-contact-form/@1d3791fa4dfbb2375ba0d27e62283380c0ec74e6#egg=django_contact_form-tip
@@ -36,6 +36,4 @@ django-memcache-status==1.0.1
-e git://github.com/sorl/sorl-thumbnail.git@827d1f2b04ef02f62301bc6968d21879b77adbf3#egg=sorl_thumbnail-10.12-py2.5-dev
-e git://github.com/montylounge/django-basic-apps.git@3e88fab6cef3524d9e8d84dbb17dfb5906c82ed5#egg=django_basic_apps-0.6-py2.5-dev
-
-
-
+-e git://github.com/ktonon/django-portfolio.git@898275a27612c1cdd5fce0f97b9093e2e2d93298#egg=django_portfolio-0.1.0_pre-py2.5-dev
@@ -0,0 +1,90 @@
+#portfolio-nav {
+}
+
+#portfolio-nav li.selected a {
+ color: #000;
+ text-shadow: 1px 1px 1px #ccc;
+}
+
+#portfolio-projects .project-list {
+ margin-left: 0;
+}
+
+#portfolio-projects .project {
+ border-radius: 20px;
+ -webkit-border-radius: 20px;
+ -moz-border-radius: 20px;
+
+ padding: 5px 15px;
+ margin-bottom: 30px;
+
+ background-color: #f0f0f0;
+ border-top: solid 4px #e0e4e8;
+ border-bottom: solid 4px #e0e4e8;
+}
+
+#portfolio-projects .project h2 {
+ margin-bottom: 0.5em;
+ font-size: 22pt;
+}
+
+#portfolio-projects .dates {
+ position: absolute;
+ top: 0;
+ right: 0;
+ font-style: italic;
+ font-size: 10pt;
+ color: #666;
+}
+
+#portfolio-projects ul.skills {
+ position: absolute;
+ top: 1.2em;
+ right: 0;
+}
+#portfolio-projects ul.skills li {
+ display: inline;
+ margin-left: 1em;
+}
+#portfolio-projects ul.skills li a {
+ font-weight: normal;
+}
+
+#portfolio-projects .description {
+ min-height: 120px;
+}
+
+#portfolio-projects img.project-image {
+ border-radius: 10px;
+ -webkit-border-radius: 10px;
+ -moz-border-radius: 10px;
+ border: solid 5px #e0e4e8;
+
+ float: left;
+ height: 100px;
+ margin-right: 10px;
+ margin-bottom: 10px;
+}
+
+#portfolio-projects .slide-show {
+ position: relative;
+ border-radius: 10px;
+ -webkit-border-radius: 10px;
+ -moz-border-radius: 10px;
+ border: solid 5px #e0e4e8;
+ background-color: #e0e4e8;
+ padding-top: 20px;
+
+ float: right;
+ width: 300px;
+ height: 300px;
+ cursor: pointer;
+}
+#portfolio-projects .slide-show .counter {
+ position: absolute;
+ top: 0;
+ right: 0;
+}
+#portfolio-projects .slide-show img {
+ width: 300px;
+}
@@ -8,6 +8,12 @@ body {
padding-top: 0;
}
+.inner-container {
+ position: relative;
+ width: 100%;
+ height: 100%;
+}
+
#header {
background-image: none;
background-color: #4d4d4d;
@@ -0,0 +1,17 @@
+$(document).ready(function() {
+ var index = -1;
+ var images = $(".slide-show");
+ var len = images.children('li').length;
+ var make_counter = function() {
+ return $("<span class=\"counter\">" + (index+1) + "/" + len + "</span>");
+ }
+ var show_next = function() {
+ index = (index+1) % len;
+ $(images.children('li')).hide();
+ $(images.children('li')[index]).show();
+ $(".counter").remove();
+ $(images).prepend(make_counter());
+ }
+ show_next();
+ $(images).click(show_next);
+ });
View
@@ -41,6 +41,7 @@
urlpatterns += patterns('',
(r'^tinymce/', include('tinymce.urls')),
+ (r'^portfolio/', include('portfolio.urls')),
url(r'^oops/$', 'mingus.core.views.oops', name='raise_exception'),
url(r'^quotes/$', 'mingus.core.views.quote_list', name='quote_list'),
url(r'^quotes/(?P<slug>[-\w]+)/$', 'mingus.core.views.quote_detail', name='quote_detail'),
@@ -50,7 +51,7 @@
(r'^api/springsteen/posts/$', springsteen_results),
(r'^api/springsteen/firehose/$', springsteen_firehose),
(r'^api/springsteen/category/(?P<slug>[-\w]+)/$', springsteen_category),
-
+
url(r'^contact/$',
contact_form,
name='contact_form'),

0 comments on commit f1f65ef

Please sign in to comment.