Commits

Steve Losh committed 82f41f6

More changes.

  • Participants
  • Parent commits a90fb09

Comments (0)

Files changed (2)

File templates/base.html

                 with some help from
                 a <a href="http://djangoproject.com/">pony</a>,
                 an <a href="http://raphaeljs.com/">artist</a>,
+                a <a href="http://documentcloud.github.com/underscore/">single character</a>,
                 and a very friendly
                 <a href="http://fecklessmind.com/2009/01/20/aardvark-css-framework/">aardvark</a>.
             </div>

File templates/repos/repo.html

 {% block script %}
 <script type="text/javascript" charset="utf-8">
     $(document).ready(function() {
+        var COL_WIDTH = 15;
         var changesets = {% include "pasta-scripts/cset-list.js" %}
         var cset_count = {{ repo.changeset_set.all.count }};
         var paper = Raphael("pasta-bowl", 360, (cset_count + 1) * 21);
         
+        var col = 0;
         _.each(changesets, function(cset) {
             var y = 10 + 21 + (cset['index'] * 21);
-            var node = paper.circle(350, y, 3);
+            var node = paper.circle((col * COL_WIDTH + COL_WIDTH / 2), y, 3);
         });
     });
 </script>