summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-24 16:35:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-24 16:35:25 +0000
commitd3600e729fbcbadad2923fadabeabae02620e755 (patch)
tree2e3872e7b06c0b720379d259ffaaf72b34ec5325 /app
parent6c8e1514aa0cde2e89aad6c525ede8feb384ccf8 (diff)
downloadredmine-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')
-rw-r--r--app/views/admin/projects.rhtml11
-rw-r--r--app/views/auth_sources/list.rhtml19
-rw-r--r--app/views/custom_fields/list.rhtml8
-rw-r--r--app/views/issue_statuses/list.rhtml15
-rw-r--r--app/views/issues/_list_simple.rhtml23
-rw-r--r--app/views/layouts/base.rhtml2
-rw-r--r--app/views/my/blocks/_calendar.rhtml14
-rw-r--r--app/views/projects/calendar.rhtml15
-rw-r--r--app/views/projects/list.rhtml9
-rw-r--r--app/views/projects/list_files.rhtml11
-rw-r--r--app/views/projects/list_issues.rhtml44
-rw-r--r--app/views/reports/_details.rhtml21
-rw-r--r--app/views/reports/_simple.rhtml19
-rw-r--r--app/views/roles/list.rhtml9
-rw-r--r--app/views/trackers/list.rhtml9
-rw-r--r--app/views/users/list.rhtml10
16 files changed, 119 insertions, 120 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml
index bcf7cba43..ecfff0357 100644
--- a/app/views/admin/projects.rhtml
+++ b/app/views/admin/projects.rhtml
@@ -4,16 +4,16 @@
<h2><%=l(:label_project_plural)%></h2>
-<table class="listTableContent">
- <tr class="ListHead">
+<table class="list">
+ <thead><tr>
<%= sort_header_tag('name', :caption => l(:label_project)) %>
<th><%=l(:field_description)%></th>
<th><%=l(:field_is_public)%></th>
<th><%=l(:label_subproject_plural)%></th>
<%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
- <th></th>
- </tr>
-
+ <th></th>
+ </tr></thead>
+ <tbody>
<% for project in @projects %>
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %>
@@ -26,6 +26,7 @@
</td>
</tr>
<% end %>
+ </tbody>
</table>
<p><%= pagination_links_full @project_pages %>
diff --git a/app/views/auth_sources/list.rhtml b/app/views/auth_sources/list.rhtml
index 149a1313a..d65e56d96 100644
--- a/app/views/auth_sources/list.rhtml
+++ b/app/views/auth_sources/list.rhtml
@@ -4,28 +4,25 @@
<h2><%=l(:label_auth_source_plural)%></h2>
-<table class="listTableContent">
- <tr class="ListHead">
+<table class="list">
+ <thead><tr>
<th><%=l(:field_name)%></th>
<th><%=l(:field_type)%></th>
<th><%=l(:field_host)%></th>
<th></th>
<th></th>
- </tr>
-
+ </tr></thead>
+ <tbody>
<% for source in @auth_sources %>
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to source.name, :action => 'edit', :id => source%></td>
<td align="center"><%= source.auth_method_name %></td>
<td align="center"><%= source.host %></td>
- <td align="center">
- <%= link_to l(:button_test), :action => 'test_connection', :id => source %>
- </td>
- <td align="center">
- <%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
- </td>
- </tr>
+ <td align="center"><%= link_to l(:button_test), :action => 'test_connection', :id => source %></td>
+ <td align="center"><%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %></td>
+ </tr>
<% end %>
+ </tbody>
</table>
<%= pagination_links_full @auth_source_pages %>
diff --git a/app/views/custom_fields/list.rhtml b/app/views/custom_fields/list.rhtml
index 8e4573aed..eef3e8631 100644
--- a/app/views/custom_fields/list.rhtml
+++ b/app/views/custom_fields/list.rhtml
@@ -1,7 +1,7 @@
<h2><%=l(:label_custom_field_plural)%></h2>
-<table class="listTableContent">
-<tr class="ListHead">
+<table class="list">
+ <thead><tr>
<th><%=l(:field_name)%></th>
<th><%=l(:field_type)%></th>
<th><%=l(:field_field_format)%></th>
@@ -9,7 +9,8 @@
<th><%=l(:field_is_for_all)%></th>
<th><%=l(:label_used_by)%></th>
<th></th>
-</tr>
+ </tr></thead>
+ <tbody>
<% for custom_field in @custom_fields %>
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to custom_field.name, :action => 'edit', :id => custom_field %></td>
@@ -23,6 +24,7 @@
</td>
</tr>
<% end %>
+ </tbody>
</table>
<%= pagination_links_full @custom_field_pages %>
diff --git a/app/views/issue_statuses/list.rhtml b/app/views/issue_statuses/list.rhtml
index 116376b70..c81c88127 100644
--- a/app/views/issue_statuses/list.rhtml
+++ b/app/views/issue_statuses/list.rhtml
@@ -4,26 +4,25 @@
<h2><%=l(:label_issue_status_plural)%></h2>
-<table class="listTableContent">
- <tr class="ListHead">
+<table class="list">
+ <thead><tr>
<th><%=l(:field_status)%></th>
<th><%=l(:field_is_default)%></th>
<th><%=l(:field_is_closed)%></th>
- <th><%=l(:field_html_color)%></th>
<th></th>
- </tr>
-
+ </tr></thead>
+ <tbody>
<% for status in @issue_statuses %>
<tr class="<%= cycle("odd", "even") %>">
- <td><%= link_to status.name, :action => 'edit', :id => status %></td>
+ <td><div class="square" style="background:#<%= status.html_color %>;"></div> <%= link_to status.name, :action => 'edit', :id => status %></td>
<td align="center"><%= image_tag 'true' if status.is_default? %></td>
- <td align="center"><%= image_tag 'true' if status.is_closed? %></td>
- <td><div style="background-color:#<%= status.html_color %>">&nbsp</div></td>
+ <td align="center"><%= image_tag 'true' if status.is_closed? %></td>
<td align="center">
<%= button_to l(:button_delete), { :action => 'destroy', :id => status }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
</td>
</tr>
<% end %>
+ </tbody>
</table>
<%= pagination_links_full @issue_status_pages %> \ No newline at end of file
diff --git a/app/views/issues/_list_simple.rhtml b/app/views/issues/_list_simple.rhtml
index cd2355376..10d880f43 100644
--- a/app/views/issues/_list_simple.rhtml
+++ b/app/views/issues/_list_simple.rhtml
@@ -1,28 +1,25 @@
<% if issues.length > 0 %>
-<table cellspacing="0" cellpadding="1" width="100%" border="0" class="listTable">
- <tr><td>
- <table class="listTableContent">
- <tr class="ListHead">
+ <table class="list">
+ <thead><tr>
<th>#</th>
<th><%=l(:field_tracker)%></th>
<th><%=l(:field_subject)%></th>
- </tr>
+ </tr></thead>
+ <tbody>
<% for issue in issues %>
<tr class="<%= cycle("odd", "even") %>">
- <td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;">
- <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %><br />
- </td>
+ <th align="center">
+ <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
+ </th>
<td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
<%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td>
<td>
<p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p>
</td>
</tr>
- <% end %>
- </table>
- </td>
- </tr>
-</table>
+ <% end %>
+ </tbody>
+ </table>
<% else %>
<i><%=l(:label_no_data)%></i>
<% end %> \ No newline at end of file
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml
index 85b550b75..b2169fd4d 100644
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -91,7 +91,7 @@
<%= link_to l(:label_document_plural), {:controller => 'projects', :action => 'list_documents', :id => @project }, :class => "menuItem" %>
<%= link_to l(:label_member_plural), {:controller => 'projects', :action => 'list_members', :id => @project }, :class => "menuItem" %>
<%= link_to l(:label_attachment_plural), {:controller => 'projects', :action => 'list_files', :id => @project }, :class => "menuItem" %>
- <%= link_to l(:label_repository), {:controller => 'repositories', :action => 'show', :id => @project}, :class => "menuItem" if @project.repository and !@project.repository.new_record? %></li>
+ <%= link_to l(:label_repository), {:controller => 'repositories', :action => 'show', :id => @project}, :class => "menuItem" if @project.repository and !@project.repository.new_record? %>
<%= link_to_if_authorized l(:label_settings), {:controller => 'projects', :action => 'settings', :id => @project }, :class => "menuItem" %>
</div>
<% end %>
diff --git a/app/views/my/blocks/_calendar.rhtml b/app/views/my/blocks/_calendar.rhtml
index fd221bcb4..e57a790cb 100644
--- a/app/views/my/blocks/_calendar.rhtml
+++ b/app/views/my/blocks/_calendar.rhtml
@@ -9,18 +9,19 @@
@issues ||= []
%>
-<table class="calenderTable">
-<tr class="ListHead">
-<td></td>
+<table class="list with-cells">
+<thead><tr>
+<th></th>
<% 1.upto(7) do |d| %>
- <td align="center" width="14%"><%= day_name(d) %></td>
+ <th align="center" width="14%"><%= day_name(d) %></th>
<% end %>
-</tr>
+</tr></thead>
+<tbdoy>
<tr height="100">
<% day = @date_from
while day <= @date_to
if day.cwday == 1 %>
- <td valign="middle"><%= day.cweek %></td>
+ <th valign="middle"><%= day.cweek %></th>
<% end %>
<td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>">
<p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p>
@@ -42,4 +43,5 @@ while day <= @date_to
day = day + 1
end %>
</tr>
+</tbody>
</table> \ No newline at end of file
diff --git a/app/views/projects/calendar.rhtml b/app/views/projects/calendar.rhtml
index 9b0c26ed4..7f7f3813c 100644
--- a/app/views/projects/calendar.rhtml
+++ b/app/views/projects/calendar.rhtml
@@ -25,18 +25,21 @@
</table>
<br />
-<table class="calenderTable">
-<tr class="ListHead">
-<td></td>
+<table class="list with-cells">
+<thead>
+<tr>
+<th></th>
<% 1.upto(7) do |d| %>
- <td align="center" width="14%"><%= day_name(d) %></td>
+ <th width="14%"><%= day_name(d) %></th>
<% end %>
</tr>
+</thead>
+<tbody>
<tr height="100">
<% day = @date_from
while day <= @date_to
if day.cwday == 1 %>
- <td valign="middle"><%= day.cweek %></td>
+ <th><%= day.cweek %></th>
<% end %>
<td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>">
<p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p>
@@ -58,9 +61,9 @@ while day <= @date_to
day = day + 1
end %>
</tr>
+</tbody>
</table>
-<br />
<%= image_tag 'arrow_from' %>&nbsp;&nbsp;<%= l(:text_tip_task_begin_day) %><br />
<%= image_tag 'arrow_to' %>&nbsp;&nbsp;<%= l(:text_tip_task_end_day) %><br />
<%= image_tag 'arrow_bw' %>&nbsp;&nbsp;<%= l(:text_tip_task_begin_end_day) %><br /> \ No newline at end of file
diff --git a/app/views/projects/list.rhtml b/app/views/projects/list.rhtml
index 69e2c064f..59580797d 100644
--- a/app/views/projects/list.rhtml
+++ b/app/views/projects/list.rhtml
@@ -1,12 +1,12 @@
<h2><%=l(:label_public_projects)%></h2>
-<table class="listTableContent">
- <tr class="ListHead">
+<table class="list">
+ <thead><tr>
<%= sort_header_tag('name', :caption => l(:label_project)) %>
<th><%=l(:field_description)%></th>
<%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
- </tr>
-
+ </tr></thead>
+ <tbody>
<% for project in @projects %>
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to project.name, :action => 'show', :id => project %>
@@ -14,6 +14,7 @@
<td align="center"><%= format_date(project.created_on) %>
</tr>
<% end %>
+ </tbody>
</table>
<%= pagination_links_full @project_pages %>
diff --git a/app/views/projects/list_files.rhtml b/app/views/projects/list_files.rhtml
index 61c6d2c80..d2173bae1 100644
--- a/app/views/projects/list_files.rhtml
+++ b/app/views/projects/list_files.rhtml
@@ -6,8 +6,8 @@
<% delete_allowed = authorize_for('versions', 'destroy_file') %>
-<table class="listTableContent">
- <tr class="ListHead">
+<table class="list">
+ <thead><tr>
<th><%=l(:field_version)%></th>
<th><%=l(:field_filename)%></th>
<th><%=l(:label_date)%></th>
@@ -15,11 +15,11 @@
<th>D/L</th>
<th>MD5</th>
<% if delete_allowed %><th></th><% end %>
- </tr>
-
+ </tr></thead>
+ <tbody>
<% for version in @versions %>
<% unless version.attachments.empty? %>
- <tr><td colspan="7"><%= image_tag 'package' %> <b><%= version.name %></b></td></tr>
+ <tr><th colspan="7" align="left"><%= image_tag 'package' %> <b><%= version.name %></b></th></tr>
<% for file in version.attachments %>
<tr class="<%= cycle("odd", "even") %>">
<td></td>
@@ -40,4 +40,5 @@
reset_cycle %>
<% end %>
<% end %>
+ </tbody>
</table> \ No newline at end of file
diff --git a/app/views/projects/list_issues.rhtml b/app/views/projects/list_issues.rhtml
index 190aab838..a8b1db7bc 100644
--- a/app/views/projects/list_issues.rhtml
+++ b/app/views/projects/list_issues.rhtml
@@ -38,54 +38,44 @@
<p><i><%= l(:label_no_data) %></i></p>
<% else %>
&nbsp;
-<table class="listTableContent">
- <tr>
- <td colspan="6" align="left"><small><%= check_all_links 'issues_form' %></small></td>
- <td colspan="2" align="right">
- <small><%= l(:label_per_page) %>:</small>
- <%= start_form_tag %>
- <%= select_tag 'per_page', options_for_select(@results_per_page_options, @results_per_page), :class => 'select-small'%>
- <%= submit_tag l(:button_apply), :class => 'button-small'%>
- <%= end_form_tag %>
- </td>
- </tr>
-</table>
<%= start_form_tag({:controller => 'projects', :action => 'move_issues', :id => @project}, :id => 'issues_form' ) %>
-<table class="listTableContent">
-
- <tr class="ListHead">
- <td></td>
+<table class="list">
+ <thead><tr>
+ <th></th>
<%= sort_header_tag('issues.id', :caption => '#') %>
- <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %>
<%= sort_header_tag('issues.tracker_id', :caption => l(:field_tracker)) %>
+ <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %>
<th><%=l(:field_subject)%></th>
<%= sort_header_tag('users.lastname', :caption => l(:field_author)) %>
<%= sort_header_tag('issues.created_on', :caption => l(:field_created_on)) %>
<%= sort_header_tag('issues.updated_on', :caption => l(:field_updated_on)) %>
- </tr>
+ </tr></thead>
+ <tbody>
<% for issue in @issues %>
<tr class="<%= cycle("odd", "even") %>">
- <td width="15"><%= check_box_tag "issue_ids[]", issue.id %></td>
- <td align="center"><%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %></td>
- <td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;"><%= issue.status.name %></font></td>
+ <th width="15"><%= check_box_tag "issue_ids[]", issue.id %></th>
+ <td align="center"><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td>
<td align="center"><%= issue.tracker.name %></td>
+ <td><div class="square" style="background:#<%= issue.status.html_color %>;"></div> <%= issue.status.name %></td>
<td><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></td>
<td align="center"><%= issue.author.display_name %></td>
<td align="center"><%= format_time(issue.created_on) %></td>
<td align="center"><%= format_time(issue.updated_on) %></td>
</tr>
- <% end %>
+ <% end %>
+ </tbody>
</table>
<div class="contextual">
<%= l(:label_export_to) %>
-<%= link_to 'CSV', {:action => 'export_issues_csv', :id => @project}, :class => 'pic picCsv' %>,
+<%= link_to 'CSV', {:action => 'export_issues_csv', :id => @project}, :class => 'icon file' %>,
<%= link_to 'PDF', {:action => 'export_issues_pdf', :id => @project}, :class => 'pic picPdf' %>
</div>
-<p>
+
+<%= submit_tag l(:button_move), :class => "button-small" %>
+<%= end_form_tag %>
+&nbsp;
<%= pagination_links_full @issue_pages %>
[ <%= @issue_pages.current.first_item %> - <%= @issue_pages.current.last_item %> / <%= @issue_count %> ]
-</p>
-<%= submit_tag l(:button_move) %>
-<%= end_form_tag %>
+
<% end %>
<% end %> \ No newline at end of file
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
diff --git a/app/views/roles/list.rhtml b/app/views/roles/list.rhtml
index 9ef566892..0e8109c8b 100644
--- a/app/views/roles/list.rhtml
+++ b/app/views/roles/list.rhtml
@@ -4,12 +4,12 @@
<h2><%=l(:label_role_plural)%></h2>
-<table class="listTableContent">
- <tr class="ListHead">
+<table class="list">
+ <thead><tr>
<th><%=l(:label_role)%></th>
<th></th>
- </tr>
-
+ </tr></thead>
+ <tbody>
<% for role in @roles %>
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to role.name, :action => 'edit', :id => role %></td>
@@ -17,6 +17,7 @@
<%= button_to l(:button_delete), { :action => 'destroy', :id => role }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
</tr>
<% end %>
+ </tbody>
</table>
<%= pagination_links_full @role_pages %> \ No newline at end of file
diff --git a/app/views/trackers/list.rhtml b/app/views/trackers/list.rhtml
index 0e8e5c330..188562684 100644
--- a/app/views/trackers/list.rhtml
+++ b/app/views/trackers/list.rhtml
@@ -4,12 +4,12 @@
<h2><%=l(:label_tracker_plural)%></h2>
-<table class="listTableContent">
- <tr class="ListHead">
+<table class="list">
+ <thead><tr>
<th><%=l(:label_tracker)%></th>
<th></th>
- </tr>
-
+ </tr></thead>
+ <tbody>
<% for tracker in @trackers %>
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td>
@@ -18,6 +18,7 @@
</td>
</tr>
<% end %>
+ </tbody>
</table>
<%= pagination_links_full @tracker_pages %> \ No newline at end of file
diff --git a/app/views/users/list.rhtml b/app/views/users/list.rhtml
index 9dc8eb34c..610234625 100644
--- a/app/views/users/list.rhtml
+++ b/app/views/users/list.rhtml
@@ -4,8 +4,8 @@
<h2><%=l(:label_user_plural)%></h2>
-<table class="listTableContent">
-<tr class="ListHead">
+<table class="list">
+ <thead><tr>
<%= sort_header_tag('login', :caption => l(:field_login)) %>
<%= sort_header_tag('firstname', :caption => l(:field_firstname)) %>
<%= sort_header_tag('lastname', :caption => l(:field_lastname)) %>
@@ -14,8 +14,9 @@
<%= sort_header_tag('status', :caption => l(:field_status)) %>
<%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
<%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on)) %>
- <th></th>
-</tr>
+ <th></th>
+ </tr></thead>
+ <tbody>
<% for user in @users %>
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to user.login, :action => 'edit', :id => user %></td>
@@ -39,6 +40,7 @@
</td>
</tr>
<% end %>
+ </tbody>
</table>
<p><%= pagination_links_full @user_pages %>