<% for board in @boards %>
<tr class="<%= cycle 'odd', 'even' %>">
<td>
- <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "icon22 icon22-comment" %><br />
+ <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "board" %><br />
<%=h board.description %>
</td>
<td align="center"><%= board.topics_count %></td>
<br />
<% unless @replies.empty? %>
-<h3 class="icon22 icon22-comment"><%= l(:label_reply_plural) %></h3>
+<h3 class="comments"><%= l(:label_reply_plural) %></h3>
<% @replies.each do |message| %>
<div class="message reply" id="<%= "message-#{message.id}" %>">
<div class="contextual">
<br />
<div id="comments" style="margin-bottom:16px;">
-<h3 class="icon22 icon22-comment"><%= l(:label_comment_plural) %></h3>
+<h3 class="comments"><%= l(:label_comment_plural) %></h3>
<% @comments.each do |comment| %>
<% next if comment.new_record? %>
<div class="contextual">
<div id="roadmap">
<% @versions.each do |version| %>
<%= tag 'a', :name => version.name %>
- <h3 class="icon22 icon22-package"><%= link_to_version version %></h3>
+ <h3 class="version"><%= link_to_version version %></h3>
<%= render :partial => 'versions/overview', :locals => {:version => version} %>
<%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>
</ul>
<% if User.current.allowed_to?(:view_issues, @project) %>
- <div class="box">
- <h3 class="icon22 icon22-tracker"><%=l(:label_issue_tracking)%></h3>
+ <div class="issues box">
+ <h3><%=l(:label_issue_tracking)%></h3>
<ul>
<% for tracker in @trackers %>
<li><%= link_to tracker.name, :controller => 'issues', :action => 'index', :project_id => @project,
<div class="splitcontentright">
<% if @users_by_role.any? %>
- <div class="box">
- <h3 class="icon22 icon22-users"><%=l(:label_member_plural)%></h3>
+ <div class="members box">
+ <h3><%=l(:label_member_plural)%></h3>
<p><% @users_by_role.keys.sort.each do |role| %>
<%=h role %>: <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ") %><br />
<% end %></p>
<% end %>
<% if @news.any? && authorize_for('news', 'index') %>
- <div class="box">
+ <div class="news box">
<h3><%=l(:label_news_latest)%></h3>
<%= render :partial => 'news/news', :collection => @news %>
<p><%= link_to l(:label_news_view_all), :controller => 'news', :action => 'index', :project_id => @project %></p>
<div class="splitcontentleft">
<%= textilizable Setting.welcome_text %>
<% if @news.any? %>
- <div class="box">
+ <div class="news box">
<h3><%=l(:label_news_latest)%></h3>
<%= render :partial => 'news/news', :collection => @news %>
<%= link_to l(:label_news_view_all), :controller => 'news' %>
<div class="splitcontentright">
<% if @projects.any? %>
- <div class="box">
- <h3 class="icon22 icon22-projects"><%=l(:label_project_latest)%></h3>
+ <div class="projects box">
+ <h3><%=l(:label_project_latest)%></h3>
<ul>
<% for project in @projects %>
<li>
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; }
+
td.center {text-align:center;}
+h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
+
+div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
+div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
+div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
+div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
+
.highlight { background-color: #FCFD8D;}
.highlight.token-1 { background-color: #faa;}
.highlight.token-2 { background-color: #afa;}
padding-bottom: 3px;
}
-.icon22 {
-background-position: 0% 40%;
-background-repeat: no-repeat;
-padding-left: 26px;
-line-height: 22px;
-vertical-align: middle;
-}
-
.icon-add { background-image: url(../images/add.png); }
.icon-edit { background-image: url(../images/edit.png); }
.icon-copy { background-image: url(../images/copy.png); }
.icon-file.application-zip { background-image: url(../images/files/zip.png); }
.icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
-.icon22-projects { background-image: url(../images/22x22/projects.png); }
-.icon22-users { background-image: url(../images/22x22/users.png); }
-.icon22-groups { background-image: url(../images/22x22/groups.png); }
-.icon22-tracker { background-image: url(../images/22x22/tracker.png); }
-.icon22-role { background-image: url(../images/22x22/role.png); }
-.icon22-workflow { background-image: url(../images/22x22/workflow.png); }
-.icon22-options { background-image: url(../images/22x22/options.png); }
-.icon22-notifications { background-image: url(../images/22x22/notifications.png); }
-.icon22-authent { background-image: url(../images/22x22/authent.png); }
-.icon22-info { background-image: url(../images/22x22/info.png); }
-.icon22-comment { background-image: url(../images/22x22/comment.png); }
-.icon22-package { background-image: url(../images/22x22/package.png); }
-.icon22-settings { background-image: url(../images/22x22/settings.png); }
-.icon22-plugin { background-image: url(../images/22x22/plugin.png); }
-
img.gravatar {
padding: 2px;
border: solid 1px #d5d5d5;