diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-29 11:23:59 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-29 11:23:59 +0000 |
commit | a0b2ab338e0b61dd4d73f858c1bd16394ca518a5 (patch) | |
tree | 59d50a571d62c1ff68cd5d38c949bac3f3f46664 | |
parent | 308010c7c9b3ea988cb3c99fbf03f63b6a051d22 (diff) | |
download | redmine-a0b2ab338e0b61dd4d73f858c1bd16394ca518a5.tar.gz redmine-a0b2ab338e0b61dd4d73f858c1bd16394ca518a5.zip |
Removed inline styles.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10117 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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; |