@@ -1,32 +1,33 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= link_to l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'pic picAdd' %> |
|
2 | <%= link_to l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'pic picAdd' %> | |
3 | </div> |
|
3 | </div> | |
4 |
|
4 | |||
5 | <h2><%=l(:label_project_plural)%></h2> |
|
5 | <h2><%=l(:label_project_plural)%></h2> | |
6 |
|
6 | |||
7 |
<table class="list |
|
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 %> | |
20 | <td><%=h project.description %> |
|
20 | <td><%=h project.description %> | |
21 | <td align="center"><%= image_tag 'true' if project.is_public? %> |
|
21 | <td align="center"><%= image_tag 'true' if project.is_public? %> | |
22 | <td align="center"><%= project.projects_count %> |
|
22 | <td align="center"><%= project.projects_count %> | |
23 | <td align="center"><%= format_date(project.created_on) %> |
|
23 | <td align="center"><%= format_date(project.created_on) %> | |
24 | <td align="center"> |
|
24 | <td align="center"> | |
25 | <%= button_to l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => "button-small" %> |
|
25 | <%= button_to l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => "button-small" %> | |
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 %> | |
32 | [ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p> No newline at end of file |
|
33 | [ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p> |
@@ -1,31 +1,28 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'pic picAdd' %> |
|
2 | <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'pic picAdd' %> | |
3 | </div> |
|
3 | </div> | |
4 |
|
4 | |||
5 | <h2><%=l(:label_auth_source_plural)%></h2> |
|
5 | <h2><%=l(:label_auth_source_plural)%></h2> | |
6 |
|
6 | |||
7 |
<table class="list |
|
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 |
|
|
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,36 +1,38 | |||||
1 | <h2><%=l(:label_custom_field_plural)%></h2> |
|
1 | <h2><%=l(:label_custom_field_plural)%></h2> | |
2 |
|
2 | |||
3 |
<table class="list |
|
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> | |
8 | <th><%=l(:field_is_required)%></th> |
|
8 | <th><%=l(:field_is_required)%></th> | |
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> | |
16 | <td align="center"><%= l(custom_field.type_name) %></td> |
|
17 | <td align="center"><%= l(custom_field.type_name) %></td> | |
17 | <td align="center"><%= l(CustomField::FIELD_FORMATS[custom_field.field_format][:name]) %></td> |
|
18 | <td align="center"><%= l(CustomField::FIELD_FORMATS[custom_field.field_format][:name]) %></td> | |
18 | <td align="center"><%= image_tag 'true' if custom_field.is_required? %></td> |
|
19 | <td align="center"><%= image_tag 'true' if custom_field.is_required? %></td> | |
19 | <td align="center"><%= image_tag 'true' if custom_field.is_for_all? %></td> |
|
20 | <td align="center"><%= image_tag 'true' if custom_field.is_for_all? %></td> | |
20 | <td align="center"><%= custom_field.projects.count.to_s + ' ' + lwr(:label_project, custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td> |
|
21 | <td align="center"><%= custom_field.projects.count.to_s + ' ' + lwr(:label_project, custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td> | |
21 | <td align="center"> |
|
22 | <td align="center"> | |
22 | <%= button_to l(:button_delete), { :action => 'destroy', :id => custom_field }, :confirm => l(:text_are_you_sure), :class => "button-small" %> |
|
23 | <%= button_to l(:button_delete), { :action => 'destroy', :id => custom_field }, :confirm => l(:text_are_you_sure), :class => "button-small" %> | |
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 %> | |
29 |
|
31 | |||
30 | <br /> |
|
32 | <br /> | |
31 | <%=l(:label_custom_field_new)%>: |
|
33 | <%=l(:label_custom_field_new)%>: | |
32 | <ul> |
|
34 | <ul> | |
33 | <li><%= link_to l(:label_issue_plural), :action => 'new', :type => 'IssueCustomField' %></li> |
|
35 | <li><%= link_to l(:label_issue_plural), :action => 'new', :type => 'IssueCustomField' %></li> | |
34 | <li><%= link_to l(:label_project_plural), :action => 'new', :type => 'ProjectCustomField' %></li> |
|
36 | <li><%= link_to l(:label_project_plural), :action => 'new', :type => 'ProjectCustomField' %></li> | |
35 | <li><%= link_to l(:label_user_plural), :action => 'new', :type => 'UserCustomField' %></li> |
|
37 | <li><%= link_to l(:label_user_plural), :action => 'new', :type => 'UserCustomField' %></li> | |
36 | </ul> |
|
38 | </ul> |
@@ -1,29 +1,28 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= link_to l(:label_issue_status_new), {:action => 'new'}, :class => 'pic picAdd' %> |
|
2 | <%= link_to l(:label_issue_status_new), {:action => 'new'}, :class => 'pic picAdd' %> | |
3 | </div> |
|
3 | </div> | |
4 |
|
4 | |||
5 | <h2><%=l(:label_issue_status_plural)%></h2> |
|
5 | <h2><%=l(:label_issue_status_plural)%></h2> | |
6 |
|
6 | |||
7 |
<table class="list |
|
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 %>"> </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 %> |
|
12 | <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> | |
14 |
</t |
|
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 |
</t |
|
21 | </tbody> | |
23 |
</t |
|
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 %> |
@@ -1,145 +1,145 | |||||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
|
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
3 | <head> |
|
3 | <head> | |
4 | <title><%= $RDM_HEADER_TITLE + (@html_title ? ": #{@html_title}" : "") %></title> |
|
4 | <title><%= $RDM_HEADER_TITLE + (@html_title ? ": #{@html_title}" : "") %></title> | |
5 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|
5 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
6 | <meta name="description" content="redMine" /> |
|
6 | <meta name="description" content="redMine" /> | |
7 | <meta name="keywords" content="issue,bug,tracker" /> |
|
7 | <meta name="keywords" content="issue,bug,tracker" /> | |
8 | <%= stylesheet_link_tag "application" %> |
|
8 | <%= stylesheet_link_tag "application" %> | |
9 | <%= stylesheet_link_tag "menu" %> |
|
9 | <%= stylesheet_link_tag "menu" %> | |
10 | <%= stylesheet_link_tag "rails" %> |
|
10 | <%= stylesheet_link_tag "rails" %> | |
11 | <%= stylesheet_link_tag "print", :media => "print" %> |
|
11 | <%= stylesheet_link_tag "print", :media => "print" %> | |
12 | <%= javascript_include_tag :defaults %> |
|
12 | <%= javascript_include_tag :defaults %> | |
13 | <%= javascript_include_tag 'menu' %> |
|
13 | <%= javascript_include_tag 'menu' %> | |
14 | <%= javascript_include_tag 'calendar/calendar' %> |
|
14 | <%= javascript_include_tag 'calendar/calendar' %> | |
15 | <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> |
|
15 | <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> | |
16 | <%= javascript_include_tag 'calendar/calendar-setup' %> |
|
16 | <%= javascript_include_tag 'calendar/calendar-setup' %> | |
17 | <%= stylesheet_link_tag 'calendar' %> |
|
17 | <%= stylesheet_link_tag 'calendar' %> | |
18 | <%= stylesheet_link_tag 'jstoolbar' %> |
|
18 | <%= stylesheet_link_tag 'jstoolbar' %> | |
19 | </head> |
|
19 | </head> | |
20 |
|
20 | |||
21 | <body> |
|
21 | <body> | |
22 | <div id="container" > |
|
22 | <div id="container" > | |
23 |
|
23 | |||
24 | <div id="header"> |
|
24 | <div id="header"> | |
25 | <div style="float: left;"> |
|
25 | <div style="float: left;"> | |
26 | <h1><%= $RDM_HEADER_TITLE %></h1> |
|
26 | <h1><%= $RDM_HEADER_TITLE %></h1> | |
27 | <h2><%= $RDM_HEADER_SUBTITLE %></h2> |
|
27 | <h2><%= $RDM_HEADER_SUBTITLE %></h2> | |
28 | </div> |
|
28 | </div> | |
29 | <div style="float: right; padding-right: 1em; padding-top: 0.2em;"> |
|
29 | <div style="float: right; padding-right: 1em; padding-top: 0.2em;"> | |
30 | <% if loggedin? %><small><%=l(:label_logged_as)%> <b><%= @logged_in_user.login %></b></small><% end %> |
|
30 | <% if loggedin? %><small><%=l(:label_logged_as)%> <b><%= @logged_in_user.login %></b></small><% end %> | |
31 | </div> |
|
31 | </div> | |
32 | </div> |
|
32 | </div> | |
33 |
|
33 | |||
34 | <div id="navigation"> |
|
34 | <div id="navigation"> | |
35 | <ul> |
|
35 | <ul> | |
36 | <li class="selected"><%= link_to l(:label_home), { :controller => '' }, :class => "picHome" %></li> |
|
36 | <li class="selected"><%= link_to l(:label_home), { :controller => '' }, :class => "picHome" %></li> | |
37 | <li><%= link_to l(:label_my_page), { :controller => 'my', :action => 'page'}, :class => "picUserPage" %></li> |
|
37 | <li><%= link_to l(:label_my_page), { :controller => 'my', :action => 'page'}, :class => "picUserPage" %></li> | |
38 | <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "picProject" %></li> |
|
38 | <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "picProject" %></li> | |
39 |
|
39 | |||
40 | <% unless @project.nil? || @project.id.nil? %> |
|
40 | <% unless @project.nil? || @project.id.nil? %> | |
41 | <li><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');" %></li> |
|
41 | <li><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');" %></li> | |
42 | <% end %> |
|
42 | <% end %> | |
43 |
|
43 | |||
44 | <% if loggedin? %> |
|
44 | <% if loggedin? %> | |
45 | <li><%= link_to l(:label_my_account), { :controller => 'my', :action => 'account' }, :class => "picUser" %></li> |
|
45 | <li><%= link_to l(:label_my_account), { :controller => 'my', :action => 'account' }, :class => "picUser" %></li> | |
46 | <% end %> |
|
46 | <% end %> | |
47 |
|
47 | |||
48 | <% if admin_loggedin? %> |
|
48 | <% if admin_loggedin? %> | |
49 | <li><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li> |
|
49 | <li><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li> | |
50 | <% end %> |
|
50 | <% end %> | |
51 |
|
51 | |||
52 | <li class="right"><%= link_to l(:label_help), { :controller => 'help', :ctrl => @params[:controller], :page => @params[:action] }, :target => "new", :class => "picHelp" %></li> |
|
52 | <li class="right"><%= link_to l(:label_help), { :controller => 'help', :ctrl => @params[:controller], :page => @params[:action] }, :target => "new", :class => "picHelp" %></li> | |
53 |
|
53 | |||
54 | <% if loggedin? %> |
|
54 | <% if loggedin? %> | |
55 | <li class="right"><%= link_to l(:label_logout), { :controller => 'account', :action => 'logout' }, :class => "picUser" %></li> |
|
55 | <li class="right"><%= link_to l(:label_logout), { :controller => 'account', :action => 'logout' }, :class => "picUser" %></li> | |
56 | <% else %> |
|
56 | <% else %> | |
57 | <li class="right"><%= link_to l(:label_login), { :controller => 'account', :action => 'login' }, :class => "picUser" %></li> |
|
57 | <li class="right"><%= link_to l(:label_login), { :controller => 'account', :action => 'login' }, :class => "picUser" %></li> | |
58 | <% end %> |
|
58 | <% end %> | |
59 | </ul> |
|
59 | </ul> | |
60 | </div> |
|
60 | </div> | |
61 |
|
61 | |||
62 | <% if admin_loggedin? %> |
|
62 | <% if admin_loggedin? %> | |
63 | <div id="menuAdmin" class="menu" onmouseover="menuMouseover(event)"> |
|
63 | <div id="menuAdmin" class="menu" onmouseover="menuMouseover(event)"> | |
64 | <a class="menuItem" href="/admin/projects" onmouseover="menuItemMouseover(event,'menuProjects');"><span class="menuItemText"><%=l(:label_project_plural)%></span><span class="menuItemArrow">▶</span></a> |
|
64 | <a class="menuItem" href="/admin/projects" onmouseover="menuItemMouseover(event,'menuProjects');"><span class="menuItemText"><%=l(:label_project_plural)%></span><span class="menuItemArrow">▶</span></a> | |
65 | <a class="menuItem" href="/users" onmouseover="menuItemMouseover(event,'menuUsers');"><span class="menuItemText"><%=l(:label_user_plural)%></span><span class="menuItemArrow">▶</span></a> |
|
65 | <a class="menuItem" href="/users" onmouseover="menuItemMouseover(event,'menuUsers');"><span class="menuItemText"><%=l(:label_user_plural)%></span><span class="menuItemArrow">▶</span></a> | |
66 | <a class="menuItem" href="/roles"><%=l(:label_role_and_permissions)%></a> |
|
66 | <a class="menuItem" href="/roles"><%=l(:label_role_and_permissions)%></a> | |
67 | <a class="menuItem" href="/trackers" onmouseover="menuItemMouseover(event,'menuTrackers');"><span class="menuItemText"><%=l(:label_tracker_plural)%></span><span class="menuItemArrow">▶</span></a> |
|
67 | <a class="menuItem" href="/trackers" onmouseover="menuItemMouseover(event,'menuTrackers');"><span class="menuItemText"><%=l(:label_tracker_plural)%></span><span class="menuItemArrow">▶</span></a> | |
68 | <a class="menuItem" href="/custom_fields"><%=l(:label_custom_field_plural)%></a> |
|
68 | <a class="menuItem" href="/custom_fields"><%=l(:label_custom_field_plural)%></a> | |
69 | <a class="menuItem" href="/enumerations"><%=l(:label_enumerations)%></a> |
|
69 | <a class="menuItem" href="/enumerations"><%=l(:label_enumerations)%></a> | |
70 | <a class="menuItem" href="/admin/mail_options"><%=l(:field_mail_notification)%></a> |
|
70 | <a class="menuItem" href="/admin/mail_options"><%=l(:field_mail_notification)%></a> | |
71 | <a class="menuItem" href="/auth_sources"><%=l(:label_authentication)%></a> |
|
71 | <a class="menuItem" href="/auth_sources"><%=l(:label_authentication)%></a> | |
72 | <a class="menuItem" href="/admin/info"><%=l(:label_information_plural)%></a> |
|
72 | <a class="menuItem" href="/admin/info"><%=l(:label_information_plural)%></a> | |
73 | </div> |
|
73 | </div> | |
74 | <div id="menuTrackers" class="menu"> |
|
74 | <div id="menuTrackers" class="menu"> | |
75 | <a class="menuItem" href="/issue_statuses"><%=l(:label_issue_status_plural)%></a> |
|
75 | <a class="menuItem" href="/issue_statuses"><%=l(:label_issue_status_plural)%></a> | |
76 | <a class="menuItem" href="/roles/workflow"><%=l(:label_workflow)%></a> |
|
76 | <a class="menuItem" href="/roles/workflow"><%=l(:label_workflow)%></a> | |
77 | </div> |
|
77 | </div> | |
78 | <div id="menuProjects" class="menu"><a class="menuItem" href="/projects/add"><%=l(:label_new)%></a></div> |
|
78 | <div id="menuProjects" class="menu"><a class="menuItem" href="/projects/add"><%=l(:label_new)%></a></div> | |
79 | <div id="menuUsers" class="menu"><a class="menuItem" href="/users/add"><%=l(:label_new)%></a></div> |
|
79 | <div id="menuUsers" class="menu"><a class="menuItem" href="/users/add"><%=l(:label_new)%></a></div> | |
80 | <% end %> |
|
80 | <% end %> | |
81 |
|
81 | |||
82 | <% unless @project.nil? || @project.id.nil? %> |
|
82 | <% unless @project.nil? || @project.id.nil? %> | |
83 | <div id="menuProject" class="menu" onmouseover="menuMouseover(event)"> |
|
83 | <div id="menuProject" class="menu" onmouseover="menuMouseover(event)"> | |
84 | <%= link_to l(:label_calendar), {:controller => 'projects', :action => 'calendar', :id => @project }, :class => "menuItem" %> |
|
84 | <%= link_to l(:label_calendar), {:controller => 'projects', :action => 'calendar', :id => @project }, :class => "menuItem" %> | |
85 | <%= link_to l(:label_gantt), {:controller => 'projects', :action => 'gantt', :id => @project }, :class => "menuItem" %> |
|
85 | <%= link_to l(:label_gantt), {:controller => 'projects', :action => 'gantt', :id => @project }, :class => "menuItem" %> | |
86 | <%= link_to l(:label_issue_plural), {:controller => 'projects', :action => 'list_issues', :id => @project }, :class => "menuItem" %> |
|
86 | <%= link_to l(:label_issue_plural), {:controller => 'projects', :action => 'list_issues', :id => @project }, :class => "menuItem" %> | |
87 | <%= link_to l(:label_report_plural), {:controller => 'reports', :action => 'issue_report', :id => @project }, :class => "menuItem" %> |
|
87 | <%= link_to l(:label_report_plural), {:controller => 'reports', :action => 'issue_report', :id => @project }, :class => "menuItem" %> | |
88 | <%= link_to l(:label_activity), {:controller => 'projects', :action => 'activity', :id => @project }, :class => "menuItem" %> |
|
88 | <%= link_to l(:label_activity), {:controller => 'projects', :action => 'activity', :id => @project }, :class => "menuItem" %> | |
89 | <%= link_to l(:label_news_plural), {:controller => 'projects', :action => 'list_news', :id => @project }, :class => "menuItem" %> |
|
89 | <%= link_to l(:label_news_plural), {:controller => 'projects', :action => 'list_news', :id => @project }, :class => "menuItem" %> | |
90 | <%= link_to l(:label_change_log), {:controller => 'projects', :action => 'changelog', :id => @project }, :class => "menuItem" %> |
|
90 | <%= link_to l(:label_change_log), {:controller => 'projects', :action => 'changelog', :id => @project }, :class => "menuItem" %> | |
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? %> |
|
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 %> | |
98 |
|
98 | |||
99 |
|
99 | |||
100 | <div id="subcontent"> |
|
100 | <div id="subcontent"> | |
101 |
|
101 | |||
102 | <% unless @project.nil? || @project.id.nil? %> |
|
102 | <% unless @project.nil? || @project.id.nil? %> | |
103 | <h2><%= @project.name %></h2> |
|
103 | <h2><%= @project.name %></h2> | |
104 | <ul class="menublock"> |
|
104 | <ul class="menublock"> | |
105 | <li><%= link_to l(:label_overview), :controller => 'projects', :action => 'show', :id => @project %></li> |
|
105 | <li><%= link_to l(:label_overview), :controller => 'projects', :action => 'show', :id => @project %></li> | |
106 | <li><%= link_to l(:label_calendar), :controller => 'projects', :action => 'calendar', :id => @project %></li> |
|
106 | <li><%= link_to l(:label_calendar), :controller => 'projects', :action => 'calendar', :id => @project %></li> | |
107 | <li><%= link_to l(:label_gantt), :controller => 'projects', :action => 'gantt', :id => @project %></li> |
|
107 | <li><%= link_to l(:label_gantt), :controller => 'projects', :action => 'gantt', :id => @project %></li> | |
108 | <li><%= link_to l(:label_issue_plural), :controller => 'projects', :action => 'list_issues', :id => @project %></li> |
|
108 | <li><%= link_to l(:label_issue_plural), :controller => 'projects', :action => 'list_issues', :id => @project %></li> | |
109 | <li><%= link_to l(:label_report_plural), :controller => 'reports', :action => 'issue_report', :id => @project %></li> |
|
109 | <li><%= link_to l(:label_report_plural), :controller => 'reports', :action => 'issue_report', :id => @project %></li> | |
110 | <li><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :id => @project %></li> |
|
110 | <li><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :id => @project %></li> | |
111 | <li><%= link_to l(:label_news_plural), :controller => 'projects', :action => 'list_news', :id => @project %></li> |
|
111 | <li><%= link_to l(:label_news_plural), :controller => 'projects', :action => 'list_news', :id => @project %></li> | |
112 | <li><%= link_to l(:label_change_log), :controller => 'projects', :action => 'changelog', :id => @project %></li> |
|
112 | <li><%= link_to l(:label_change_log), :controller => 'projects', :action => 'changelog', :id => @project %></li> | |
113 | <li><%= link_to l(:label_document_plural), :controller => 'projects', :action => 'list_documents', :id => @project %></li> |
|
113 | <li><%= link_to l(:label_document_plural), :controller => 'projects', :action => 'list_documents', :id => @project %></li> | |
114 | <li><%= link_to l(:label_member_plural), :controller => 'projects', :action => 'list_members', :id => @project %></li> |
|
114 | <li><%= link_to l(:label_member_plural), :controller => 'projects', :action => 'list_members', :id => @project %></li> | |
115 | <li><%= link_to l(:label_attachment_plural), :controller => 'projects', :action => 'list_files', :id => @project %></li> |
|
115 | <li><%= link_to l(:label_attachment_plural), :controller => 'projects', :action => 'list_files', :id => @project %></li> | |
116 | <li><%= link_to l(:label_repository), :controller => 'repositories', :action => 'show', :id => @project if @project.repository and !@project.repository.new_record? %></li> |
|
116 | <li><%= link_to l(:label_repository), :controller => 'repositories', :action => 'show', :id => @project if @project.repository and !@project.repository.new_record? %></li> | |
117 | <li><%= link_to_if_authorized l(:label_settings), :controller => 'projects', :action => 'settings', :id => @project %></li> |
|
117 | <li><%= link_to_if_authorized l(:label_settings), :controller => 'projects', :action => 'settings', :id => @project %></li> | |
118 | </ul> |
|
118 | </ul> | |
119 | <% end %> |
|
119 | <% end %> | |
120 |
|
120 | |||
121 | <% if loggedin? and @logged_in_user.memberships.length > 0 %> |
|
121 | <% if loggedin? and @logged_in_user.memberships.length > 0 %> | |
122 | <h2><%=l(:label_my_projects) %></h2> |
|
122 | <h2><%=l(:label_my_projects) %></h2> | |
123 | <ul class="menublock"> |
|
123 | <ul class="menublock"> | |
124 | <% for membership in @logged_in_user.memberships %> |
|
124 | <% for membership in @logged_in_user.memberships %> | |
125 | <li><%= link_to membership.project.name, :controller => 'projects', :action => 'show', :id => membership.project %></li> |
|
125 | <li><%= link_to membership.project.name, :controller => 'projects', :action => 'show', :id => membership.project %></li> | |
126 | <% end %> |
|
126 | <% end %> | |
127 | </ul> |
|
127 | </ul> | |
128 | <% end %> |
|
128 | <% end %> | |
129 | </div> |
|
129 | </div> | |
130 |
|
130 | |||
131 | <div id="content"> |
|
131 | <div id="content"> | |
132 | <% if flash[:notice] %><p style="color: green"><%= flash[:notice] %></p><% end %> |
|
132 | <% if flash[:notice] %><p style="color: green"><%= flash[:notice] %></p><% end %> | |
133 | <%= @content_for_layout %> |
|
133 | <%= @content_for_layout %> | |
134 | </div> |
|
134 | </div> | |
135 |
|
135 | |||
136 | <div id="footer"> |
|
136 | <div id="footer"> | |
137 | <p> |
|
137 | <p> | |
138 | <%= auto_link $RDM_FOOTER_SIG %> | |
|
138 | <%= auto_link $RDM_FOOTER_SIG %> | | |
139 | <a href="http://redmine.rubyforge.org/" target="_new"><%= RDM_APP_NAME %></a> <%= RDM_APP_VERSION %> |
|
139 | <a href="http://redmine.rubyforge.org/" target="_new"><%= RDM_APP_NAME %></a> <%= RDM_APP_VERSION %> | |
140 | </p> |
|
140 | </p> | |
141 | </div> |
|
141 | </div> | |
142 |
|
142 | |||
143 | </div> |
|
143 | </div> | |
144 | </body> |
|
144 | </body> | |
145 | </html> No newline at end of file |
|
145 | </html> |
@@ -1,45 +1,47 | |||||
1 | <h3><%= l(:label_calendar) %></h3> |
|
1 | <h3><%= l(:label_calendar) %></h3> | |
2 |
|
2 | |||
3 | <% |
|
3 | <% | |
4 | @date_from = Date.today - (Date.today.cwday-1) |
|
4 | @date_from = Date.today - (Date.today.cwday-1) | |
5 | @date_to = Date.today + (7-Date.today.cwday) |
|
5 | @date_to = Date.today + (7-Date.today.cwday) | |
6 | @issues = Issue.find :all, |
|
6 | @issues = Issue.find :all, | |
7 | :conditions => ["issues.project_id in (#{@user.projects.collect{|m| m.id}.join(',')}) AND ((start_date>=? and start_date<=?) or (due_date>=? and due_date<=?))", @date_from, @date_to, @date_from, @date_to], |
|
7 | :conditions => ["issues.project_id in (#{@user.projects.collect{|m| m.id}.join(',')}) AND ((start_date>=? and start_date<=?) or (due_date>=? and due_date<=?))", @date_from, @date_to, @date_from, @date_to], | |
8 | :include => [:project, :tracker] unless @user.projects.empty? |
|
8 | :include => [:project, :tracker] unless @user.projects.empty? | |
9 | @issues ||= [] |
|
9 | @issues ||= [] | |
10 | %> |
|
10 | %> | |
11 |
|
11 | |||
12 |
<table class=" |
|
12 | <table class="list with-cells"> | |
13 | <tr class="ListHead"> |
|
13 | <thead><tr> | |
14 |
<t |
|
14 | <th></th> | |
15 | <% 1.upto(7) do |d| %> |
|
15 | <% 1.upto(7) do |d| %> | |
16 |
<t |
|
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 |
<t |
|
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> | |
27 | <% day_issues = [] |
|
28 | <% day_issues = [] | |
28 | @issues.each { |i| day_issues << i if i.start_date == day or i.due_date == day } |
|
29 | @issues.each { |i| day_issues << i if i.start_date == day or i.due_date == day } | |
29 | day_issues.each do |i| %> |
|
30 | day_issues.each do |i| %> | |
30 | <%= if day == i.start_date and day == i.due_date |
|
31 | <%= if day == i.start_date and day == i.due_date | |
31 | image_tag('arrow_bw') |
|
32 | image_tag('arrow_bw') | |
32 | elsif day == i.start_date |
|
33 | elsif day == i.start_date | |
33 | image_tag('arrow_from') |
|
34 | image_tag('arrow_from') | |
34 | elsif day == i.due_date |
|
35 | elsif day == i.due_date | |
35 | image_tag('arrow_to') |
|
36 | image_tag('arrow_to') | |
36 | end %> |
|
37 | end %> | |
37 | <small><%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small><br /> |
|
38 | <small><%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small><br /> | |
38 | <% end %> |
|
39 | <% end %> | |
39 | </td> |
|
40 | </td> | |
40 | <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %> |
|
41 | <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %> | |
41 | <% |
|
42 | <% | |
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> |
@@ -1,66 +1,69 | |||||
1 | <h2><%= l(:label_calendar) %></h2> |
|
1 | <h2><%= l(:label_calendar) %></h2> | |
2 |
|
2 | |||
3 | <table width="100%"> |
|
3 | <table width="100%"> | |
4 | <tr> |
|
4 | <tr> | |
5 | <td align="left" width="150"> |
|
5 | <td align="left" width="150"> | |
6 | <%= link_to_remote ('« ' + (@month==1 ? "#{month_name(12)} #{@year-1}" : "#{month_name(@month-1)}")), |
|
6 | <%= link_to_remote ('« ' + (@month==1 ? "#{month_name(12)} #{@year-1}" : "#{month_name(@month-1)}")), | |
7 | {:update => "content", :url => { :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1) }}, |
|
7 | {:update => "content", :url => { :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1) }}, | |
8 | {:href => url_for(:action => 'calendar', :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1))} |
|
8 | {:href => url_for(:action => 'calendar', :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1))} | |
9 | %> |
|
9 | %> | |
10 | </td> |
|
10 | </td> | |
11 | <td align="center"> |
|
11 | <td align="center"> | |
12 | <%= start_form_tag :action => 'calendar', :id => @project %> |
|
12 | <%= start_form_tag :action => 'calendar', :id => @project %> | |
13 | <%= select_month(@month, :prefix => "month", :discard_type => true) %> |
|
13 | <%= select_month(@month, :prefix => "month", :discard_type => true) %> | |
14 | <%= select_year(@year, :prefix => "year", :discard_type => true) %> |
|
14 | <%= select_year(@year, :prefix => "year", :discard_type => true) %> | |
15 | <%= submit_tag l(:button_submit), :class => "button-small" %> |
|
15 | <%= submit_tag l(:button_submit), :class => "button-small" %> | |
16 | <%= end_form_tag %> |
|
16 | <%= end_form_tag %> | |
17 | </td> |
|
17 | </td> | |
18 | <td align="right" width="150"> |
|
18 | <td align="right" width="150"> | |
19 | <%= link_to_remote ((@month==12 ? "#{month_name(1)} #{@year+1}" : "#{month_name(@month+1)}") + ' »'), |
|
19 | <%= link_to_remote ((@month==12 ? "#{month_name(1)} #{@year+1}" : "#{month_name(@month+1)}") + ' »'), | |
20 | {:update => "content", :url => { :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1) }}, |
|
20 | {:update => "content", :url => { :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1) }}, | |
21 | {:href => url_for(:action => 'calendar', :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1))} |
|
21 | {:href => url_for(:action => 'calendar', :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1))} | |
22 | %> |
|
22 | %> | |
23 | </td> |
|
23 | </td> | |
24 | </tr> |
|
24 | </tr> | |
25 | </table> |
|
25 | </table> | |
26 | <br /> |
|
26 | <br /> | |
27 |
|
27 | |||
28 |
<table class=" |
|
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 |
<t |
|
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 |
<t |
|
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> | |
43 | <% day_issues = [] |
|
46 | <% day_issues = [] | |
44 | @issues.each { |i| day_issues << i if i.start_date == day or i.due_date == day } |
|
47 | @issues.each { |i| day_issues << i if i.start_date == day or i.due_date == day } | |
45 | day_issues.each do |i| %> |
|
48 | day_issues.each do |i| %> | |
46 | <%= if day == i.start_date and day == i.due_date |
|
49 | <%= if day == i.start_date and day == i.due_date | |
47 | image_tag('arrow_bw') |
|
50 | image_tag('arrow_bw') | |
48 | elsif day == i.start_date |
|
51 | elsif day == i.start_date | |
49 | image_tag('arrow_from') |
|
52 | image_tag('arrow_from') | |
50 | elsif day == i.due_date |
|
53 | elsif day == i.due_date | |
51 | image_tag('arrow_to') |
|
54 | image_tag('arrow_to') | |
52 | end %> |
|
55 | end %> | |
53 | <small><%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small><br /> |
|
56 | <small><%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small><br /> | |
54 | <% end %> |
|
57 | <% end %> | |
55 | </td> |
|
58 | </td> | |
56 | <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %> |
|
59 | <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %> | |
57 | <% |
|
60 | <% | |
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' %> <%= l(:text_tip_task_begin_day) %><br /> |
|
67 | <%= image_tag 'arrow_from' %> <%= l(:text_tip_task_begin_day) %><br /> | |
65 | <%= image_tag 'arrow_to' %> <%= l(:text_tip_task_end_day) %><br /> |
|
68 | <%= image_tag 'arrow_to' %> <%= l(:text_tip_task_end_day) %><br /> | |
66 | <%= image_tag 'arrow_bw' %> <%= l(:text_tip_task_begin_end_day) %><br /> No newline at end of file |
|
69 | <%= image_tag 'arrow_bw' %> <%= l(:text_tip_task_begin_end_day) %><br /> |
@@ -1,20 +1,21 | |||||
1 | <h2><%=l(:label_public_projects)%></h2> |
|
1 | <h2><%=l(:label_public_projects)%></h2> | |
2 |
|
2 | |||
3 |
<table class="list |
|
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 %> | |
13 | <td><%=h project.description %> |
|
13 | <td><%=h project.description %> | |
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 %> | |
20 | [ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ] No newline at end of file |
|
21 | [ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ] |
@@ -1,43 +1,44 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= link_to_if_authorized l(:label_attachment_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'pic picAdd' %> |
|
2 | <%= link_to_if_authorized l(:label_attachment_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'pic picAdd' %> | |
3 | </div> |
|
3 | </div> | |
4 |
|
4 | |||
5 | <h2><%=l(:label_attachment_plural)%></h2> |
|
5 | <h2><%=l(:label_attachment_plural)%></h2> | |
6 |
|
6 | |||
7 | <% delete_allowed = authorize_for('versions', 'destroy_file') %> |
|
7 | <% delete_allowed = authorize_for('versions', 'destroy_file') %> | |
8 |
|
8 | |||
9 |
<table class="list |
|
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> | |
14 | <th><%=l(:field_filesize)%></th> |
|
14 | <th><%=l(:field_filesize)%></th> | |
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><t |
|
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> | |
26 | <td><%= link_to file.filename, :controller => 'versions', :action => 'download', :id => version, :attachment_id => file %></td> |
|
26 | <td><%= link_to file.filename, :controller => 'versions', :action => 'download', :id => version, :attachment_id => file %></td> | |
27 | <td align="center"><%= format_date(file.created_on) %></td> |
|
27 | <td align="center"><%= format_date(file.created_on) %></td> | |
28 | <td align="center"><%= human_size(file.filesize) %></td> |
|
28 | <td align="center"><%= human_size(file.filesize) %></td> | |
29 | <td align="center"><%= file.downloads %></td> |
|
29 | <td align="center"><%= file.downloads %></td> | |
30 | <td align="center"><small><%= file.digest %></small></td> |
|
30 | <td align="center"><small><%= file.digest %></small></td> | |
31 | <% if delete_allowed %> |
|
31 | <% if delete_allowed %> | |
32 | <td align="center"> |
|
32 | <td align="center"> | |
33 | <div class="contextual"> |
|
33 | <div class="contextual"> | |
34 | <%= link_to_if_authorized '', {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> |
|
34 | <%= link_to_if_authorized '', {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> | |
35 | </div> |
|
35 | </div> | |
36 | </td> |
|
36 | </td> | |
37 | <% end %> |
|
37 | <% end %> | |
38 | </tr> |
|
38 | </tr> | |
39 | <% end |
|
39 | <% end | |
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> |
@@ -1,91 +1,81 | |||||
1 | <% if @query.new_record? %> |
|
1 | <% if @query.new_record? %> | |
2 | <h2><%=l(:label_issue_plural)%></h2> |
|
2 | <h2><%=l(:label_issue_plural)%></h2> | |
3 |
|
3 | |||
4 | <%= start_form_tag({:action => 'list_issues'}, :id => 'query_form') %> |
|
4 | <%= start_form_tag({:action => 'list_issues'}, :id => 'query_form') %> | |
5 | <%= render :partial => 'queries/filters', :locals => {:query => @query} %> |
|
5 | <%= render :partial => 'queries/filters', :locals => {:query => @query} %> | |
6 | <%= end_form_tag %> |
|
6 | <%= end_form_tag %> | |
7 | <div class="contextual"> |
|
7 | <div class="contextual"> | |
8 | <%= link_to_remote l(:button_apply), |
|
8 | <%= link_to_remote l(:button_apply), | |
9 | { :url => { :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 }, |
|
9 | { :url => { :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 }, | |
10 | :update => "content", |
|
10 | :update => "content", | |
11 | :with => "Form.serialize('query_form')" |
|
11 | :with => "Form.serialize('query_form')" | |
12 | }, :class => 'pic picCheck' %> |
|
12 | }, :class => 'pic picCheck' %> | |
13 |
|
13 | |||
14 | <%= link_to l(:button_clear), {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1}, :class => 'pic picDelete' %> |
|
14 | <%= link_to l(:button_clear), {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1}, :class => 'pic picDelete' %> | |
15 | <% if authorize_for('projects', 'add_query') %> |
|
15 | <% if authorize_for('projects', 'add_query') %> | |
16 |
|
16 | |||
17 | <%= link_to_remote l(:button_save), |
|
17 | <%= link_to_remote l(:button_save), | |
18 | { :url => { :controller => 'projects', :action => "add_query", :id => @project }, |
|
18 | { :url => { :controller => 'projects', :action => "add_query", :id => @project }, | |
19 | :method => 'get', |
|
19 | :method => 'get', | |
20 | :update => "content", |
|
20 | :update => "content", | |
21 | :with => "Form.serialize('query_form')" |
|
21 | :with => "Form.serialize('query_form')" | |
22 | }, :class => 'pic picEdit' %> |
|
22 | }, :class => 'pic picEdit' %> | |
23 | <% end %> |
|
23 | <% end %> | |
24 | </div> |
|
24 | </div> | |
25 | <br /> |
|
25 | <br /> | |
26 | <% else %> |
|
26 | <% else %> | |
27 | <% if authorize_for('projects', 'add_query') %> |
|
27 | <% if authorize_for('projects', 'add_query') %> | |
28 | <div class="contextual"> |
|
28 | <div class="contextual"> | |
29 | <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => @query}, :class => 'pic picEdit' %> |
|
29 | <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => @query}, :class => 'pic picEdit' %> | |
30 | <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> |
|
30 | <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> | |
31 | </div> |
|
31 | </div> | |
32 | <% end %> |
|
32 | <% end %> | |
33 | <h2><%= @query.name %></h2> |
|
33 | <h2><%= @query.name %></h2> | |
34 | <% end %> |
|
34 | <% end %> | |
35 | <%= error_messages_for 'query' %> |
|
35 | <%= error_messages_for 'query' %> | |
36 | <% if @query.valid? %> |
|
36 | <% if @query.valid? %> | |
37 | <% if @issues.empty? %> |
|
37 | <% if @issues.empty? %> | |
38 | <p><i><%= l(:label_no_data) %></i></p> |
|
38 | <p><i><%= l(:label_no_data) %></i></p> | |
39 | <% else %> |
|
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 | <%= 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="list |
|
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 |
<t |
|
56 | <th width="15"><%= check_box_tag "issue_ids[]", issue.id %></th> | |
69 |
<td align="center"><%= link_to issue. |
|
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 => ' |
|
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 | | |||
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 %> |
@@ -1,47 +1,48 | |||||
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 | <% col_width = 70 / (@statuses.length+3) %> |
|
4 | <% col_width = 70 / (@statuses.length+3) %> | |
5 |
<table class=" |
|
5 | <table class="list"> | |
6 | <tr> |
|
6 | <thead><tr> | |
7 |
<t |
|
7 | <th width="25%"></th> | |
8 | <% for status in @statuses %> |
|
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 | <% end %> |
|
10 | <% end %> | |
11 |
<t |
|
11 | <th align="center" width="<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></th> | |
12 |
<t |
|
12 | <th align="center" width="<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></th> | |
13 |
<t |
|
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, | |
19 | :set_filter => 1, |
|
19 | :set_filter => 1, | |
20 | "#{field_name}" => row.id %></td> |
|
20 | "#{field_name}" => row.id %></td> | |
21 | <% for status in @statuses %> |
|
21 | <% for status in @statuses %> | |
22 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "status_id" => status.id }), |
|
22 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "status_id" => status.id }), | |
23 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
23 | :controller => 'projects', :action => 'list_issues', :id => @project, | |
24 | :set_filter => 1, |
|
24 | :set_filter => 1, | |
25 | "status_id" => status.id, |
|
25 | "status_id" => status.id, | |
26 | "#{field_name}" => row.id %></td> |
|
26 | "#{field_name}" => row.id %></td> | |
27 | <% end %> |
|
27 | <% end %> | |
28 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }), |
|
28 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }), | |
29 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
29 | :controller => 'projects', :action => 'list_issues', :id => @project, | |
30 | :set_filter => 1, |
|
30 | :set_filter => 1, | |
31 | "#{field_name}" => row.id, |
|
31 | "#{field_name}" => row.id, | |
32 | "status_id" => "o" %></td> |
|
32 | "status_id" => "o" %></td> | |
33 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }), |
|
33 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }), | |
34 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
34 | :controller => 'projects', :action => 'list_issues', :id => @project, | |
35 | :set_filter => 1, |
|
35 | :set_filter => 1, | |
36 | "#{field_name}" => row.id, |
|
36 | "#{field_name}" => row.id, | |
37 | "status_id" => "c" %></td> |
|
37 | "status_id" => "c" %></td> | |
38 | <td align="center"><%= link_to (aggregate data, { field_name => row.id }), |
|
38 | <td align="center"><%= link_to (aggregate data, { field_name => row.id }), | |
39 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
39 | :controller => 'projects', :action => 'list_issues', :id => @project, | |
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,36 +1,37 | |||||
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=" |
|
4 | <table class="list"> | |
5 | <tr> |
|
5 | <thead><tr> | |
6 |
<t |
|
6 | <th width="25%"></th> | |
7 |
<t |
|
7 | <th align="center" width="25%"><%=l(:label_open_issues_plural)%></th> | |
8 |
<t |
|
8 | <th align="center" width="25%"><%=l(:label_closed_issues_plural)%></th> | |
9 |
<t |
|
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, | |
15 | :set_filter => 1, |
|
15 | :set_filter => 1, | |
16 | "#{field_name}" => row.id %></td> |
|
16 | "#{field_name}" => row.id %></td> | |
17 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }), |
|
17 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }), | |
18 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
18 | :controller => 'projects', :action => 'list_issues', :id => @project, | |
19 | :set_filter => 1, |
|
19 | :set_filter => 1, | |
20 | "#{field_name}" => row.id, |
|
20 | "#{field_name}" => row.id, | |
21 | "status_id" => "o" %></td> |
|
21 | "status_id" => "o" %></td> | |
22 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }), |
|
22 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }), | |
23 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
23 | :controller => 'projects', :action => 'list_issues', :id => @project, | |
24 | :set_filter => 1, |
|
24 | :set_filter => 1, | |
25 | "#{field_name}" => row.id, |
|
25 | "#{field_name}" => row.id, | |
26 | "status_id" => "c" %></td> |
|
26 | "status_id" => "c" %></td> | |
27 | <td align="center"><%= link_to (aggregate data, { field_name => row.id }), |
|
27 | <td align="center"><%= link_to (aggregate data, { field_name => row.id }), | |
28 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
28 | :controller => 'projects', :action => 'list_issues', :id => @project, | |
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 %> |
@@ -1,22 +1,23 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= link_to l(:label_role_new), {:action => 'new'}, :class => 'pic picAdd' %> |
|
2 | <%= link_to l(:label_role_new), {:action => 'new'}, :class => 'pic picAdd' %> | |
3 | </div> |
|
3 | </div> | |
4 |
|
4 | |||
5 | <h2><%=l(:label_role_plural)%></h2> |
|
5 | <h2><%=l(:label_role_plural)%></h2> | |
6 |
|
6 | |||
7 |
<table class="list |
|
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> | |
16 | <td align="center"> |
|
16 | <td align="center"> | |
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 %> |
@@ -1,23 +1,24 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= link_to l(:label_tracker_new), {:action => 'new'}, :class => 'pic picAdd' %> |
|
2 | <%= link_to l(:label_tracker_new), {:action => 'new'}, :class => 'pic picAdd' %> | |
3 | </div> |
|
3 | </div> | |
4 |
|
4 | |||
5 | <h2><%=l(:label_tracker_plural)%></h2> |
|
5 | <h2><%=l(:label_tracker_plural)%></h2> | |
6 |
|
6 | |||
7 |
<table class="list |
|
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> | |
16 | <td align="center"> |
|
16 | <td align="center"> | |
17 | <%= button_to l(:button_delete), { :action => 'destroy', :id => tracker }, :confirm => l(:text_are_you_sure), :class => "button-small" %> |
|
17 | <%= button_to l(:button_delete), { :action => 'destroy', :id => tracker }, :confirm => l(:text_are_you_sure), :class => "button-small" %> | |
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 %> |
@@ -1,46 +1,48 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= link_to l(:label_user_new), {:action => 'add'}, :class => 'pic picAdd' %> |
|
2 | <%= link_to l(:label_user_new), {:action => 'add'}, :class => 'pic picAdd' %> | |
3 | </div> |
|
3 | </div> | |
4 |
|
4 | |||
5 | <h2><%=l(:label_user_plural)%></h2> |
|
5 | <h2><%=l(:label_user_plural)%></h2> | |
6 |
|
6 | |||
7 |
<table class="list |
|
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)) %> | |
12 | <th><%=l(:field_mail)%></th> |
|
12 | <th><%=l(:field_mail)%></th> | |
13 | <%= sort_header_tag('admin', :caption => l(:field_admin)) %> |
|
13 | <%= sort_header_tag('admin', :caption => l(:field_admin)) %> | |
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> | |
22 | <td><%= user.firstname %></td> |
|
23 | <td><%= user.firstname %></td> | |
23 | <td><%= user.lastname %></td> |
|
24 | <td><%= user.lastname %></td> | |
24 | <td><%= user.mail %></td> |
|
25 | <td><%= user.mail %></td> | |
25 | <td align="center"><%= image_tag 'true' if user.admin? %></td> |
|
26 | <td align="center"><%= image_tag 'true' if user.admin? %></td> | |
26 | <td align="center"><%= image_tag 'locked' if user.locked? %><%= image_tag 'user_new' if user.registered? %></td> |
|
27 | <td align="center"><%= image_tag 'locked' if user.locked? %><%= image_tag 'user_new' if user.registered? %></td> | |
27 | <td align="center"><%= format_time(user.created_on) %></td> |
|
28 | <td align="center"><%= format_time(user.created_on) %></td> | |
28 | <td align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td> |
|
29 | <td align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td> | |
29 | <td align="center"> |
|
30 | <td align="center"> | |
30 | <%= start_form_tag :action => 'edit', :id => user %> |
|
31 | <%= start_form_tag :action => 'edit', :id => user %> | |
31 | <% if user.locked? %> |
|
32 | <% if user.locked? %> | |
32 | <%= hidden_field_tag 'user[status]', User::STATUS_ACTIVE %> |
|
33 | <%= hidden_field_tag 'user[status]', User::STATUS_ACTIVE %> | |
33 | <%= submit_tag l(:button_unlock), :class => "button-small" %> |
|
34 | <%= submit_tag l(:button_unlock), :class => "button-small" %> | |
34 | <% else %> |
|
35 | <% else %> | |
35 | <%= hidden_field_tag 'user[status]', User::STATUS_LOCKED %> |
|
36 | <%= hidden_field_tag 'user[status]', User::STATUS_LOCKED %> | |
36 | <%= submit_tag l(:button_lock), :class => "button-small" %> |
|
37 | <%= submit_tag l(:button_lock), :class => "button-small" %> | |
37 | <% end %> |
|
38 | <% end %> | |
38 | <%= end_form_tag %> |
|
39 | <%= end_form_tag %> | |
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 %> | |
45 | [ <%= @user_pages.current.first_item %> - <%= @user_pages.current.last_item %> / <%= @user_count %> ] |
|
47 | [ <%= @user_pages.current.first_item %> - <%= @user_pages.current.last_item %> / <%= @user_count %> ] | |
46 | </p> No newline at end of file |
|
48 | </p> |
@@ -1,509 +1,441 | |||||
1 | /* andreas08 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use in any way and for any purpose as long as the proper credits are given to the original designer. Version: 1.0, November 28, 2005 */ |
|
1 | /* andreas08 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use in any way and for any purpose as long as the proper credits are given to the original designer. Version: 1.0, November 28, 2005 */ | |
2 | /* Edited by Jean-Philippe Lang *> |
|
2 | /* Edited by Jean-Philippe Lang *> | |
3 | /**************** Body and tag styles ****************/ |
|
3 | /**************** Body and tag styles ****************/ | |
4 |
|
4 | |||
5 |
|
5 | |||
6 | #header * {margin:0; padding:0;} |
|
6 | #header * {margin:0; padding:0;} | |
7 | p, ul, ol, li {margin:0; padding:0;} |
|
7 | p, ul, ol, li {margin:0; padding:0;} | |
8 |
|
8 | |||
9 |
|
9 | |||
10 | body{ |
|
10 | body{ | |
11 | font:76% Verdana,Tahoma,Arial,sans-serif; |
|
11 | font:76% Verdana,Tahoma,Arial,sans-serif; | |
12 | line-height:1.4em; |
|
12 | line-height:1.4em; | |
13 | text-align:center; |
|
13 | text-align:center; | |
14 | color:#303030; |
|
14 | color:#303030; | |
15 | background:#e8eaec; |
|
15 | background:#e8eaec; | |
16 | margin:0; |
|
16 | margin:0; | |
17 | } |
|
17 | } | |
18 |
|
18 | |||
19 |
|
19 | |||
20 | a{ |
|
20 | a{ | |
21 | color:#467aa7; |
|
21 | color:#467aa7; | |
22 | font-weight:bold; |
|
22 | font-weight:bold; | |
23 | text-decoration:none; |
|
23 | text-decoration:none; | |
24 | background-color:inherit; |
|
24 | background-color:inherit; | |
25 | } |
|
25 | } | |
26 |
|
26 | |||
27 | a:hover{color:#2a5a8a; text-decoration:none; background-color:inherit;} |
|
27 | a:hover{color:#2a5a8a; text-decoration:none; background-color:inherit;} | |
28 | a img{border:none;} |
|
28 | a img{border:none;} | |
29 |
|
29 | |||
30 | p{padding:0 0 1em 0;} |
|
30 | p{padding:0 0 1em 0;} | |
31 | p form{margin-top:0; margin-bottom:20px;} |
|
31 | p form{margin-top:0; margin-bottom:20px;} | |
32 |
|
32 | |||
33 | img.left,img.center,img.right{padding:4px; border:1px solid #a0a0a0;} |
|
33 | img.left,img.center,img.right{padding:4px; border:1px solid #a0a0a0;} | |
34 | img.left{float:left; margin:0 12px 5px 0;} |
|
34 | img.left{float:left; margin:0 12px 5px 0;} | |
35 | img.center{display:block; margin:0 auto 5px auto;} |
|
35 | img.center{display:block; margin:0 auto 5px auto;} | |
36 | img.right{float:right; margin:0 0 5px 12px;} |
|
36 | img.right{float:right; margin:0 0 5px 12px;} | |
37 |
|
37 | |||
38 | /**************** Header and navigation styles ****************/ |
|
38 | /**************** Header and navigation styles ****************/ | |
39 |
|
39 | |||
40 | #container{ |
|
40 | #container{ | |
41 | width:100%; |
|
41 | width:100%; | |
42 | min-width: 800px; |
|
42 | min-width: 800px; | |
43 | margin:0; |
|
43 | margin:0; | |
44 | padding:0; |
|
44 | padding:0; | |
45 | text-align:left; |
|
45 | text-align:left; | |
46 | background:#ffffff; |
|
46 | background:#ffffff; | |
47 | color:#303030; |
|
47 | color:#303030; | |
48 | } |
|
48 | } | |
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; | |
56 | margin-bottom:1px; |
|
55 | margin-bottom:1px; | |
57 | } |
|
56 | } | |
58 |
|
57 | |||
59 | #header h1{ |
|
58 | #header h1{ | |
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; | |
67 | } |
|
66 | } | |
68 |
|
67 | |||
69 | #header h2{ |
|
68 | #header h2{ | |
70 | margin:3px 0 0 40px; |
|
69 | margin:3px 0 0 40px; | |
71 | font-size:1.5em; |
|
70 | font-size:1.5em; | |
72 | background-color:inherit; |
|
71 | background-color:inherit; | |
73 | color:#f0f2f4; |
|
72 | color:#f0f2f4; | |
74 | letter-spacing:-1px; |
|
73 | letter-spacing:-1px; | |
75 | font-weight:normal; |
|
74 | font-weight:normal; | |
76 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
75 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; | |
77 | } |
|
76 | } | |
78 |
|
77 | |||
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; | |
86 | } |
|
84 | } | |
87 |
|
85 | |||
88 | #navigation li{ |
|
86 | #navigation li{ | |
89 | float:left; |
|
87 | float:left; | |
90 | list-style-type:none; |
|
88 | list-style-type:none; | |
91 | border-right:1px solid #ffffff; |
|
89 | border-right:1px solid #ffffff; | |
92 | white-space:nowrap; |
|
90 | white-space:nowrap; | |
93 | } |
|
91 | } | |
94 |
|
92 | |||
95 | #navigation li.right { |
|
93 | #navigation li.right { | |
96 | float:right; |
|
94 | float:right; | |
97 | list-style-type:none; |
|
95 | list-style-type:none; | |
98 | border-right:0; |
|
96 | border-right:0; | |
99 | border-left:1px solid #ffffff; |
|
97 | border-left:1px solid #ffffff; | |
100 | white-space:nowrap; |
|
98 | white-space:nowrap; | |
101 | } |
|
99 | } | |
102 |
|
100 | |||
103 | #navigation li a{ |
|
101 | #navigation li a{ | |
104 | display:block; |
|
102 | 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; | |
112 | } |
|
109 | } | |
113 |
|
110 | |||
114 | * html #navigation a {width:1%;} |
|
111 | * html #navigation a {width:1%;} | |
115 |
|
112 | |||
116 | #navigation .selected,#navigation a:hover{ |
|
113 | #navigation .selected,#navigation a:hover{ | |
117 | color:#ffffff; |
|
114 | color:#ffffff; | |
118 | text-decoration:none; |
|
115 | text-decoration:none; | |
119 | background-color: #80b0da; |
|
116 | background-color: #80b0da; | |
120 | } |
|
117 | } | |
121 |
|
118 | |||
122 | /**************** Icons links *******************/ |
|
119 | /**************** Icons links *******************/ | |
123 | .picHome { background: url(../images/home.png) no-repeat 4px 50%; } |
|
120 | .picHome { background: url(../images/home.png) no-repeat 4px 50%; } | |
124 | .picUser { background: url(../images/user.png) no-repeat 4px 50%; } |
|
121 | .picUser { background: url(../images/user.png) no-repeat 4px 50%; } | |
125 | .picUserPage { background: url(../images/user_page.png) no-repeat 4px 50%; } |
|
122 | .picUserPage { background: url(../images/user_page.png) no-repeat 4px 50%; } | |
126 | .picAdmin { background: url(../images/admin.png) no-repeat 4px 50%; } |
|
123 | .picAdmin { background: url(../images/admin.png) no-repeat 4px 50%; } | |
127 | .picProject { background: url(../images/projects.png) no-repeat 4px 50%; } |
|
124 | .picProject { background: url(../images/projects.png) no-repeat 4px 50%; } | |
128 | .picLogout { background: url(../images/logout.png) no-repeat 4px 50%; } |
|
125 | .picLogout { background: url(../images/logout.png) no-repeat 4px 50%; } | |
129 | .picHelp { background: url(../images/help.png) no-repeat 4px 50%; } |
|
126 | .picHelp { background: url(../images/help.png) no-repeat 4px 50%; } | |
130 |
|
127 | |||
131 | .picEdit { background: url(../images/edit.png) no-repeat 4px 50%; } |
|
128 | .picEdit { background: url(../images/edit.png) no-repeat 4px 50%; } | |
132 | .picDelete { background: url(../images/delete.png) no-repeat 4px 50%; } |
|
129 | .picDelete { background: url(../images/delete.png) no-repeat 4px 50%; } | |
133 | .picAdd { background: url(../images/add.png) no-repeat 4px 50%; } |
|
130 | .picAdd { background: url(../images/add.png) no-repeat 4px 50%; } | |
134 | .picMove { background: url(../images/move.png) no-repeat 4px 50%; } |
|
131 | .picMove { background: url(../images/move.png) no-repeat 4px 50%; } | |
135 | .picCheck { background: url(../images/check.png) no-repeat 4px 70%; } |
|
132 | .picCheck { background: url(../images/check.png) no-repeat 4px 70%; } | |
136 | .picPdf { background: url(../images/pdf.png) no-repeat 4px 50%;} |
|
133 | .picPdf { background: url(../images/pdf.png) no-repeat 4px 50%;} | |
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 { | |
143 | height: auto; |
|
150 | height: auto; | |
144 | min-height: 500px; |
|
151 | 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 | |||
158 | } |
|
162 | } | |
159 |
|
163 | |||
160 | #content h2{ |
|
164 | #content h2{ | |
161 | display:block; |
|
165 | display:block; | |
162 | margin:0 0 16px 0; |
|
166 | margin:0 0 16px 0; | |
163 | font-size:1.7em; |
|
167 | font-size:1.7em; | |
164 | font-weight:normal; |
|
168 | font-weight:normal; | |
165 | letter-spacing:-1px; |
|
169 | letter-spacing:-1px; | |
166 | color:#606060; |
|
170 | color:#606060; | |
167 | background-color:inherit; |
|
171 | background-color:inherit; | |
168 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
172 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; | |
169 | } |
|
173 | } | |
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;} | |
176 | #content dt{font-weight:bold; margin-bottom:5px;} |
|
181 | #content dt{font-weight:bold; margin-bottom:5px;} | |
177 | #content dd{margin:0 0 10px 15px;} |
|
182 | #content dd{margin:0 0 10px 15px;} | |
178 |
|
183 | |||
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 | |||
216 | input.button-small |
|
200 | input.button-small | |
217 | { |
|
201 | { | |
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 # |
|
216 | border:1px solid #c0c0c0; | |
245 | padding: 6px; |
|
217 | padding: 6px; | |
246 | } |
|
218 | } | |
247 |
|
219 | |||
248 | legend { |
|
220 | legend { | |
249 | color: #505050; |
|
221 | color: #505050; | |
250 |
|
222 | |||
251 | } |
|
223 | } | |
252 |
|
224 | |||
253 | .required { |
|
225 | .required { | |
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:#f |
|
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. |
|
260 | table.with-cells td { | |
302 |
|
|
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 | |||
310 | #subcontent{ |
|
278 | #subcontent{ | |
311 | position: absolute; |
|
279 | position: absolute; | |
312 | left: 0px; |
|
280 | left: 0px; | |
313 | width:110px; |
|
281 | width:110px; | |
314 | padding:20px 20px 10px 5px; |
|
282 | padding:20px 20px 10px 5px; | |
315 | } |
|
283 | } | |
316 |
|
284 | |||
317 | #subcontent h2{ |
|
285 | #subcontent h2{ | |
318 | display:block; |
|
286 | display:block; | |
319 | margin:0 0 5px 0; |
|
287 | margin:0 0 5px 0; | |
320 | font-size:1.0em; |
|
288 | font-size:1.0em; | |
321 | font-weight:bold; |
|
289 | font-weight:bold; | |
322 | text-align:left; |
|
290 | text-align:left; | |
323 | color:#606060; |
|
291 | color:#606060; | |
324 | background-color:inherit; |
|
292 | background-color:inherit; | |
325 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
293 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; | |
326 | } |
|
294 | } | |
327 |
|
295 | |||
328 | #subcontent p{margin:0 0 16px 0; font-size:0.9em;} |
|
296 | #subcontent p{margin:0 0 16px 0; font-size:0.9em;} | |
329 |
|
297 | |||
330 | /**************** Menublock styles ****************/ |
|
298 | /**************** Menublock styles ****************/ | |
331 |
|
299 | |||
332 | .menublock{margin:0 0 20px 8px; font-size:0.8em;} |
|
300 | .menublock{margin:0 0 20px 8px; font-size:0.8em;} | |
333 | .menublock li{list-style:none; display:block; padding:1px; margin-bottom:0px;} |
|
301 | .menublock li{list-style:none; display:block; padding:1px; margin-bottom:0px;} | |
334 | .menublock li a{font-weight:bold; text-decoration:none;} |
|
302 | .menublock li a{font-weight:bold; text-decoration:none;} | |
335 | .menublock li a:hover{text-decoration:none;} |
|
303 | .menublock li a:hover{text-decoration:none;} | |
336 | .menublock li ul{margin:0; font-size:1em; font-weight:normal;} |
|
304 | .menublock li ul{margin:0; font-size:1em; font-weight:normal;} | |
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; | |
368 | color:#f0f0f0; |
|
315 | color:#f0f0f0; | |
369 | background:#467aa7; |
|
316 | background:#467aa7; | |
370 | } |
|
317 | } | |
371 |
|
318 | |||
372 | #footer p{padding:0; margin:0; text-align:center;} |
|
319 | #footer p{padding:0; margin:0; text-align:center;} | |
373 | #footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;} |
|
320 | #footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;} | |
374 | #footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;} |
|
321 | #footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;} | |
375 |
|
322 | |||
376 | /**************** Misc classes and styles ****************/ |
|
323 | /**************** Misc classes and styles ****************/ | |
377 |
|
324 | |||
378 | .splitcontentleft{float:left; width:49%;} |
|
325 | .splitcontentleft{float:left; width:49%;} | |
379 | .splitcontentright{float:right; width:49%;} |
|
326 | .splitcontentright{float:right; width:49%;} | |
380 | .clear{clear:both;} |
|
327 | .clear{clear:both;} | |
381 | .small{font-size:0.8em;line-height:1.4em;padding:0 0 0 0;} |
|
328 | .small{font-size:0.8em;line-height:1.4em;padding:0 0 0 0;} | |
382 | .hide{display:none;} |
|
329 | .hide{display:none;} | |
383 | .textcenter{text-align:center;} |
|
330 | .textcenter{text-align:center;} | |
384 | .textright{text-align:right;} |
|
331 | .textright{text-align:right;} | |
385 | .important{color:#f02025; background-color:inherit; font-weight:bold;} |
|
332 | .important{color:#f02025; background-color:inherit; font-weight:bold;} | |
386 |
|
333 | |||
387 | .box{ |
|
334 | .box{ | |
388 | margin:0 0 20px 0; |
|
335 | margin:0 0 20px 0; | |
389 | padding:10px; |
|
336 | padding:10px; | |
390 | border:1px solid #c0c0c0; |
|
337 | border:1px solid #c0c0c0; | |
391 | background-color:#fafbfc; |
|
338 | background-color:#fafbfc; | |
392 | color:#505050; |
|
339 | color:#505050; | |
393 | line-height:1.5em; |
|
340 | line-height:1.5em; | |
394 | } |
|
341 | } | |
395 |
|
342 | |||
396 | a.close-icon { |
|
343 | a.close-icon { | |
397 | display:block; |
|
344 | display:block; | |
398 | margin-top:3px; |
|
345 | margin-top:3px; | |
399 | overflow:hidden; |
|
346 | 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 | } | |
407 |
|
353 | |||
408 | a.close-icon:hover { |
|
354 | a.close-icon:hover { | |
409 | background-image:url('../images/close_hl.png'); |
|
355 | background-image:url('../images/close_hl.png'); | |
410 | } |
|
356 | } | |
411 |
|
357 | |||
412 | .rightbox{ |
|
358 | .rightbox{ | |
413 | background: #fafbfc; |
|
359 | background: #fafbfc; | |
414 | border: 1px solid #c0c0c0; |
|
360 | border: 1px solid #c0c0c0; | |
415 | float: right; |
|
361 | float: right; | |
416 | padding: 8px; |
|
362 | padding: 8px; | |
417 | position: relative; |
|
363 | position: relative; | |
418 | margin: 0 5px 5px; |
|
364 | margin: 0 5px 5px; | |
419 | } |
|
365 | } | |
420 |
|
366 | |||
421 | .layout-active { |
|
367 | .layout-active { | |
422 | background: #ECF3E1; |
|
368 | background: #ECF3E1; | |
423 | } |
|
369 | } | |
424 |
|
370 | |||
425 | .block-receiver { |
|
371 | .block-receiver { | |
426 | border:1px dashed #c0c0c0; |
|
372 | border:1px dashed #c0c0c0; | |
427 | margin-bottom: 20px; |
|
373 | margin-bottom: 20px; | |
428 | padding: 15px 0 15px 0; |
|
374 | padding: 15px 0 15px 0; | |
429 | } |
|
375 | } | |
430 |
|
376 | |||
431 | .mypage-box { |
|
377 | .mypage-box { | |
432 | margin:0 0 20px 0; |
|
378 | margin:0 0 20px 0; | |
433 | color:#505050; |
|
379 | color:#505050; | |
434 | line-height:1.5em; |
|
380 | line-height:1.5em; | |
435 | } |
|
381 | } | |
436 |
|
382 | |||
437 | .handle { |
|
383 | .handle { | |
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; | |
450 | } |
|
390 | } | |
451 |
|
391 | |||
452 | img.calendar-trigger { |
|
392 | img.calendar-trigger { | |
453 | cursor: pointer; |
|
393 | cursor: pointer; | |
454 | vertical-align: middle; |
|
394 | vertical-align: middle; | |
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 | } | |
469 |
|
401 | |||
470 | /***** Contextual links div *****/ |
|
402 | /***** Contextual links div *****/ | |
471 | .contextual { |
|
403 | .contextual { | |
472 | float: right; |
|
404 | float: right; | |
473 | font-size: 0.8em; |
|
405 | font-size: 0.8em; | |
474 | } |
|
406 | } | |
475 |
|
407 | |||
476 | .contextual select, .contextual input { |
|
408 | .contextual select, .contextual input { | |
477 | font-size: 1em; |
|
409 | font-size: 1em; | |
478 | } |
|
410 | } | |
479 |
|
411 | |||
480 |
|
412 | |||
481 | /***** CSS FORM ******/ |
|
413 | /***** CSS FORM ******/ | |
482 | .tabular p{ |
|
414 | .tabular p{ | |
483 | margin: 0; |
|
415 | margin: 0; | |
484 | padding: 5px 0 8px 0; |
|
416 | padding: 5px 0 8px 0; | |
485 | padding-left: 180px; /*width of left column containing the label elements*/ |
|
417 | padding-left: 180px; /*width of left column containing the label elements*/ | |
486 | height: 1%; |
|
418 | height: 1%; | |
487 | } |
|
419 | } | |
488 |
|
420 | |||
489 | .tabular label{ |
|
421 | .tabular label{ | |
490 | font-weight: bold; |
|
422 | font-weight: bold; | |
491 | float: left; |
|
423 | float: left; | |
492 | margin-left: -180px; /*width of left column*/ |
|
424 | margin-left: -180px; /*width of left column*/ | |
493 | width: 175px; /*width of labels. Should be smaller than left column to create some right |
|
425 | width: 175px; /*width of labels. Should be smaller than left column to create some right | |
494 | margin*/ |
|
426 | margin*/ | |
495 | } |
|
427 | } | |
496 |
|
428 | |||
497 | .error { |
|
429 | .error { | |
498 | color: #cc0000; |
|
430 | color: #cc0000; | |
499 | } |
|
431 | } | |
500 |
|
432 | |||
501 |
|
433 | |||
502 | /*.threepxfix class below: |
|
434 | /*.threepxfix class below: | |
503 | Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents. |
|
435 | Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents. | |
504 | to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html |
|
436 | to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html | |
505 | */ |
|
437 | */ | |
506 |
|
438 | |||
507 | * html .threepxfix{ |
|
439 | * html .threepxfix{ | |
508 | margin-left: 3px; |
|
440 | margin-left: 3px; | |
509 | } No newline at end of file |
|
441 | } |
@@ -1,79 +1,78 | |||||
1 | .jstEditor { |
|
1 | .jstEditor { | |
2 | padding-left: 0px; |
|
2 | padding-left: 0px; | |
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 { | |
10 | height: 16px; |
|
9 | height: 16px; | |
11 | font-size: 0.1em; |
|
10 | font-size: 0.1em; | |
12 | cursor: s-resize; |
|
11 | cursor: s-resize; | |
13 | background: transparent url(img/resizer.png) no-repeat 45% 50%; |
|
12 | background: transparent url(img/resizer.png) no-repeat 45% 50%; | |
14 | } |
|
13 | } | |
15 |
|
14 | |||
16 | .jstElements { |
|
15 | .jstElements { | |
17 | padding: 3px 3px; |
|
16 | padding: 3px 3px; | |
18 | } |
|
17 | } | |
19 |
|
18 | |||
20 | .jstElements button { |
|
19 | .jstElements button { | |
21 | margin-right : 6px; |
|
20 | margin-right : 6px; | |
22 | width : 24px; |
|
21 | width : 24px; | |
23 | height: 24px; |
|
22 | height: 24px; | |
24 | padding: 4px; |
|
23 | padding: 4px; | |
25 | border-style: solid; |
|
24 | border-style: solid; | |
26 | border-width: 1px; |
|
25 | border-width: 1px; | |
27 | border-color: #ddd; |
|
26 | border-color: #ddd; | |
28 | background-color : #f7f7f7; |
|
27 | background-color : #f7f7f7; | |
29 | background-position : 50% 50%; |
|
28 | background-position : 50% 50%; | |
30 | background-repeat: no-repeat; |
|
29 | background-repeat: no-repeat; | |
31 | } |
|
30 | } | |
32 | .jstElements button:hover { |
|
31 | .jstElements button:hover { | |
33 | border-color : #000; |
|
32 | border-color : #000; | |
34 | } |
|
33 | } | |
35 | .jstElements button span { |
|
34 | .jstElements button span { | |
36 | display : none; |
|
35 | display : none; | |
37 | } |
|
36 | } | |
38 | .jstElements span { |
|
37 | .jstElements span { | |
39 | display : inline; |
|
38 | display : inline; | |
40 | } |
|
39 | } | |
41 |
|
40 | |||
42 | .jstSpacer { |
|
41 | .jstSpacer { | |
43 | width : 0px; |
|
42 | width : 0px; | |
44 | font-size: 1px; |
|
43 | font-size: 1px; | |
45 | margin-right: 4px; |
|
44 | margin-right: 4px; | |
46 | } |
|
45 | } | |
47 |
|
46 | |||
48 | /* Buttons |
|
47 | /* Buttons | |
49 | -------------------------------------------------------- */ |
|
48 | -------------------------------------------------------- */ | |
50 | .jstb_strong { |
|
49 | .jstb_strong { | |
51 | background-image: url(../images/jstoolbar/bt_strong.png); |
|
50 | background-image: url(../images/jstoolbar/bt_strong.png); | |
52 | } |
|
51 | } | |
53 | .jstb_em { |
|
52 | .jstb_em { | |
54 | background-image: url(../images/jstoolbar/bt_em.png); |
|
53 | background-image: url(../images/jstoolbar/bt_em.png); | |
55 | } |
|
54 | } | |
56 | .jstb_ins { |
|
55 | .jstb_ins { | |
57 | background-image: url(../images/jstoolbar/bt_ins.png); |
|
56 | background-image: url(../images/jstoolbar/bt_ins.png); | |
58 | } |
|
57 | } | |
59 | .jstb_del { |
|
58 | .jstb_del { | |
60 | background-image: url(../images/jstoolbar/bt_del.png); |
|
59 | background-image: url(../images/jstoolbar/bt_del.png); | |
61 | } |
|
60 | } | |
62 | .jstb_quote { |
|
61 | .jstb_quote { | |
63 | background-image: url(../images/jstoolbar/bt_quote.png); |
|
62 | background-image: url(../images/jstoolbar/bt_quote.png); | |
64 | } |
|
63 | } | |
65 | .jstb_code { |
|
64 | .jstb_code { | |
66 | background-image: url(../images/jstoolbar/bt_code.png); |
|
65 | background-image: url(../images/jstoolbar/bt_code.png); | |
67 | } |
|
66 | } | |
68 | .jstb_br { |
|
67 | .jstb_br { | |
69 | background-image: url(../images/jstoolbar/bt_br.png); |
|
68 | background-image: url(../images/jstoolbar/bt_br.png); | |
70 | } |
|
69 | } | |
71 | .jstb_ul { |
|
70 | .jstb_ul { | |
72 | background-image: url(../images/jstoolbar/bt_ul.png); |
|
71 | background-image: url(../images/jstoolbar/bt_ul.png); | |
73 | } |
|
72 | } | |
74 | .jstb_ol { |
|
73 | .jstb_ol { | |
75 | background-image: url(../images/jstoolbar/bt_ol.png); |
|
74 | background-image: url(../images/jstoolbar/bt_ol.png); | |
76 | } |
|
75 | } | |
77 | .jstb_link { |
|
76 | .jstb_link { | |
78 | background-image: url(../images/jstoolbar/bt_link.png); |
|
77 | background-image: url(../images/jstoolbar/bt_link.png); | |
79 | } |
|
78 | } |
@@ -1,66 +1,22 | |||||
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; | |
48 | } |
|
9 | } | |
49 |
|
10 | |||
50 | .line-num { |
|
11 | .line-num { | |
51 | border: 1px solid #d7d7d7; |
|
12 | border: 1px solid #d7d7d7; | |
52 | font-size: 0.8em; |
|
13 | font-size: 0.8em; | |
53 | text-align: right; |
|
14 | text-align: right; | |
54 | width: 3em; |
|
15 | width: 3em; | |
55 | padding-right: 3px; |
|
16 | padding-right: 3px; | |
56 | } |
|
17 | } | |
57 |
|
18 | |||
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