diff options
-rw-r--r-- | app/views/boards/index.html.erb | 8 | ||||
-rw-r--r-- | public/stylesheets/application.css | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/app/views/boards/index.html.erb b/app/views/boards/index.html.erb index 9f5c65b6b..c516b947f 100644 --- a/app/views/boards/index.html.erb +++ b/app/views/boards/index.html.erb @@ -14,15 +14,13 @@ <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "board" %><br /> <%=h board.description %> </td> - <td align="center"><%= board.topics_count %></td> - <td align="center"><%= board.messages_count %></td> - <td> - <small> + <td class="topic-count"><%= board.topics_count %></td> + <td class="message-count"><%= board.messages_count %></td> + <td class="last-message"> <% if board.last_message %> <%= authoring board.last_message.created_on, board.last_message.author %><br /> <%= link_to_message board.last_message %> <% end %> - </small> </td> </tr> <% end %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index cefa58aef..88447e104 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -238,6 +238,8 @@ table.attributes th { vertical-align: top; text-align: left; } table.attributes td { vertical-align: top; } table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; } +table.boards td.topic-count, table.boards td.message-count {text-align:center;} +table.boards td.last-message {font-size:80%;} table.query-columns { border-collapse: collapse; |