##// END OF EJS Templates
css cleaning...
Jean-Philippe Lang -
r105:d3600e729fbc
parent child
Show More
@@ -4,16 +4,16
4
4
5 <h2><%=l(:label_project_plural)%></h2>
5 <h2><%=l(:label_project_plural)%></h2>
6
6
7 <table class="listTableContent">
7 <table class="list">
8 <tr class="ListHead">
8 <thead><tr>
9 <%= sort_header_tag('name', :caption => l(:label_project)) %>
9 <%= sort_header_tag('name', :caption => l(:label_project)) %>
10 <th><%=l(:field_description)%></th>
10 <th><%=l(:field_description)%></th>
11 <th><%=l(:field_is_public)%></th>
11 <th><%=l(:field_is_public)%></th>
12 <th><%=l(:label_subproject_plural)%></th>
12 <th><%=l(:label_subproject_plural)%></th>
13 <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
13 <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
14 <th></th>
14 <th></th>
15 </tr>
15 </tr></thead>
16
16 <tbody>
17 <% for project in @projects %>
17 <% for project in @projects %>
18 <tr class="<%= cycle("odd", "even") %>">
18 <tr class="<%= cycle("odd", "even") %>">
19 <td><%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %>
19 <td><%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %>
@@ -26,6 +26,7
26 </td>
26 </td>
27 </tr>
27 </tr>
28 <% end %>
28 <% end %>
29 </tbody>
29 </table>
30 </table>
30
31
31 <p><%= pagination_links_full @project_pages %>
32 <p><%= pagination_links_full @project_pages %>
@@ -4,28 +4,25
4
4
5 <h2><%=l(:label_auth_source_plural)%></h2>
5 <h2><%=l(:label_auth_source_plural)%></h2>
6
6
7 <table class="listTableContent">
7 <table class="list">
8 <tr class="ListHead">
8 <thead><tr>
9 <th><%=l(:field_name)%></th>
9 <th><%=l(:field_name)%></th>
10 <th><%=l(:field_type)%></th>
10 <th><%=l(:field_type)%></th>
11 <th><%=l(:field_host)%></th>
11 <th><%=l(:field_host)%></th>
12 <th></th>
12 <th></th>
13 <th></th>
13 <th></th>
14 </tr>
14 </tr></thead>
15
15 <tbody>
16 <% for source in @auth_sources %>
16 <% for source in @auth_sources %>
17 <tr class="<%= cycle("odd", "even") %>">
17 <tr class="<%= cycle("odd", "even") %>">
18 <td><%= link_to source.name, :action => 'edit', :id => source%></td>
18 <td><%= link_to source.name, :action => 'edit', :id => source%></td>
19 <td align="center"><%= source.auth_method_name %></td>
19 <td align="center"><%= source.auth_method_name %></td>
20 <td align="center"><%= source.host %></td>
20 <td align="center"><%= source.host %></td>
21 <td align="center">
21 <td align="center"><%= link_to l(:button_test), :action => 'test_connection', :id => source %></td>
22 <%= link_to l(:button_test), :action => 'test_connection', :id => source %>
22 <td align="center"><%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %></td>
23 </td>
23 </tr>
24 <td align="center">
25 <%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
26 </td>
27 </tr>
28 <% end %>
24 <% end %>
25 </tbody>
29 </table>
26 </table>
30
27
31 <%= pagination_links_full @auth_source_pages %>
28 <%= pagination_links_full @auth_source_pages %>
@@ -1,7 +1,7
1 <h2><%=l(:label_custom_field_plural)%></h2>
1 <h2><%=l(:label_custom_field_plural)%></h2>
2
2
3 <table class="listTableContent">
3 <table class="list">
4 <tr class="ListHead">
4 <thead><tr>
5 <th><%=l(:field_name)%></th>
5 <th><%=l(:field_name)%></th>
6 <th><%=l(:field_type)%></th>
6 <th><%=l(:field_type)%></th>
7 <th><%=l(:field_field_format)%></th>
7 <th><%=l(:field_field_format)%></th>
@@ -9,7 +9,8
9 <th><%=l(:field_is_for_all)%></th>
9 <th><%=l(:field_is_for_all)%></th>
10 <th><%=l(:label_used_by)%></th>
10 <th><%=l(:label_used_by)%></th>
11 <th></th>
11 <th></th>
12 </tr>
12 </tr></thead>
13 <tbody>
13 <% for custom_field in @custom_fields %>
14 <% for custom_field in @custom_fields %>
14 <tr class="<%= cycle("odd", "even") %>">
15 <tr class="<%= cycle("odd", "even") %>">
15 <td><%= link_to custom_field.name, :action => 'edit', :id => custom_field %></td>
16 <td><%= link_to custom_field.name, :action => 'edit', :id => custom_field %></td>
@@ -23,6 +24,7
23 </td>
24 </td>
24 </tr>
25 </tr>
25 <% end %>
26 <% end %>
27 </tbody>
26 </table>
28 </table>
27
29
28 <%= pagination_links_full @custom_field_pages %>
30 <%= pagination_links_full @custom_field_pages %>
@@ -4,26 +4,25
4
4
5 <h2><%=l(:label_issue_status_plural)%></h2>
5 <h2><%=l(:label_issue_status_plural)%></h2>
6
6
7 <table class="listTableContent">
7 <table class="list">
8 <tr class="ListHead">
8 <thead><tr>
9 <th><%=l(:field_status)%></th>
9 <th><%=l(:field_status)%></th>
10 <th><%=l(:field_is_default)%></th>
10 <th><%=l(:field_is_default)%></th>
11 <th><%=l(:field_is_closed)%></th>
11 <th><%=l(:field_is_closed)%></th>
12 <th><%=l(:field_html_color)%></th>
13 <th></th>
12 <th></th>
14 </tr>
13 </tr></thead>
15
14 <tbody>
16 <% for status in @issue_statuses %>
15 <% for status in @issue_statuses %>
17 <tr class="<%= cycle("odd", "even") %>">
16 <tr class="<%= cycle("odd", "even") %>">
18 <td><%= link_to status.name, :action => 'edit', :id => status %></td>
17 <td><div class="square" style="background:#<%= status.html_color %>;"></div> <%= link_to status.name, :action => 'edit', :id => status %></td>
19 <td align="center"><%= image_tag 'true' if status.is_default? %></td>
18 <td align="center"><%= image_tag 'true' if status.is_default? %></td>
20 <td align="center"><%= image_tag 'true' if status.is_closed? %></td>
19 <td align="center"><%= image_tag 'true' if status.is_closed? %></td>
21 <td><div style="background-color:#<%= status.html_color %>">&nbsp</div></td>
22 <td align="center">
20 <td align="center">
23 <%= button_to l(:button_delete), { :action => 'destroy', :id => status }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
21 <%= button_to l(:button_delete), { :action => 'destroy', :id => status }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
24 </td>
22 </td>
25 </tr>
23 </tr>
26 <% end %>
24 <% end %>
25 </tbody>
27 </table>
26 </table>
28
27
29 <%= pagination_links_full @issue_status_pages %> No newline at end of file
28 <%= pagination_links_full @issue_status_pages %>
@@ -1,28 +1,25
1 <% if issues.length > 0 %>
1 <% if issues.length > 0 %>
2 <table cellspacing="0" cellpadding="1" width="100%" border="0" class="listTable">
2 <table class="list">
3 <tr><td>
3 <thead><tr>
4 <table class="listTableContent">
5 <tr class="ListHead">
6 <th>#</th>
4 <th>#</th>
7 <th><%=l(:field_tracker)%></th>
5 <th><%=l(:field_tracker)%></th>
8 <th><%=l(:field_subject)%></th>
6 <th><%=l(:field_subject)%></th>
9 </tr>
7 </tr></thead>
8 <tbody>
10 <% for issue in issues %>
9 <% for issue in issues %>
11 <tr class="<%= cycle("odd", "even") %>">
10 <tr class="<%= cycle("odd", "even") %>">
12 <td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;">
11 <th align="center">
13 <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %><br />
12 <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
14 </td>
13 </th>
15 <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
14 <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
16 <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td>
15 <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td>
17 <td>
16 <td>
18 <p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p>
17 <p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p>
19 </td>
18 </td>
20 </tr>
19 </tr>
21 <% end %>
20 <% end %>
22 </table>
21 </tbody>
23 </td>
22 </table>
24 </tr>
25 </table>
26 <% else %>
23 <% else %>
27 <i><%=l(:label_no_data)%></i>
24 <i><%=l(:label_no_data)%></i>
28 <% end %> No newline at end of file
25 <% end %>
@@ -91,7 +91,7
91 <%= link_to l(:label_document_plural), {:controller => 'projects', :action => 'list_documents', :id => @project }, :class => "menuItem" %>
91 <%= link_to l(:label_document_plural), {:controller => 'projects', :action => 'list_documents', :id => @project }, :class => "menuItem" %>
92 <%= link_to l(:label_member_plural), {:controller => 'projects', :action => 'list_members', :id => @project }, :class => "menuItem" %>
92 <%= link_to l(:label_member_plural), {:controller => 'projects', :action => 'list_members', :id => @project }, :class => "menuItem" %>
93 <%= link_to l(:label_attachment_plural), {:controller => 'projects', :action => 'list_files', :id => @project }, :class => "menuItem" %>
93 <%= link_to l(:label_attachment_plural), {:controller => 'projects', :action => 'list_files', :id => @project }, :class => "menuItem" %>
94 <%= link_to l(:label_repository), {:controller => 'repositories', :action => 'show', :id => @project}, :class => "menuItem" if @project.repository and !@project.repository.new_record? %></li>
94 <%= link_to l(:label_repository), {:controller => 'repositories', :action => 'show', :id => @project}, :class => "menuItem" if @project.repository and !@project.repository.new_record? %>
95 <%= link_to_if_authorized l(:label_settings), {:controller => 'projects', :action => 'settings', :id => @project }, :class => "menuItem" %>
95 <%= link_to_if_authorized l(:label_settings), {:controller => 'projects', :action => 'settings', :id => @project }, :class => "menuItem" %>
96 </div>
96 </div>
97 <% end %>
97 <% end %>
@@ -9,18 +9,19
9 @issues ||= []
9 @issues ||= []
10 %>
10 %>
11
11
12 <table class="calenderTable">
12 <table class="list with-cells">
13 <tr class="ListHead">
13 <thead><tr>
14 <td></td>
14 <th></th>
15 <% 1.upto(7) do |d| %>
15 <% 1.upto(7) do |d| %>
16 <td align="center" width="14%"><%= day_name(d) %></td>
16 <th align="center" width="14%"><%= day_name(d) %></th>
17 <% end %>
17 <% end %>
18 </tr>
18 </tr></thead>
19 <tbdoy>
19 <tr height="100">
20 <tr height="100">
20 <% day = @date_from
21 <% day = @date_from
21 while day <= @date_to
22 while day <= @date_to
22 if day.cwday == 1 %>
23 if day.cwday == 1 %>
23 <td valign="middle"><%= day.cweek %></td>
24 <th valign="middle"><%= day.cweek %></th>
24 <% end %>
25 <% end %>
25 <td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>">
26 <td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>">
26 <p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p>
27 <p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p>
@@ -42,4 +43,5 while day <= @date_to
42 day = day + 1
43 day = day + 1
43 end %>
44 end %>
44 </tr>
45 </tr>
46 </tbody>
45 </table> No newline at end of file
47 </table>
@@ -25,18 +25,21
25 </table>
25 </table>
26 <br />
26 <br />
27
27
28 <table class="calenderTable">
28 <table class="list with-cells">
29 <tr class="ListHead">
29 <thead>
30 <td></td>
30 <tr>
31 <th></th>
31 <% 1.upto(7) do |d| %>
32 <% 1.upto(7) do |d| %>
32 <td align="center" width="14%"><%= day_name(d) %></td>
33 <th width="14%"><%= day_name(d) %></th>
33 <% end %>
34 <% end %>
34 </tr>
35 </tr>
36 </thead>
37 <tbody>
35 <tr height="100">
38 <tr height="100">
36 <% day = @date_from
39 <% day = @date_from
37 while day <= @date_to
40 while day <= @date_to
38 if day.cwday == 1 %>
41 if day.cwday == 1 %>
39 <td valign="middle"><%= day.cweek %></td>
42 <th><%= day.cweek %></th>
40 <% end %>
43 <% end %>
41 <td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>">
44 <td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>">
42 <p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p>
45 <p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p>
@@ -58,9 +61,9 while day <= @date_to
58 day = day + 1
61 day = day + 1
59 end %>
62 end %>
60 </tr>
63 </tr>
64 </tbody>
61 </table>
65 </table>
62
66
63 <br />
64 <%= image_tag 'arrow_from' %>&nbsp;&nbsp;<%= l(:text_tip_task_begin_day) %><br />
67 <%= image_tag 'arrow_from' %>&nbsp;&nbsp;<%= l(:text_tip_task_begin_day) %><br />
65 <%= image_tag 'arrow_to' %>&nbsp;&nbsp;<%= l(:text_tip_task_end_day) %><br />
68 <%= image_tag 'arrow_to' %>&nbsp;&nbsp;<%= l(:text_tip_task_end_day) %><br />
66 <%= image_tag 'arrow_bw' %>&nbsp;&nbsp;<%= l(:text_tip_task_begin_end_day) %><br /> No newline at end of file
69 <%= image_tag 'arrow_bw' %>&nbsp;&nbsp;<%= l(:text_tip_task_begin_end_day) %><br />
@@ -1,12 +1,12
1 <h2><%=l(:label_public_projects)%></h2>
1 <h2><%=l(:label_public_projects)%></h2>
2
2
3 <table class="listTableContent">
3 <table class="list">
4 <tr class="ListHead">
4 <thead><tr>
5 <%= sort_header_tag('name', :caption => l(:label_project)) %>
5 <%= sort_header_tag('name', :caption => l(:label_project)) %>
6 <th><%=l(:field_description)%></th>
6 <th><%=l(:field_description)%></th>
7 <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
7 <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
8 </tr>
8 </tr></thead>
9
9 <tbody>
10 <% for project in @projects %>
10 <% for project in @projects %>
11 <tr class="<%= cycle("odd", "even") %>">
11 <tr class="<%= cycle("odd", "even") %>">
12 <td><%= link_to project.name, :action => 'show', :id => project %>
12 <td><%= link_to project.name, :action => 'show', :id => project %>
@@ -14,6 +14,7
14 <td align="center"><%= format_date(project.created_on) %>
14 <td align="center"><%= format_date(project.created_on) %>
15 </tr>
15 </tr>
16 <% end %>
16 <% end %>
17 </tbody>
17 </table>
18 </table>
18
19
19 <%= pagination_links_full @project_pages %>
20 <%= pagination_links_full @project_pages %>
@@ -6,8 +6,8
6
6
7 <% delete_allowed = authorize_for('versions', 'destroy_file') %>
7 <% delete_allowed = authorize_for('versions', 'destroy_file') %>
8
8
9 <table class="listTableContent">
9 <table class="list">
10 <tr class="ListHead">
10 <thead><tr>
11 <th><%=l(:field_version)%></th>
11 <th><%=l(:field_version)%></th>
12 <th><%=l(:field_filename)%></th>
12 <th><%=l(:field_filename)%></th>
13 <th><%=l(:label_date)%></th>
13 <th><%=l(:label_date)%></th>
@@ -15,11 +15,11
15 <th>D/L</th>
15 <th>D/L</th>
16 <th>MD5</th>
16 <th>MD5</th>
17 <% if delete_allowed %><th></th><% end %>
17 <% if delete_allowed %><th></th><% end %>
18 </tr>
18 </tr></thead>
19
19 <tbody>
20 <% for version in @versions %>
20 <% for version in @versions %>
21 <% unless version.attachments.empty? %>
21 <% unless version.attachments.empty? %>
22 <tr><td colspan="7"><%= image_tag 'package' %> <b><%= version.name %></b></td></tr>
22 <tr><th colspan="7" align="left"><%= image_tag 'package' %> <b><%= version.name %></b></th></tr>
23 <% for file in version.attachments %>
23 <% for file in version.attachments %>
24 <tr class="<%= cycle("odd", "even") %>">
24 <tr class="<%= cycle("odd", "even") %>">
25 <td></td>
25 <td></td>
@@ -40,4 +40,5
40 reset_cycle %>
40 reset_cycle %>
41 <% end %>
41 <% end %>
42 <% end %>
42 <% end %>
43 </tbody>
43 </table> No newline at end of file
44 </table>
@@ -38,54 +38,44
38 <p><i><%= l(:label_no_data) %></i></p>
38 <p><i><%= l(:label_no_data) %></i></p>
39 <% else %>
39 <% else %>
40 &nbsp;
40 &nbsp;
41 <table class="listTableContent">
42 <tr>
43 <td colspan="6" align="left"><small><%= check_all_links 'issues_form' %></small></td>
44 <td colspan="2" align="right">
45 <small><%= l(:label_per_page) %>:</small>
46 <%= start_form_tag %>
47 <%= select_tag 'per_page', options_for_select(@results_per_page_options, @results_per_page), :class => 'select-small'%>
48 <%= submit_tag l(:button_apply), :class => 'button-small'%>
49 <%= end_form_tag %>
50 </td>
51 </tr>
52 </table>
53 <%= start_form_tag({:controller => 'projects', :action => 'move_issues', :id => @project}, :id => 'issues_form' ) %>
41 <%= start_form_tag({:controller => 'projects', :action => 'move_issues', :id => @project}, :id => 'issues_form' ) %>
54 <table class="listTableContent">
42 <table class="list">
55
43 <thead><tr>
56 <tr class="ListHead">
44 <th></th>
57 <td></td>
58 <%= sort_header_tag('issues.id', :caption => '#') %>
45 <%= sort_header_tag('issues.id', :caption => '#') %>
59 <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %>
60 <%= sort_header_tag('issues.tracker_id', :caption => l(:field_tracker)) %>
46 <%= sort_header_tag('issues.tracker_id', :caption => l(:field_tracker)) %>
47 <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %>
61 <th><%=l(:field_subject)%></th>
48 <th><%=l(:field_subject)%></th>
62 <%= sort_header_tag('users.lastname', :caption => l(:field_author)) %>
49 <%= sort_header_tag('users.lastname', :caption => l(:field_author)) %>
63 <%= sort_header_tag('issues.created_on', :caption => l(:field_created_on)) %>
50 <%= sort_header_tag('issues.created_on', :caption => l(:field_created_on)) %>
64 <%= sort_header_tag('issues.updated_on', :caption => l(:field_updated_on)) %>
51 <%= sort_header_tag('issues.updated_on', :caption => l(:field_updated_on)) %>
65 </tr>
52 </tr></thead>
53 <tbody>
66 <% for issue in @issues %>
54 <% for issue in @issues %>
67 <tr class="<%= cycle("odd", "even") %>">
55 <tr class="<%= cycle("odd", "even") %>">
68 <td width="15"><%= check_box_tag "issue_ids[]", issue.id %></td>
56 <th width="15"><%= check_box_tag "issue_ids[]", issue.id %></th>
69 <td align="center"><%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %></td>
57 <td align="center"><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td>
70 <td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;"><%= issue.status.name %></font></td>
71 <td align="center"><%= issue.tracker.name %></td>
58 <td align="center"><%= issue.tracker.name %></td>
59 <td><div class="square" style="background:#<%= issue.status.html_color %>;"></div> <%= issue.status.name %></td>
72 <td><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></td>
60 <td><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></td>
73 <td align="center"><%= issue.author.display_name %></td>
61 <td align="center"><%= issue.author.display_name %></td>
74 <td align="center"><%= format_time(issue.created_on) %></td>
62 <td align="center"><%= format_time(issue.created_on) %></td>
75 <td align="center"><%= format_time(issue.updated_on) %></td>
63 <td align="center"><%= format_time(issue.updated_on) %></td>
76 </tr>
64 </tr>
77 <% end %>
65 <% end %>
66 </tbody>
78 </table>
67 </table>
79 <div class="contextual">
68 <div class="contextual">
80 <%= l(:label_export_to) %>
69 <%= l(:label_export_to) %>
81 <%= link_to 'CSV', {:action => 'export_issues_csv', :id => @project}, :class => 'pic picCsv' %>,
70 <%= link_to 'CSV', {:action => 'export_issues_csv', :id => @project}, :class => 'icon file' %>,
82 <%= link_to 'PDF', {:action => 'export_issues_pdf', :id => @project}, :class => 'pic picPdf' %>
71 <%= link_to 'PDF', {:action => 'export_issues_pdf', :id => @project}, :class => 'pic picPdf' %>
83 </div>
72 </div>
84 <p>
73
74 <%= submit_tag l(:button_move), :class => "button-small" %>
75 <%= end_form_tag %>
76 &nbsp;
85 <%= pagination_links_full @issue_pages %>
77 <%= pagination_links_full @issue_pages %>
86 [ <%= @issue_pages.current.first_item %> - <%= @issue_pages.current.last_item %> / <%= @issue_count %> ]
78 [ <%= @issue_pages.current.first_item %> - <%= @issue_pages.current.last_item %> / <%= @issue_count %> ]
87 </p>
79
88 <%= submit_tag l(:button_move) %>
89 <%= end_form_tag %>
90 <% end %>
80 <% end %>
91 <% end %> No newline at end of file
81 <% end %>
@@ -2,17 +2,17
2 <p><i><%=l(:label_no_data)%></i></p>
2 <p><i><%=l(:label_no_data)%></i></p>
3 <% else %>
3 <% else %>
4 <% col_width = 70 / (@statuses.length+3) %>
4 <% col_width = 70 / (@statuses.length+3) %>
5 <table class="reportTableContent">
5 <table class="list">
6 <tr>
6 <thead><tr>
7 <td width="25%"></td>
7 <th width="25%"></th>
8 <% for status in @statuses %>
8 <% for status in @statuses %>
9 <td align="center" width="<%= col_width %>%" bgcolor="#<%= status.html_color %>"><small><%= status.name %></small></td>
9 <th width="<%= col_width %>%" style="text-align:left;"><div class="square" style="background:#<%= status.html_color %>;"></div> <small><%= status.name %></small></th>
10 <% end %>
10 <% end %>
11 <td align="center" width="<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></td>
11 <th align="center" width="<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></th>
12 <td align="center" width="<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></td>
12 <th align="center" width="<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></th>
13 <td align="center" width="<%= col_width %>%"><strong><%=l(:label_total)%></strong></td>
13 <th align="center" width="<%= col_width %>%"><strong><%=l(:label_total)%></strong></th>
14 </tr>
14 </tr></thead>
15
15 <tbody>
16 <% for row in rows %>
16 <% for row in rows %>
17 <tr class="<%= cycle("odd", "even") %>">
17 <tr class="<%= cycle("odd", "even") %>">
18 <td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project,
18 <td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project,
@@ -40,8 +40,9
40 :set_filter => 1,
40 :set_filter => 1,
41 "#{field_name}" => row.id,
41 "#{field_name}" => row.id,
42 "status_id" => "*" %></td>
42 "status_id" => "*" %></td>
43 <% end %>
44 </tr>
43 </tr>
44 <% end %>
45 </tbody>
45 </table>
46 </table>
46 <% end
47 <% end
47 reset_cycle %> No newline at end of file
48 reset_cycle %>
@@ -1,14 +1,14
1 <% if @statuses.empty? or rows.empty? %>
1 <% if @statuses.empty? or rows.empty? %>
2 <p><i><%=l(:label_no_data)%></i></p>
2 <p><i><%=l(:label_no_data)%></i></p>
3 <% else %>
3 <% else %>
4 <table class="reportTableContent">
4 <table class="list">
5 <tr>
5 <thead><tr>
6 <td width="25%"></td>
6 <th width="25%"></th>
7 <td align="center" width="25%"><%=l(:label_open_issues_plural)%></td>
7 <th align="center" width="25%"><%=l(:label_open_issues_plural)%></th>
8 <td align="center" width="25%"><%=l(:label_closed_issues_plural)%></td>
8 <th align="center" width="25%"><%=l(:label_closed_issues_plural)%></th>
9 <td align="center" width="25%"><%=l(:label_total)%></td>
9 <th align="center" width="25%"><%=l(:label_total)%></th>
10 </tr>
10 </tr></thead>
11
11 <tbody>
12 <% for row in rows %>
12 <% for row in rows %>
13 <tr class="<%= cycle("odd", "even") %>">
13 <tr class="<%= cycle("odd", "even") %>">
14 <td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project,
14 <td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project,
@@ -29,8 +29,9
29 :set_filter => 1,
29 :set_filter => 1,
30 "#{field_name}" => row.id,
30 "#{field_name}" => row.id,
31 "status_id" => "*" %></td>
31 "status_id" => "*" %></td>
32 <% end %>
33 </tr>
32 </tr>
33 <% end %>
34 </tbody>
34 </table>
35 </table>
35 <% end
36 <% end
36 reset_cycle %> No newline at end of file
37 reset_cycle %>
@@ -4,12 +4,12
4
4
5 <h2><%=l(:label_role_plural)%></h2>
5 <h2><%=l(:label_role_plural)%></h2>
6
6
7 <table class="listTableContent">
7 <table class="list">
8 <tr class="ListHead">
8 <thead><tr>
9 <th><%=l(:label_role)%></th>
9 <th><%=l(:label_role)%></th>
10 <th></th>
10 <th></th>
11 </tr>
11 </tr></thead>
12
12 <tbody>
13 <% for role in @roles %>
13 <% for role in @roles %>
14 <tr class="<%= cycle("odd", "even") %>">
14 <tr class="<%= cycle("odd", "even") %>">
15 <td><%= link_to role.name, :action => 'edit', :id => role %></td>
15 <td><%= link_to role.name, :action => 'edit', :id => role %></td>
@@ -17,6 +17,7
17 <%= button_to l(:button_delete), { :action => 'destroy', :id => role }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
17 <%= button_to l(:button_delete), { :action => 'destroy', :id => role }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
18 </tr>
18 </tr>
19 <% end %>
19 <% end %>
20 </tbody>
20 </table>
21 </table>
21
22
22 <%= pagination_links_full @role_pages %> No newline at end of file
23 <%= pagination_links_full @role_pages %>
@@ -4,12 +4,12
4
4
5 <h2><%=l(:label_tracker_plural)%></h2>
5 <h2><%=l(:label_tracker_plural)%></h2>
6
6
7 <table class="listTableContent">
7 <table class="list">
8 <tr class="ListHead">
8 <thead><tr>
9 <th><%=l(:label_tracker)%></th>
9 <th><%=l(:label_tracker)%></th>
10 <th></th>
10 <th></th>
11 </tr>
11 </tr></thead>
12
12 <tbody>
13 <% for tracker in @trackers %>
13 <% for tracker in @trackers %>
14 <tr class="<%= cycle("odd", "even") %>">
14 <tr class="<%= cycle("odd", "even") %>">
15 <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td>
15 <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td>
@@ -18,6 +18,7
18 </td>
18 </td>
19 </tr>
19 </tr>
20 <% end %>
20 <% end %>
21 </tbody>
21 </table>
22 </table>
22
23
23 <%= pagination_links_full @tracker_pages %> No newline at end of file
24 <%= pagination_links_full @tracker_pages %>
@@ -4,8 +4,8
4
4
5 <h2><%=l(:label_user_plural)%></h2>
5 <h2><%=l(:label_user_plural)%></h2>
6
6
7 <table class="listTableContent">
7 <table class="list">
8 <tr class="ListHead">
8 <thead><tr>
9 <%= sort_header_tag('login', :caption => l(:field_login)) %>
9 <%= sort_header_tag('login', :caption => l(:field_login)) %>
10 <%= sort_header_tag('firstname', :caption => l(:field_firstname)) %>
10 <%= sort_header_tag('firstname', :caption => l(:field_firstname)) %>
11 <%= sort_header_tag('lastname', :caption => l(:field_lastname)) %>
11 <%= sort_header_tag('lastname', :caption => l(:field_lastname)) %>
@@ -14,8 +14,9
14 <%= sort_header_tag('status', :caption => l(:field_status)) %>
14 <%= sort_header_tag('status', :caption => l(:field_status)) %>
15 <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
15 <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
16 <%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on)) %>
16 <%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on)) %>
17 <th></th>
17 <th></th>
18 </tr>
18 </tr></thead>
19 <tbody>
19 <% for user in @users %>
20 <% for user in @users %>
20 <tr class="<%= cycle("odd", "even") %>">
21 <tr class="<%= cycle("odd", "even") %>">
21 <td><%= link_to user.login, :action => 'edit', :id => user %></td>
22 <td><%= link_to user.login, :action => 'edit', :id => user %></td>
@@ -39,6 +40,7
39 </td>
40 </td>
40 </tr>
41 </tr>
41 <% end %>
42 <% end %>
43 </tbody>
42 </table>
44 </table>
43
45
44 <p><%= pagination_links_full @user_pages %>
46 <p><%= pagination_links_full @user_pages %>
@@ -49,7 +49,6 color:#303030;
49
49
50 #header{
50 #header{
51 height:4.5em;
51 height:4.5em;
52 /*width:758px;*/
53 margin:0;
52 margin:0;
54 background:#467aa7;
53 background:#467aa7;
55 color:#ffffff;
54 color:#ffffff;
@@ -60,7 +59,7 margin-bottom:1px;
60 padding:10px 0 0 20px;
59 padding:10px 0 0 20px;
61 font-size:2em;
60 font-size:2em;
62 background-color:inherit;
61 background-color:inherit;
63 color:#fff; /*rgb(152, 26, 33);*/
62 color:#fff;
64 letter-spacing:-1px;
63 letter-spacing:-1px;
65 font-weight:bold;
64 font-weight:bold;
66 font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
65 font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
@@ -79,7 +78,6 font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
79 #navigation{
78 #navigation{
80 height:2.2em;
79 height:2.2em;
81 line-height:2.2em;
80 line-height:2.2em;
82 /*width:758px;*/
83 margin:0;
81 margin:0;
84 background:#578bb8;
82 background:#578bb8;
85 color:#ffffff;
83 color:#ffffff;
@@ -105,7 +103,6 display:block;
105 padding:0px 10px 0px 22px;
103 padding:0px 10px 0px 22px;
106 font-size:0.8em;
104 font-size:0.8em;
107 font-weight:normal;
105 font-weight:normal;
108 /*text-transform:uppercase;*/
109 text-decoration:none;
106 text-decoration:none;
110 background-color:inherit;
107 background-color:inherit;
111 color: #ffffff;
108 color: #ffffff;
@@ -137,6 +134,16 background-color: #80b0da;
137 .picCsv { background: url(../images/csv.png) no-repeat 4px 50%;}
134 .picCsv { background: url(../images/csv.png) no-repeat 4px 50%;}
138
135
139 .pic { padding-left: 18px; margin-left: 3px; }
136 .pic { padding-left: 18px; margin-left: 3px; }
137
138 .icon {
139 background-position: 0% 40%;
140 background-repeat: no-repeat;
141 padding-left: 20px;
142 }
143
144 .folder { background-image: url(../images/folder.png); }
145 .file { background-image: url(../images/file.png); }
146
140 /**************** Content styles ****************/
147 /**************** Content styles ****************/
141
148
142 html>body #content {
149 html>body #content {
@@ -145,13 +152,10 min-height: 500px;
145 }
152 }
146
153
147 #content{
154 #content{
148 /*float:right;*/
149 /*width:530px;*/
150 width: auto;
155 width: auto;
151 height:500px;
156 height:500px;
152 font-size:0.9em;
157 font-size:0.9em;
153 padding:20px 10px 10px 20px;
158 padding:20px 10px 10px 20px;
154 /*position: absolute;*/
155 margin-left: 120px;
159 margin-left: 120px;
156 border-left: 1px dashed #c0c0c0;
160 border-left: 1px dashed #c0c0c0;
157
161
@@ -170,6 +174,7 font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
170
174
171 #content h2 a{font-weight:normal;}
175 #content h2 a{font-weight:normal;}
172 #content h3{margin:0 0 12px 0; font-size:1.4em;color:#707070;font-family: Trebuchet MS,Georgia,"Times New Roman",serif;}
176 #content h3{margin:0 0 12px 0; font-size:1.4em;color:#707070;font-family: Trebuchet MS,Georgia,"Times New Roman",serif;}
177 #content h4{font-size: 1em; margin-bottom: 12px; margin-top: 20px; font-weight: normal; border-bottom: dotted 1px #c0c0c0;}
173 #content a:hover,#subcontent a:hover{text-decoration:underline;}
178 #content a:hover,#subcontent a:hover{text-decoration:underline;}
174 #content ul,#content ol{margin:0 5px 16px 35px;}
179 #content ul,#content ol{margin:0 5px 16px 35px;}
175 #content dl{margin:0 5px 10px 25px;}
180 #content dl{margin:0 5px 10px 25px;}
@@ -179,37 +184,16 font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
179
184
180 /***********************************************/
185 /***********************************************/
181
186
182 /*
183 form{
184 padding:15px;
185 margin:0 0 20px 0;
186 border:1px solid #c0c0c0;
187 background-color:#CEE1ED;
188 width:600px;
189 }
190 */
191
192 form {
187 form {
193 display: inline;
188 display: inline;
194 }
189 }
195
190
196 .noborder {
197 border:0px;
198 background-color:#fff;
199 width:100%;
200 }
201
202 textarea {
203 padding:0;
204 margin:0;
205 }
206
207 blockquote {
191 blockquote {
208 padding-left: 6px;
192 padding-left: 6px;
209 border-left: 2px solid #ccc;
193 border-left: 2px solid #ccc;
210 }
194 }
211
195
212 input {
196 input, select {
213 vertical-align: middle;
197 vertical-align: middle;
214 }
198 }
215
199
@@ -218,30 +202,18 input.button-small
218 font-size: 0.8em;
202 font-size: 0.8em;
219 }
203 }
220
204
221 select {
222 vertical-align: middle;
223 }
224
225 .select-small
205 .select-small
226 {
206 {
227 border: 1px solid #7F9DB9;
228 padding: 1px;
229 font-size: 0.8em;
207 font-size: 0.8em;
230 }
208 }
231
209
232 .active-filter
233 {
234 background-color: #F9FA9E;
235
236 }
237
238 label {
210 label {
239 font-weight: bold;
211 font-weight: bold;
240 font-size: 1em;
212 font-size: 1em;
241 }
213 }
242
214
243 fieldset {
215 fieldset {
244 border:1px solid #7F9DB9;
216 border:1px solid #c0c0c0;
245 padding: 6px;
217 padding: 6px;
246 }
218 }
247
219
@@ -254,56 +226,52 legend {
254 color: #bb0000;
226 color: #bb0000;
255 }
227 }
256
228
257 table.listTableContent {
258 border:1px solid #578bb8;
259 width:100%;
260 border-collapse: collapse;
261 }
262
263 table.listTableContent td {
264 padding:2px;
265 }
266
267 tr.ListHead {
268 background-color:#467aa7;
269 color:#FFFFFF;
270 text-align:center;
271 }
272
273 tr.ListHead a {
274 color:#FFFFFF;
275 text-decoration:underline;
276 }
277
278 .odd {
229 .odd {
279 background-color:#f0f1f2;
230 background-color:#f6f7f8;
280 }
231 }
281 .even {
232 .even {
282 background-color: #fff;
233 background-color: #fff;
283 }
234 }
284
235
285 table.reportTableContent {
236 hr { border:none; border-bottom: dotted 1px #c0c0c0; }
286 border:1px solid #c0c0c0;
237
287 width:99%;
238 div.square {
288 border-collapse: collapse;
239 border: 1px solid #999;
240 float: left;
241 margin: .4em .5em 0 0;
242 overflow: hidden;
243 width: .6em; height: .6em;
289 }
244 }
290
245
291 table.reportTableContent td {
246 table p {
292 padding:2px;
247 margin:0;
248 padding:0;
293 }
249 }
294
250
295 table.calenderTable {
251 /********** Table used to display lists of things ***********/
296 border:1px solid #578bb8;
252
297 width:99%;
253 table.list {
298 border-collapse: collapse;
254 width:100%;
255 border-collapse: collapse;
256 border: 1px dotted #d0d0d0;
257 margin-bottom: 6px;
299 }
258 }
300
259
301 table.calenderTable td {
260 table.with-cells td {
302 border:1px solid #578bb8;
261 border: 1px solid #d7d7d7;
303 }
262 }
304
263
305 hr { border:none; border-bottom: dotted 1px #c0c0c0; }
264 table.list thead th {
265 text-align: center;
266 background: #eee;
267 border: 1px solid #d7d7d7;
268 }
306
269
270 table.list tbody th {
271 font-weight: normal;
272 background: #eed;
273 border: 1px solid #d7d7d7;
274 }
307
275
308 /**************** Sidebar styles ****************/
276 /**************** Sidebar styles ****************/
309
277
@@ -337,31 +305,10 font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
337 .menublock li ul li{margin-bottom:0;}
305 .menublock li ul li{margin-bottom:0;}
338 .menublock li ul a{font-weight:normal;}
306 .menublock li ul a{font-weight:normal;}
339
307
340 /**************** Searchbar styles ****************/
341
342 #searchbar{margin:0 0 20px 0;}
343 #searchbar form fieldset{margin-left:10px; border:0 solid;}
344
345 #searchbar #s{
346 height:1.2em;
347 width:110px;
348 margin:0 5px 0 0;
349 border:1px solid #a0a0a0;
350 }
351
352 #searchbar #searchbutton{
353 width:auto;
354 padding:0 1px;
355 border:1px solid #808080;
356 font-size:0.9em;
357 text-align:center;
358 }
359
360 /**************** Footer styles ****************/
308 /**************** Footer styles ****************/
361
309
362 #footer{
310 #footer{
363 clear:both;
311 clear:both;
364 /*width:758px;*/
365 padding:5px 0;
312 padding:5px 0;
366 margin:0;
313 margin:0;
367 font-size:0.9em;
314 font-size:0.9em;
@@ -400,7 +347,6 overflow:hidden;
400 width:12px;
347 width:12px;
401 height:12px;
348 height:12px;
402 background-repeat: no-repeat;
349 background-repeat: no-repeat;
403 cursor:hand;
404 cursor:pointer;
350 cursor:pointer;
405 background-image:url('../images/close.png');
351 background-image:url('../images/close.png');
406 }
352 }
@@ -438,12 +384,6 line-height:1.5em;
438 cursor: move;
384 cursor: move;
439 }
385 }
440
386
441 .topright{
442 position: absolute;
443 right: 25px;
444 top: 100px;
445 }
446
447 .login {
387 .login {
448 width: 50%;
388 width: 50%;
449 text-align: left;
389 text-align: left;
@@ -455,14 +395,6 img.calendar-trigger {
455 margin-left: 4px;
395 margin-left: 4px;
456 }
396 }
457
397
458 #history h4, #comments h4 {
459 font-size: 1em;
460 margin-bottom: 12px;
461 margin-top: 20px;
462 font-weight: normal;
463 border-bottom: dotted 1px #c0c0c0;
464 }
465
466 #history p {
398 #history p {
467 margin-left: 34px;
399 margin-left: 34px;
468 }
400 }
@@ -3,7 +3,6
3 }
3 }
4 .jstEditor textarea, .jstEditor iframe {
4 .jstEditor textarea, .jstEditor iframe {
5 margin: 0;
5 margin: 0;
6 border: 1;
7 }
6 }
8
7
9 .jstHandle {
8 .jstHandle {
@@ -1,47 +1,8
1
1
2
3 div.square {
4 border: 1px solid #999;
5 float: left;
6 margin: .4em .5em 0 0;
7 overflow: hidden;
8 width: .6em; height: .6em;
9 }
10
11 div.action_M { background: #fd8 }
2 div.action_M { background: #fd8 }
12 div.action_D { background: #f88 }
3 div.action_D { background: #f88 }
13 div.action_A { background: #bfb }
4 div.action_A { background: #bfb }
14
5
15 table.list {
16 width:100%;
17 border-collapse: collapse;
18 border: 1px dotted #d0d0d0;
19 margin-bottom: 6px;
20 }
21
22 table.list thead th {
23 text-align: center;
24 background: #eee;
25 border: 1px solid #d7d7d7;
26 }
27
28 table.list tbody th {
29 font-weight: normal;
30 text-align: center;
31 background: #eed;
32 border: 1px solid #d7d7d7;
33 }
34
35 .icon {
36 background-position: 0% 40%;
37 background-repeat: no-repeat;
38 padding-left: 20px;
39 }
40
41 .folder { background-image: url(../images/folder.png); }
42 .file { background-image: url(../images/file.png); }
43
44
45
6
46 tr.spacing {
7 tr.spacing {
47 border: 1px solid #d7d7d7;
8 border: 1px solid #d7d7d7;
@@ -58,9 +19,4 tr.spacing {
58 .line-code {
19 .line-code {
59 font-family: "Courier New", monospace;
20 font-family: "Courier New", monospace;
60 font-size: 1em;
21 font-size: 1em;
61 }
62
63 table p {
64 margin:0;
65 padding:0;
66 } No newline at end of file
22 }
General Comments 0
You need to be logged in to leave comments. Login now