Steve Losh avatar Steve Losh committed 82f41f6

More changes.

Comments (0)

Files changed (2)

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>

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>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.