diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-24 16:35:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-24 16:35:25 +0000 |
commit | d3600e729fbcbadad2923fadabeabae02620e755 (patch) | |
tree | 2e3872e7b06c0b720379d259ffaaf72b34ec5325 /app/views/reports | |
parent | 6c8e1514aa0cde2e89aad6c525ede8feb384ccf8 (diff) | |
download | redmine-d3600e729fbcbadad2923fadabeabae02620e755.tar.gz redmine-d3600e729fbcbadad2923fadabeabae02620e755.zip |
css cleaning
git-svn-id: http://redmine.rubyforge.org/svn/trunk@108 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/reports')
-rw-r--r-- | app/views/reports/_details.rhtml | 21 | ||||
-rw-r--r-- | app/views/reports/_simple.rhtml | 19 |
2 files changed, 21 insertions, 19 deletions
diff --git a/app/views/reports/_details.rhtml b/app/views/reports/_details.rhtml index 12a16c1e7..1d791e0c7 100644 --- a/app/views/reports/_details.rhtml +++ b/app/views/reports/_details.rhtml @@ -2,17 +2,17 @@ <p><i><%=l(:label_no_data)%></i></p>
<% else %>
<% col_width = 70 / (@statuses.length+3) %>
-<table class="reportTableContent">
-<tr>
-<td width="25%"></td>
+<table class="list">
+<thead><tr>
+<th width="25%"></th>
<% for status in @statuses %>
- <td align="center" width="<%= col_width %>%" bgcolor="#<%= status.html_color %>"><small><%= status.name %></small></td>
+<th width="<%= col_width %>%" style="text-align:left;"><div class="square" style="background:#<%= status.html_color %>;"></div> <small><%= status.name %></small></th>
<% end %>
-<td align="center" width="<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></td>
-<td align="center" width="<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></td>
-<td align="center" width="<%= col_width %>%"><strong><%=l(:label_total)%></strong></td>
-</tr>
-
+<th align="center" width="<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></th>
+<th align="center" width="<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></th>
+<th align="center" width="<%= col_width %>%"><strong><%=l(:label_total)%></strong></th>
+</tr></thead>
+<tbody>
<% for row in rows %>
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project,
@@ -40,8 +40,9 @@ :set_filter => 1,
"#{field_name}" => row.id,
"status_id" => "*" %></td>
-<% end %>
</tr>
+<% end %>
+</tbody>
</table>
<% end
reset_cycle %>
\ No newline at end of file diff --git a/app/views/reports/_simple.rhtml b/app/views/reports/_simple.rhtml index 778b9cbde..24cbd9b7f 100644 --- a/app/views/reports/_simple.rhtml +++ b/app/views/reports/_simple.rhtml @@ -1,14 +1,14 @@ <% if @statuses.empty? or rows.empty? %>
<p><i><%=l(:label_no_data)%></i></p>
<% else %>
-<table class="reportTableContent">
-<tr>
-<td width="25%"></td>
-<td align="center" width="25%"><%=l(:label_open_issues_plural)%></td>
-<td align="center" width="25%"><%=l(:label_closed_issues_plural)%></td>
-<td align="center" width="25%"><%=l(:label_total)%></td>
-</tr>
-
+<table class="list">
+<thead><tr>
+<th width="25%"></th>
+<th align="center" width="25%"><%=l(:label_open_issues_plural)%></th>
+<th align="center" width="25%"><%=l(:label_closed_issues_plural)%></th>
+<th align="center" width="25%"><%=l(:label_total)%></th>
+</tr></thead>
+<tbody>
<% for row in rows %>
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project,
@@ -29,8 +29,9 @@ :set_filter => 1,
"#{field_name}" => row.id,
"status_id" => "*" %></td>
-<% end %>
</tr>
+<% end %>
+</tbody>
</table>
<% end
reset_cycle %>
\ No newline at end of file |