Permalink
Browse files

Cleaning up admin

  • Loading branch information...
1 parent c931410 commit 7b3718856a0034591d0e15a42d5a9c905afcde82 @zachinglis committed Aug 8, 2008
View
8 app/views/admin/posts/index.html.haml
@@ -12,11 +12,3 @@
%td.title= post.title
%td= link_to 'Edit', edit_admin_post_path(post.id)
%td= link_to 'Destroy', admin_post_path(post.id), :confirm => 'Are you sure?', :method => :delete
- / %ul
- / - @posts.each do |post|
- / %li
- / = link_to post, admin_post_path(post.id)
- / = link_to 'Edit', edit_admin_post_path(post.id)
- / = link_to 'Destroy', admin_post_path(post.id), :confirm => 'Are you sure?', :method => :delete
-
-%p= link_to 'New post', new_admin_post_path
View
1 app/views/admin/preferences/index.html.haml
@@ -1 +1,2 @@
%h2= page("Preferences")
+
View
1 app/views/layouts/admin.html.haml
@@ -23,3 +23,4 @@
%ul#subnavigation= yield :subnavigation
#page
= yield
+ #footer== © #{link_to 'Mouth', 'http://getmouth.com'} 2008
View
6 public/stylesheets/admin.css
@@ -144,3 +144,9 @@ textarea {
float: left;
clear: both;
margin-top: 25px; }
+
+#footer, #footer a {
+ margin-top: 15px;
+ font-weight: bold;
+ text-align: right;
+ color: #e5d9d9; }
View
6 public/stylesheets/sass/admin.sass
@@ -163,3 +163,9 @@ textarea
float: left
clear: both
margin-top: 25px
+
+#footer, #footer a
+ margin-top: 15px
+ font-weight: bold
+ text-align: right
+ color: #e5d9d9

0 comments on commit 7b37188

Please sign in to comment.