<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>public/javascripts/form_submit_button.js</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -6,4 +6,5 @@ class Project &lt; ActiveRecord::Base
   has_friendly_id :name, :use_slug =&gt; true
 
   named_scope :ordered, :order =&gt; 'completed_on DESC'
+  named_scope :latest, :limit =&gt; 5
 end
\ No newline at end of file</diff>
      <filename>app/models/project.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,6 @@ class Upload &lt; ActiveRecord::Base
   belongs_to :attachable, :polymorphic =&gt; true
   has_attached_file :data, 
                     :styles =&gt; { :large =&gt; &quot;800x800&gt;&quot;,
-                                 :medium =&gt; &quot;300x300&gt;&quot;,
                                  :small =&gt; '200x200#',
                                  :square =&gt; &quot;75x75#&quot; }
   validates_attachment_size :data, :less_than =&gt; 5.megabytes</diff>
      <filename>app/models/upload.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,36 +1,37 @@
-- form_for @article, :html =&gt; {:class =&gt; 'form'} do |f|
-  = f.error_messages
-  %p
-    = f.label :title
-    %br
-    = f.text_field :title
-  %p
-    = f.label :description
-    %br
-    = f.text_field :description
-  %p
-    = f.label :body
-    %span= &quot;Markdown or HTML is ok.&quot;
-    %br
-    = f.text_area :body, :class =&gt; 'big'
-  %p
-    = f.label :published
-    %br
-    = f.check_box :published
-  %p
-    = f.label :published_on
-    %br
-    = f.date_select :published_on
+.articles_form
+  - form_for @article, :html =&gt; {:class =&gt; 'form'} do |f|
+    = f.error_messages
+    %p
+      = f.label :title
+      %br
+      = f.text_field :title
+    %p
+      = f.label :description
+      %br
+      = f.text_field :description
+    %p
+      = f.label :body
+      %span= &quot;Markdown or HTML is ok.&quot;
+      %br
+      = f.text_area :body, :class =&gt; 'big'
+    %p
+      = f.label :published
+      %br
+      = f.check_box :published
+    %p
+      = f.label :published_on
+      %br
+      = f.date_select :published_on
     
-  - if Tag.all.empty?
-    = &quot;No tags yet. Create one after saving this article.&quot;
-  - else
-    %h4= &quot;Tags&quot;
-    %ul.tags
-      - for tag in Tag.all
-        %li
-          = tag.name
-          = check_box_tag 'article[tag_list][]', tag.name, @article.tag_list.include?(tag.name), :id =&gt; &quot;check_tag_#{tag.id}&quot;
-  %p
-    = f.submit &quot;Submit&quot;
-    = link_to &quot;Cancel&quot;, @article, :class =&gt; 'cancel'
\ No newline at end of file
+    - if Tag.all.empty?
+      = &quot;No tags yet. Create one after saving this article.&quot;
+    - else
+      %h4= &quot;Tags&quot;
+      %ul.tags
+        - for tag in Tag.all
+          %li
+            = tag.name
+            = check_box_tag 'article[tag_list][]', tag.name, @article.tag_list.include?(tag.name), :id =&gt; &quot;check_tag_#{tag.id}&quot;
+    %p
+      = f.submit &quot;Submit&quot;
+      = link_to &quot;Cancel&quot;, @article, :class =&gt; 'cancel'
\ No newline at end of file</diff>
      <filename>app/views/articles/_form.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-- javascript 'new_comment'
+- javascript 'form_submit_button'
 .new_comment
   - form_for [article, comment], :html =&gt; {:class =&gt; 'form'} do |f|
     = f.error_messages
@@ -20,4 +20,4 @@
         %br
         = f.text_field :challenge
     %div
-      = f.submit &quot;Save comment&quot;
\ No newline at end of file
+      = f.submit &quot;Save comment&quot;, :id =&gt; 'form_submit_button'
\ No newline at end of file</diff>
      <filename>app/views/comments/_form.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -6,9 +6,9 @@
     %meta{:name =&gt; &quot;description&quot;, :content =&gt; yield(:meta_description) || website.tagline }
     %meta{:name =&gt; &quot;keywords&quot;, :content =&gt; yield(:meta_keywords) || website.default_tags }
     = stylesheet_link_tag 'reset', 'application', 'menu'
-    %link{:href =&gt; &quot;/stylesheets/#{h(website.theme || &quot;blue&quot;)}.css?#{Time.now.to_i}&quot;, :media =&gt; 'screen', :rel =&gt; 'stylesheet theme', :type =&gt; 'text/css'}
     = javascript_include_tag 'jquery-1.3.2.min', 'search_box', 'admin'
     = yield(:head)
+    %link{:href =&gt; &quot;/stylesheets/#{h(website.theme || &quot;blue&quot;)}.css?#{Time.now.to_i}&quot;, :media =&gt; 'screen', :rel =&gt; 'stylesheet theme', :type =&gt; 'text/css'}
   %body
     - if admin?
       #admin-area
@@ -87,7 +87,8 @@
             - for tag in Tag.all
               %li= link_to tag.name, tagged_articles_path(:tag =&gt; tag.name)
         #service-list
-          %h4= t(:elsewhere) if website.flickr_username || website.twitter_username
+          - if !website.flickr_username.blank? || !website.twitter_username.blank?
+            %h4= t(:elsewhere)
           %ul
             %li.flickr= link_to website.flickr_username, &quot;http://flickr.com/photos/#{website.flickr_username}&quot; if website.flickr_username
             %li.twitter= link_to website.twitter_username, &quot;http://twitter.com/#{website.twitter_username}&quot; if website.twitter_username</diff>
      <filename>app/views/layouts/application.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,18 +1,19 @@
-- form_for @page, :html =&gt; {:class =&gt; 'form'} do |f|
-  = f.error_messages
-  %p
-    = f.label :name
-    %br
-    = f.text_field :name
-  %p
-    = f.label :body
-    %span= &quot;Plain HTML only&quot;
-    %br
-    = f.text_area :body, :class =&gt; 'big'
-  %p
-    = f.label :published
-    %br
-    = f.check_box :published
-  %p
-    = f.submit &quot;Submit&quot;
-    = link_to &quot;Cancel&quot;, @page, :class =&gt; 'cancel'
\ No newline at end of file
+.pages_form
+  - form_for @page, :html =&gt; {:class =&gt; 'form'} do |f|
+    = f.error_messages
+    %p
+      = f.label :name
+      %br
+      = f.text_field :name
+    %p
+      = f.label :body
+      %span= &quot;Plain HTML only&quot;
+      %br
+      = f.text_area :body, :class =&gt; 'big'
+    %p
+      = f.label :published
+      %br
+      = f.check_box :published
+    %p
+      = f.submit &quot;Submit&quot;
+      = link_to &quot;Cancel&quot;, @page, :class =&gt; 'cancel'
\ No newline at end of file</diff>
      <filename>app/views/pages/_form.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,33 +1,34 @@
-- form_for @project, :html =&gt; {:class =&gt; 'form'} do |f|
-  = f.error_messages
-  %p
-    = f.label :name
-    %br
-    = f.text_field :name
-  %p
-    = f.label :description
-    %span= &quot;Plain HTML only&quot;
-    %br
-    = f.text_area :description
-  %p
-    = f.label :role
-    %br
-    = f.text_field :role
-  %p
-    = f.label :url
-    %span= &quot;e.g. http://www.company.com&quot;
-    %br
-    = f.text_field :url
-  %p
-    = f.label :duration
-    %br
-    = f.text_field :duration
-  %p
-    = f.label :completed_on
-    %br
-    = f.date_select :completed_on
-  - if !@project.new_record?
-    %p= link_to 'Add Upload', new_upload_project_path(@project)
-  %p
-    = f.submit &quot;Save&quot;
-    = link_to &quot;Cancel&quot;, projects_path, :class =&gt; 'cancel'
\ No newline at end of file
+.project_form
+  - form_for @project, :html =&gt; {:class =&gt; 'form'} do |f|
+    = f.error_messages
+    %p
+      = f.label :name
+      %br
+      = f.text_field :name
+    %p
+      = f.label :description
+      %span= &quot;Plain HTML only&quot;
+      %br
+      = f.text_area :description
+    %p
+      = f.label :role
+      %br
+      = f.text_field :role
+    %p
+      = f.label :url
+      %span= &quot;e.g. http://www.company.com&quot;
+      %br
+      = f.text_field :url
+    %p
+      = f.label :duration
+      %br
+      = f.text_field :duration
+    %p
+      = f.label :completed_on
+      %br
+      = f.date_select :completed_on
+    - if !@project.new_record?
+      %p= link_to 'Add Screenshots to project', new_upload_project_path(@project)
+    %p
+      = f.submit &quot;Save&quot;
+      = link_to &quot;Cancel&quot;, projects_path, :class =&gt; 'cancel'
\ No newline at end of file</diff>
      <filename>app/views/projects/_form.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -5,6 +5,7 @@
 :javascript
   $(function() {
     $('form.new_upload .buttons').hide();
+    $('form.new_upload').append(&quot;&lt;p class='notice'&gt;Tip: Control or command-click multiple files to upload them all at once&lt;/p&gt;&quot;);
     $(&quot;#upload_data&quot;).uploadify({
       'uploader': '/flash/uploadify.swf',
       'script': '/projects/#{params[:id]}/create_upload',</diff>
      <filename>app/views/projects/new_upload.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+- javascript 'form_submit_button'
 %h2= &quot;Contact #{website.owner_name}&quot;
 %p.required= &quot;All fields are required.&quot;
 .contact_form
@@ -15,4 +16,4 @@
       %br
       = text_area_tag :message
     %p
-      = submit_tag &quot;Send&quot;
\ No newline at end of file
+      = submit_tag &quot;Send Message&quot;, :id =&gt; 'form_submit_button'
\ No newline at end of file</diff>
      <filename>app/views/sites/new_contact_form_email.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -48,7 +48,7 @@ Feature: Manage projects
     When I go to the list of projects
     And I follow &quot;Project One&quot;
     And I edit the project &quot;Project One&quot;
-    When I follow &quot;Add Upload&quot;
+    When I follow &quot;Add Screenshots to project&quot;
     And I attach a file onto &quot;upload_data&quot;
     And I press &quot;Save&quot;
     Then I should see &quot;Upload saved&quot;</diff>
      <filename>features/manage_projects.feature</filename>
    </modified>
    <modified>
      <diff>@@ -106,8 +106,7 @@ form p {
   margin: 20px 0; }
   .tags li input[type=checkbox] {
     position: relative;
-    left: -4px;
-    top: 2px; }
+    left: -4px; }
 .tags a, .tags a:visited {
   font-size: 20px;
   color: #555;
@@ -214,11 +213,19 @@ form p {
   position: relative;
   top: -3px; }
 
+.notice {
+  padding: 10px;
+  margin: 10px 0;
+  background-color: #FFF6BF;
+  border-top: 1px solid #FFD324;
+  border-bottom: 1px solid #FFD324; }
+
 .success {
   padding: 10px;
   margin: 10px 0;
   background-color: #CFC;
-  border: solid 1px #6C6; }
+  border-top: solid 1px #6C6;
+  border-bottom: solid 1px #6C6; }
 
 .admin-links {
   padding: 20px 0; }
@@ -226,10 +233,14 @@ form p {
     padding: 10px;
     background: #000;
     color: #fff;
-    -webkit-border-radius: 2px;
-    -moz-border-radius: 2px; }
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    -moz-box-shadow: #555 1px 1px 1px;
+    -webkit-box-shadow: #555 1px 1px 1px;
+    text-shadow: 1px 0px 1px #aaa; }
     .admin-links a:hover {
-      background: #333;
+      background: #222;
+      text-shadow: none;
       text-decoration: none; }
 
 .index .project .images {
@@ -369,3 +380,14 @@ form p {
 .quiet {
   color: #999;
   font-size: 11px; }
+
+.project_form textarea, .pages_form textarea, .articles_form textarea {
+  width: 700px; }
+.project_form a:hover, .pages_form a:hover, .articles_form a:hover {
+  text-decoration: underline; }
+
+.articles_form .tags li {
+  display: inline; }
+
+.contact_form textarea {
+  width: 400px; }</diff>
      <filename>public/stylesheets/application.css</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,6 @@ label {
   .form input[type=text]:focus, .form input[type=password]:focus {
     border: 1px solid #888; }
 .form textarea {
-  width: 400px;
   height: 200px;
   font-size: 1.3em;
   border: 1px solid #ccc; }
@@ -74,8 +73,13 @@ label {
 .pagination {
   padding: 20px 0 0 200px;
   margin: 20px 0; }
-  .pagination a, .pagination a:visited, .pagination a:hover {
-    color: #10306A; }
+  .pagination a {
+    border: 1px solid #c3deeb;
+    background: #fff;
+    color: #c3deeb; }
+    .pagination a:hover {
+      border: 1px solid #10306A;
+      color: #10306A; }
   .pagination span.current {
     border: 1px solid #10306A;
     background: #10306A; }</diff>
      <filename>public/stylesheets/blue.css</filename>
    </modified>
    <modified>
      <diff>@@ -97,7 +97,6 @@ form
     input[type=checkbox]
       :position relative
       :left -4px
-      :top 2px
   a, a:visited
     :font-size 20px
     :color #555
@@ -216,21 +215,32 @@ form
   input[type=submit]
     :position relative
     :top -3px
+.notice
+  :padding 10px
+  :margin 10px 0
+  :background-color #FFF6BF
+  :border-top 1px solid #FFD324
+  :border-bottom 1px solid #FFD324
 .success
   :padding 10px
   :margin 10px 0
   :background-color #CFC
-  :border solid 1px #6C6
+  :border-top solid 1px #6C6
+  :border-bottom solid 1px #6C6
 .admin-links
   :padding 20px 0
   a
     :padding 10px
     :background #000
     :color #fff
-    :-webkit-border-radius 2px
-    :-moz-border-radius 2px
+    :-webkit-border-radius 4px
+    :-moz-border-radius 4px
+    :-moz-box-shadow #555 1px 1px 1px
+    :-webkit-box-shadow #555 1px 1px 1px
+    :text-shadow 1px 0px 1px #aaa
     &amp;:hover
-      :background #333
+      :background #222
+      :text-shadow none
       :text-decoration none
 .index
   .project
@@ -367,4 +377,16 @@ form
 .quiet
   :color #999
   :font-size 11px
-  
\ No newline at end of file
+.project_form, .pages_form, .articles_form
+  textarea
+    :width 700px
+  a
+    &amp;:hover
+      :text-decoration underline
+.articles_form
+  .tags
+    li
+      :display inline
+.contact_form
+  textarea
+    :width 400px
\ No newline at end of file</diff>
      <filename>public/stylesheets/sass/application.sass</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,6 @@ label
     &amp;:focus
       :border 1px solid #888
   textarea
-    :width 400px
     :height 200px
     :font-size 1.3em
     :border 1px solid #ccc
@@ -76,8 +75,13 @@ label
 .pagination
   :padding 20px 0 0 200px
   :margin 20px 0
-  a,a:visited,a:hover
-    :color #10306A
+  a
+    :border 1px solid #c3deeb
+    :background #fff
+    :color #c3deeb
+    &amp;:hover
+      :border 1px solid #10306A
+      :color #10306A
   span.current
     :border 1px solid #10306A
     :background #10306A</diff>
      <filename>public/stylesheets/sass/blue.sass</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 require(&quot;spec_helper.js&quot;);
 require(&quot;../../public/javascripts/search_box.js&quot;);
-require(&quot;../../public/javascripts/new_comment.js&quot;);
+require(&quot;../../public/javascripts/form_submit_button.js&quot;);
 
 Screw.Unit(function(){
   describe(&quot;With my search box and default text&quot;, function() {
@@ -18,8 +18,8 @@ Screw.Unit(function(){
   
   describe(&quot;Posting a comment&quot;, function() {
     it(&quot;should disable button and replace text&quot;, function() {
-      expect($('#comment_submit').click().attr('disabled')).to(equal, true);
-      expect($('#comment_submit').click().val()).to(equal, 'Please wait...');
+      expect($('#form_submit_button').click().attr('disabled')).to(equal, true);
+      expect($('#form_submit_button').click().val()).to(equal, 'Please wait...');
     });
   });
 });
\ No newline at end of file</diff>
      <filename>test/javascript/application_spec.js</filename>
    </modified>
    <modified>
      <diff>@@ -39,7 +39,7 @@
         &lt;input id=&quot;comment_challenge&quot; name=&quot;comment[challenge]&quot; size=&quot;30&quot; type=&quot;text&quot; /&gt;
       &lt;/p&gt;
       &lt;p&gt;
-        &lt;input id=&quot;comment_submit&quot; name=&quot;commit&quot; type=&quot;submit&quot; value=&quot;Save comment&quot; /&gt;
+        &lt;input id=&quot;form_submit_button&quot; name=&quot;commit&quot; type=&quot;submit&quot; value=&quot;Save comment&quot; /&gt;
       &lt;/p&gt;
     &lt;/form&gt;
   &lt;/div&gt;</diff>
      <filename>test/javascript/fixtures/application.html</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>public/javascripts/new_comment.js</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>16484bf251bab0f73e60b78b1a292dc9aa88e2dd</id>
    </parent>
  </parents>
  <author>
    <name>Andy Atkinson</name>
    <email>andy@webandy.com</email>
  </author>
  <url>http://github.com/webandy/rehash/commit/cad9a47c7915295fe9b3cf4e24190030e82bb01a</url>
  <id>cad9a47c7915295fe9b3cf4e24190030e82bb01a</id>
  <committed-date>2009-10-24T14:47:33-07:00</committed-date>
  <authored-date>2009-10-24T14:47:33-07:00</authored-date>
  <message>style and verbigage tweaks</message>
  <tree>5814d300ddf8ef9304453e0edef8c8e10edb1254</tree>
  <committer>
    <name>Andy Atkinson</name>
    <email>andy@webandy.com</email>
  </committer>
</commit>
