diff --git a/app/assets/stylesheets/users.css.scss b/app/assets/stylesheets/users.css.scss index 45be3005..cd972aa5 100644 --- a/app/assets/stylesheets/users.css.scss +++ b/app/assets/stylesheets/users.css.scss @@ -20,4 +20,19 @@ } } } -} \ No newline at end of file +} + +.title { + display: inline; + margin-right: 10px; + margin: 0px; +} + +#user-list { + li { + list-style-type: none; + padding-bottom: 3px; + padding-top: 3px; + } +} + diff --git a/app/views/users/index.html.haml b/app/views/users/index.html.haml index 8c9d2495..2a365243 100644 --- a/app/views/users/index.html.haml +++ b/app/views/users/index.html.haml @@ -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 \ No newline at end of file