Permalink
Browse files

Merge pull request #179 from hcarreras/master

Improving User Index CSS
  • Loading branch information...
2 parents f2e2de8 + bf17251 commit 44071cbf50482f2580422235391c7b9fb31f6976 @PragTob PragTob committed Nov 17, 2013
Showing with 19 additions and 6 deletions.
  1. +16 −1 app/assets/stylesheets/users.css.scss
  2. +3 −5 app/views/users/index.html.haml
@@ -20,4 +20,19 @@
}
}
}
-}
+}
+
+.title {
+ display: inline;
+ margin-right: 10px;
+ margin: 0px;
+}
+
+#user-list {
+ li {
+ list-style-type: none;
+ padding-bottom: 3px;
+ padding-top: 3px;
+ }
+}
+
@@ -1,10 +1,8 @@
=link_to "Create a diffusion", mailer_path(:user => User.all)
-%ul
+%ul#user-list
- @users.each do |user|
%li
- .info
- .title= user.username
- .categories
- .btn.success= link_to "Email him", mailer_path(:user => user)
+ .title= user.username
+ = link_to "Email him", mailer_path(:user => user), :class => "btn small info"
= will_paginate @users

0 comments on commit 44071cb

Please sign in to comment.