diff --git a/app/assets/stylesheets/_variables.scss b/app/assets/stylesheets/_variables.scss index 6c114b9..89ce236 100644 --- a/app/assets/stylesheets/_variables.scss +++ b/app/assets/stylesheets/_variables.scss @@ -58,8 +58,8 @@ $dark-gray: #21262A; $medium-gray: #2F383D; -$light-blue: darken(#2FB0E7, 10); -$light-gray: darken(#ECF1F5, 10); +$light-blue: darken(#2FB0E7, 5); +$light-gray: darken(#ECF1F5, 5); $light-red: #e56c69; $light-yellow: #FFF6BF; $light-green: #1f7f5c; diff --git a/app/assets/stylesheets/pages/_news.scss b/app/assets/stylesheets/pages/_news.scss index 124b021..31ef3a2 100644 --- a/app/assets/stylesheets/pages/_news.scss +++ b/app/assets/stylesheets/pages/_news.scss @@ -83,6 +83,21 @@ div.article-links { } } +table.articles.archive { + + .title { + width: 50%; + } + + .date { + width: 20%; + } + + .author { + width: 20%; + } +} + /* Article Form */ diff --git a/app/views/articles/_list.html.erb b/app/views/articles/_list.html.erb index e3b0120..9be0226 100644 --- a/app/views/articles/_list.html.erb +++ b/app/views/articles/_list.html.erb @@ -1,25 +1,21 @@ -
Title | -Category | -Date | -Author | -Cmts. | -+ | Title | +Date | +Author | +|
---|---|---|---|---|---|---|---|---|---|
<%= namelink article, 35 %> | -<%= namelink article.category %> | <%= shortdate article.created_at %> | <%= namelink article.user %> | -<%= h article.comments.count %> | -+ | <% if article.can_update? cuser %> - <%= link_to 'Edit', edit_article_path(article) %> + <%= link_to icon('pencil'), edit_article_path(article) %> <% end; if article.can_destroy? cuser %> - <%= link_to 'Destroy', article, :confirm => 'Are you sure?', :method => :delete %> + <%= link_to icon('times'), article, confirm: 'Are you sure?', method: :delete %> <% end %> |