Skip to content
This repository
Browse code

Cleaning up admin

  • Loading branch information...
commit 7b3718856a0034591d0e15a42d5a9c905afcde82 1 parent c931410
Zach Inglis authored August 08, 2008
8  app/views/admin/posts/index.html.haml
@@ -12,11 +12,3 @@
12 12
           %td.title= post.title
13 13
           %td= link_to 'Edit', edit_admin_post_path(post.id)
14 14
           %td= link_to 'Destroy', admin_post_path(post.id), :confirm => 'Are you sure?', :method => :delete
15  
-  / %ul
16  
-  /   - @posts.each do |post|
17  
-  /     %li
18  
-  /       = link_to post, admin_post_path(post.id)
19  
-  /       = link_to 'Edit', edit_admin_post_path(post.id)
20  
-  /       = link_to 'Destroy', admin_post_path(post.id), :confirm => 'Are you sure?', :method => :delete
21  
-
22  
-%p= link_to 'New post', new_admin_post_path
1  app/views/admin/preferences/index.html.haml
... ...
@@ -1 +1,2 @@
1 1
 %h2= page("Preferences")
  2
+  
1  app/views/layouts/admin.html.haml
@@ -23,3 +23,4 @@
23 23
         %ul#subnavigation= yield :subnavigation
24 24
     #page
25 25
       = yield
  26
+      #footer== © #{link_to 'Mouth', 'http://getmouth.com'} 2008
6  public/stylesheets/admin.css
@@ -144,3 +144,9 @@ textarea {
144 144
   float: left;
145 145
   clear: both;
146 146
   margin-top: 25px; }
  147
+
  148
+#footer, #footer a {
  149
+  margin-top: 15px;
  150
+  font-weight: bold;
  151
+  text-align: right;
  152
+  color: #e5d9d9; }
6  public/stylesheets/sass/admin.sass
@@ -163,3 +163,9 @@ textarea
163 163
   float: left
164 164
   clear: both
165 165
   margin-top: 25px
  166
+
  167
+#footer, #footer a
  168
+  margin-top: 15px
  169
+  font-weight: bold
  170
+  text-align: right
  171
+  color: #e5d9d9

0 notes on commit 7b37188

Please sign in to comment.
Something went wrong with that request. Please try again.