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