Commits

Steve Losh  committed b0dc9cb

More changes.

  • Participants
  • Parent commits 052092a

Comments (0)

Files changed (4)

File media/css/base.css

+body, html {
+    background-color: #fdfdfd;
+}
+
 div#main-wrap {
     width: 50em;
     margin: 1em auto 6em;
 }
-div#content {
+div#content-wrap {
+    overflow: auto;
     margin-bottom: 6em;
 }
 div#footer {
     color: #E2003B;
 }
 
-ul#repo-list {
+div#repo-list {
+    margin-right: 3em;
+}
+div#repo-list ul {
     list-style-type: none;
 }
-ul#repo-list li {
+div#repo-list ul li {
     margin-left: 0;
     font-size: 1.25em;
     line-height: 1.2em;
 }
+
+div#do-want {
+    float: right;
+    width: 50%;
+}

File mercurial_data/models.py

         max_length=40,
         verbose_name="parent"
     )
+    cset_branch = models.CharField(
+        max_length=100
+    )
     cset_author = models.CharField(
         max_length=150,
         verbose_name="author"

File templates/base.html

                 <a href="http://stevelosh.com/">Steve Losh</a>
             </h1>
             
-            <div id="content">
-                {% block content %}{% endblock %}
+            <div id="content-wrap">
+                <div id="content">
+                    {% block content %}{% endblock %}
+                </div>
             </div>
-            
             <div id="footer">
-                Noodle Bucket was made by
-                <a href="http://stevelosh.com/">Steve Losh</a>
-                with some help from a
-                <a href="http://djangoproject.com/">pony</a>
+                Noodle Bucket was made
+                in two days
+                by <a href="http://stevelosh.com/">Steve Losh</a>
+                with some help from
+                a <a href="http://djangoproject.com/">pony</a>,
+                an <a href="http://raphaeljs.com/">artist</a>,
                 and a very friendly
                 <a href="http://fecklessmind.com/2009/01/20/aardvark-css-framework/">aardvark</a>.
             </div>

File templates/repos/repo_list.html

         for BitBucket repositories.
     </p>
     
-    <h2>Repositories</h2>
+    <div id="do-want">
+        <h2>Want Your Repository Here?</h2>
+        
+        <p>
+            Noodle Bucket is mostly just a proof-of-concept application to
+            show that's it's possible to make something like GitHub's Network
+            Graph without resorting to the abomination that is Flash.
+        </p>
+        
+        <p>
+            If you think it would be *really* useful to you to be able to see
+            this kind of information, you can
+            <a href="{% url request-repo %}">send me a request</a> and if
+            your project sounds particularly cool I'll add its repo to the list.
+        </p>
+    </div>
     
-    <ul id="repo-list">
-        {% for repo in repos %}
-            <li><a href="{% url repo user_name=repo.user_name,repo_name=repo.repo_name %}">{{ repo.user_name }}/{{ repo.repo_name }}</a></li>
-        {% endfor %}
-    </ul>
+    <div id="repo-list">
+        <h2>Repositories</h2>
+    
+        <ul id="repo-list">
+            {% for repo in repos %}
+                <li><a href="{% url repo user_name=repo.user_name,repo_name=repo.repo_name %}">{{ repo.user_name }}/{{ repo.repo_name }}</a></li>
+            {% endfor %}
+        </ul>
+    </div>
 {% endblock %}