@@ -1,32 +1,33 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'pic picAdd' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%=l(:label_project_plural)%></h2> |
|
6 | 6 | |
|
7 |
<table class="list |
|
|
8 | <tr class="ListHead"> | |
|
7 | <table class="list"> | |
|
8 | <thead><tr> | |
|
9 | 9 | <%= sort_header_tag('name', :caption => l(:label_project)) %> |
|
10 | 10 | <th><%=l(:field_description)%></th> |
|
11 | 11 | <th><%=l(:field_is_public)%></th> |
|
12 | 12 | <th><%=l(:label_subproject_plural)%></th> |
|
13 | 13 | <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> |
|
14 | <th></th> | |
|
15 | </tr> | |
|
16 | ||
|
14 | <th></th> | |
|
15 | </tr></thead> | |
|
16 | <tbody> | |
|
17 | 17 | <% for project in @projects %> |
|
18 | 18 | <tr class="<%= cycle("odd", "even") %>"> |
|
19 | 19 | <td><%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %> |
|
20 | 20 | <td><%=h project.description %> |
|
21 | 21 | <td align="center"><%= image_tag 'true' if project.is_public? %> |
|
22 | 22 | <td align="center"><%= project.projects_count %> |
|
23 | 23 | <td align="center"><%= format_date(project.created_on) %> |
|
24 | 24 | <td align="center"> |
|
25 | 25 | <%= button_to l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => "button-small" %> |
|
26 | 26 | </td> |
|
27 | 27 | </tr> |
|
28 | 28 | <% end %> |
|
29 | </tbody> | |
|
29 | 30 | </table> |
|
30 | 31 | |
|
31 | 32 | <p><%= pagination_links_full @project_pages %> |
|
32 | 33 | [ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p> No newline at end of file |
@@ -1,31 +1,28 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'pic picAdd' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%=l(:label_auth_source_plural)%></h2> |
|
6 | 6 | |
|
7 |
<table class="list |
|
|
8 | <tr class="ListHead"> | |
|
7 | <table class="list"> | |
|
8 | <thead><tr> | |
|
9 | 9 | <th><%=l(:field_name)%></th> |
|
10 | 10 | <th><%=l(:field_type)%></th> |
|
11 | 11 | <th><%=l(:field_host)%></th> |
|
12 | 12 | <th></th> |
|
13 | 13 | <th></th> |
|
14 | </tr> | |
|
15 | ||
|
14 | </tr></thead> | |
|
15 | <tbody> | |
|
16 | 16 | <% for source in @auth_sources %> |
|
17 | 17 | <tr class="<%= cycle("odd", "even") %>"> |
|
18 | 18 | <td><%= link_to source.name, :action => 'edit', :id => source%></td> |
|
19 | 19 | <td align="center"><%= source.auth_method_name %></td> |
|
20 | 20 | <td align="center"><%= source.host %></td> |
|
21 | <td align="center"> | |
|
22 | <%= link_to l(:button_test), :action => 'test_connection', :id => source %> | |
|
23 |
|
|
|
24 | <td align="center"> | |
|
25 | <%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %> | |
|
26 | </td> | |
|
27 | </tr> | |
|
21 | <td align="center"><%= link_to l(:button_test), :action => 'test_connection', :id => source %></td> | |
|
22 | <td align="center"><%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %></td> | |
|
23 | </tr> | |
|
28 | 24 | <% end %> |
|
25 | </tbody> | |
|
29 | 26 | </table> |
|
30 | 27 | |
|
31 | 28 | <%= pagination_links_full @auth_source_pages %> |
@@ -1,36 +1,38 | |||
|
1 | 1 | <h2><%=l(:label_custom_field_plural)%></h2> |
|
2 | 2 | |
|
3 |
<table class="list |
|
|
4 | <tr class="ListHead"> | |
|
3 | <table class="list"> | |
|
4 | <thead><tr> | |
|
5 | 5 | <th><%=l(:field_name)%></th> |
|
6 | 6 | <th><%=l(:field_type)%></th> |
|
7 | 7 | <th><%=l(:field_field_format)%></th> |
|
8 | 8 | <th><%=l(:field_is_required)%></th> |
|
9 | 9 | <th><%=l(:field_is_for_all)%></th> |
|
10 | 10 | <th><%=l(:label_used_by)%></th> |
|
11 | 11 | <th></th> |
|
12 | </tr> | |
|
12 | </tr></thead> | |
|
13 | <tbody> | |
|
13 | 14 | <% for custom_field in @custom_fields %> |
|
14 | 15 | <tr class="<%= cycle("odd", "even") %>"> |
|
15 | 16 | <td><%= link_to custom_field.name, :action => 'edit', :id => custom_field %></td> |
|
16 | 17 | <td align="center"><%= l(custom_field.type_name) %></td> |
|
17 | 18 | <td align="center"><%= l(CustomField::FIELD_FORMATS[custom_field.field_format][:name]) %></td> |
|
18 | 19 | <td align="center"><%= image_tag 'true' if custom_field.is_required? %></td> |
|
19 | 20 | <td align="center"><%= image_tag 'true' if custom_field.is_for_all? %></td> |
|
20 | 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 | 22 | <td align="center"> |
|
22 | 23 | <%= button_to l(:button_delete), { :action => 'destroy', :id => custom_field }, :confirm => l(:text_are_you_sure), :class => "button-small" %> |
|
23 | 24 | </td> |
|
24 | 25 | </tr> |
|
25 | 26 | <% end %> |
|
27 | </tbody> | |
|
26 | 28 | </table> |
|
27 | 29 | |
|
28 | 30 | <%= pagination_links_full @custom_field_pages %> |
|
29 | 31 | |
|
30 | 32 | <br /> |
|
31 | 33 | <%=l(:label_custom_field_new)%>: |
|
32 | 34 | <ul> |
|
33 | 35 | <li><%= link_to l(:label_issue_plural), :action => 'new', :type => 'IssueCustomField' %></li> |
|
34 | 36 | <li><%= link_to l(:label_project_plural), :action => 'new', :type => 'ProjectCustomField' %></li> |
|
35 | 37 | <li><%= link_to l(:label_user_plural), :action => 'new', :type => 'UserCustomField' %></li> |
|
36 | 38 | </ul> |
@@ -1,29 +1,28 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_issue_status_new), {:action => 'new'}, :class => 'pic picAdd' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%=l(:label_issue_status_plural)%></h2> |
|
6 | 6 | |
|
7 |
<table class="list |
|
|
8 | <tr class="ListHead"> | |
|
7 | <table class="list"> | |
|
8 | <thead><tr> | |
|
9 | 9 | <th><%=l(:field_status)%></th> |
|
10 | 10 | <th><%=l(:field_is_default)%></th> |
|
11 | 11 | <th><%=l(:field_is_closed)%></th> |
|
12 | <th><%=l(:field_html_color)%></th> | |
|
13 | 12 | <th></th> |
|
14 | </tr> | |
|
15 | ||
|
13 | </tr></thead> | |
|
14 | <tbody> | |
|
16 | 15 | <% for status in @issue_statuses %> |
|
17 | 16 | <tr class="<%= cycle("odd", "even") %>"> |
|
18 | <td><%= link_to status.name, :action => 'edit', :id => status %></td> | |
|
17 | <td><div class="square" style="background:#<%= status.html_color %>;"></div> <%= link_to status.name, :action => 'edit', :id => status %></td> | |
|
19 | 18 | <td align="center"><%= image_tag 'true' if status.is_default? %></td> |
|
20 |
<td align="center"><%= image_tag 'true' if status.is_closed? %></td> |
|
|
21 | <td><div style="background-color:#<%= status.html_color %>"> </div></td> | |
|
19 | <td align="center"><%= image_tag 'true' if status.is_closed? %></td> | |
|
22 | 20 | <td align="center"> |
|
23 | 21 | <%= button_to l(:button_delete), { :action => 'destroy', :id => status }, :confirm => l(:text_are_you_sure), :class => "button-small" %> |
|
24 | 22 | </td> |
|
25 | 23 | </tr> |
|
26 | 24 | <% end %> |
|
25 | </tbody> | |
|
27 | 26 | </table> |
|
28 | 27 | |
|
29 | 28 | <%= pagination_links_full @issue_status_pages %> No newline at end of file |
@@ -1,28 +1,25 | |||
|
1 | 1 | <% if issues.length > 0 %> |
|
2 | <table cellspacing="0" cellpadding="1" width="100%" border="0" class="listTable"> | |
|
3 | <tr><td> | |
|
4 | <table class="listTableContent"> | |
|
5 | <tr class="ListHead"> | |
|
2 | <table class="list"> | |
|
3 | <thead><tr> | |
|
6 | 4 | <th>#</th> |
|
7 | 5 | <th><%=l(:field_tracker)%></th> |
|
8 | 6 | <th><%=l(:field_subject)%></th> |
|
9 |
</tr> |
|
|
7 | </tr></thead> | |
|
8 | <tbody> | |
|
10 | 9 | <% for issue in issues %> |
|
11 | 10 | <tr class="<%= cycle("odd", "even") %>"> |
|
12 | <td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;"> | |
|
13 |
<%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> |
|
|
14 |
</t |
|
|
11 | <th align="center"> | |
|
12 | <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> | |
|
13 | </th> | |
|
15 | 14 | <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br /> |
|
16 | 15 | <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td> |
|
17 | 16 | <td> |
|
18 | 17 | <p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p> |
|
19 | 18 | </td> |
|
20 | 19 | </tr> |
|
21 | <% end %> | |
|
22 |
</t |
|
|
23 |
</t |
|
|
24 | </tr> | |
|
25 | </table> | |
|
20 | <% end %> | |
|
21 | </tbody> | |
|
22 | </table> | |
|
26 | 23 | <% else %> |
|
27 | 24 | <i><%=l(:label_no_data)%></i> |
|
28 | 25 | <% end %> No newline at end of file |
@@ -1,145 +1,145 | |||
|
1 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
|
3 | 3 | <head> |
|
4 | 4 | <title><%= $RDM_HEADER_TITLE + (@html_title ? ": #{@html_title}" : "") %></title> |
|
5 | 5 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|
6 | 6 | <meta name="description" content="redMine" /> |
|
7 | 7 | <meta name="keywords" content="issue,bug,tracker" /> |
|
8 | 8 | <%= stylesheet_link_tag "application" %> |
|
9 | 9 | <%= stylesheet_link_tag "menu" %> |
|
10 | 10 | <%= stylesheet_link_tag "rails" %> |
|
11 | 11 | <%= stylesheet_link_tag "print", :media => "print" %> |
|
12 | 12 | <%= javascript_include_tag :defaults %> |
|
13 | 13 | <%= javascript_include_tag 'menu' %> |
|
14 | 14 | <%= javascript_include_tag 'calendar/calendar' %> |
|
15 | 15 | <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> |
|
16 | 16 | <%= javascript_include_tag 'calendar/calendar-setup' %> |
|
17 | 17 | <%= stylesheet_link_tag 'calendar' %> |
|
18 | 18 | <%= stylesheet_link_tag 'jstoolbar' %> |
|
19 | 19 | </head> |
|
20 | 20 | |
|
21 | 21 | <body> |
|
22 | 22 | <div id="container" > |
|
23 | 23 | |
|
24 | 24 | <div id="header"> |
|
25 | 25 | <div style="float: left;"> |
|
26 | 26 | <h1><%= $RDM_HEADER_TITLE %></h1> |
|
27 | 27 | <h2><%= $RDM_HEADER_SUBTITLE %></h2> |
|
28 | 28 | </div> |
|
29 | 29 | <div style="float: right; padding-right: 1em; padding-top: 0.2em;"> |
|
30 | 30 | <% if loggedin? %><small><%=l(:label_logged_as)%> <b><%= @logged_in_user.login %></b></small><% end %> |
|
31 | 31 | </div> |
|
32 | 32 | </div> |
|
33 | 33 | |
|
34 | 34 | <div id="navigation"> |
|
35 | 35 | <ul> |
|
36 | 36 | <li class="selected"><%= link_to l(:label_home), { :controller => '' }, :class => "picHome" %></li> |
|
37 | 37 | <li><%= link_to l(:label_my_page), { :controller => 'my', :action => 'page'}, :class => "picUserPage" %></li> |
|
38 | 38 | <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "picProject" %></li> |
|
39 | 39 | |
|
40 | 40 | <% unless @project.nil? || @project.id.nil? %> |
|
41 | 41 | <li><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');" %></li> |
|
42 | 42 | <% end %> |
|
43 | 43 | |
|
44 | 44 | <% if loggedin? %> |
|
45 | 45 | <li><%= link_to l(:label_my_account), { :controller => 'my', :action => 'account' }, :class => "picUser" %></li> |
|
46 | 46 | <% end %> |
|
47 | 47 | |
|
48 | 48 | <% if admin_loggedin? %> |
|
49 | 49 | <li><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li> |
|
50 | 50 | <% end %> |
|
51 | 51 | |
|
52 | 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 | 54 | <% if loggedin? %> |
|
55 | 55 | <li class="right"><%= link_to l(:label_logout), { :controller => 'account', :action => 'logout' }, :class => "picUser" %></li> |
|
56 | 56 | <% else %> |
|
57 | 57 | <li class="right"><%= link_to l(:label_login), { :controller => 'account', :action => 'login' }, :class => "picUser" %></li> |
|
58 | 58 | <% end %> |
|
59 | 59 | </ul> |
|
60 | 60 | </div> |
|
61 | 61 | |
|
62 | 62 | <% if admin_loggedin? %> |
|
63 | 63 | <div id="menuAdmin" class="menu" onmouseover="menuMouseover(event)"> |
|
64 | 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 | 65 | <a class="menuItem" href="/users" onmouseover="menuItemMouseover(event,'menuUsers');"><span class="menuItemText"><%=l(:label_user_plural)%></span><span class="menuItemArrow">▶</span></a> |
|
66 | 66 | <a class="menuItem" href="/roles"><%=l(:label_role_and_permissions)%></a> |
|
67 | 67 | <a class="menuItem" href="/trackers" onmouseover="menuItemMouseover(event,'menuTrackers');"><span class="menuItemText"><%=l(:label_tracker_plural)%></span><span class="menuItemArrow">▶</span></a> |
|
68 | 68 | <a class="menuItem" href="/custom_fields"><%=l(:label_custom_field_plural)%></a> |
|
69 | 69 | <a class="menuItem" href="/enumerations"><%=l(:label_enumerations)%></a> |
|
70 | 70 | <a class="menuItem" href="/admin/mail_options"><%=l(:field_mail_notification)%></a> |
|
71 | 71 | <a class="menuItem" href="/auth_sources"><%=l(:label_authentication)%></a> |
|
72 | 72 | <a class="menuItem" href="/admin/info"><%=l(:label_information_plural)%></a> |
|
73 | 73 | </div> |
|
74 | 74 | <div id="menuTrackers" class="menu"> |
|
75 | 75 | <a class="menuItem" href="/issue_statuses"><%=l(:label_issue_status_plural)%></a> |
|
76 | 76 | <a class="menuItem" href="/roles/workflow"><%=l(:label_workflow)%></a> |
|
77 | 77 | </div> |
|
78 | 78 | <div id="menuProjects" class="menu"><a class="menuItem" href="/projects/add"><%=l(:label_new)%></a></div> |
|
79 | 79 | <div id="menuUsers" class="menu"><a class="menuItem" href="/users/add"><%=l(:label_new)%></a></div> |
|
80 | 80 | <% end %> |
|
81 | 81 | |
|
82 | 82 | <% unless @project.nil? || @project.id.nil? %> |
|
83 | 83 | <div id="menuProject" class="menu" onmouseover="menuMouseover(event)"> |
|
84 | 84 | <%= link_to l(:label_calendar), {:controller => 'projects', :action => 'calendar', :id => @project }, :class => "menuItem" %> |
|
85 | 85 | <%= link_to l(:label_gantt), {:controller => 'projects', :action => 'gantt', :id => @project }, :class => "menuItem" %> |
|
86 | 86 | <%= link_to l(:label_issue_plural), {:controller => 'projects', :action => 'list_issues', :id => @project }, :class => "menuItem" %> |
|
87 | 87 | <%= link_to l(:label_report_plural), {:controller => 'reports', :action => 'issue_report', :id => @project }, :class => "menuItem" %> |
|
88 | 88 | <%= link_to l(:label_activity), {:controller => 'projects', :action => 'activity', :id => @project }, :class => "menuItem" %> |
|
89 | 89 | <%= link_to l(:label_news_plural), {:controller => 'projects', :action => 'list_news', :id => @project }, :class => "menuItem" %> |
|
90 | 90 | <%= link_to l(:label_change_log), {:controller => 'projects', :action => 'changelog', :id => @project }, :class => "menuItem" %> |
|
91 | 91 | <%= link_to l(:label_document_plural), {:controller => 'projects', :action => 'list_documents', :id => @project }, :class => "menuItem" %> |
|
92 | 92 | <%= link_to l(:label_member_plural), {:controller => 'projects', :action => 'list_members', :id => @project }, :class => "menuItem" %> |
|
93 | 93 | <%= link_to l(:label_attachment_plural), {:controller => 'projects', :action => 'list_files', :id => @project }, :class => "menuItem" %> |
|
94 |
<%= link_to l(:label_repository), {:controller => 'repositories', :action => 'show', :id => @project}, :class => "menuItem" if @project.repository and !@project.repository.new_record? %> |
|
|
94 | <%= link_to l(:label_repository), {:controller => 'repositories', :action => 'show', :id => @project}, :class => "menuItem" if @project.repository and !@project.repository.new_record? %> | |
|
95 | 95 | <%= link_to_if_authorized l(:label_settings), {:controller => 'projects', :action => 'settings', :id => @project }, :class => "menuItem" %> |
|
96 | 96 | </div> |
|
97 | 97 | <% end %> |
|
98 | 98 | |
|
99 | 99 | |
|
100 | 100 | <div id="subcontent"> |
|
101 | 101 | |
|
102 | 102 | <% unless @project.nil? || @project.id.nil? %> |
|
103 | 103 | <h2><%= @project.name %></h2> |
|
104 | 104 | <ul class="menublock"> |
|
105 | 105 | <li><%= link_to l(:label_overview), :controller => 'projects', :action => 'show', :id => @project %></li> |
|
106 | 106 | <li><%= link_to l(:label_calendar), :controller => 'projects', :action => 'calendar', :id => @project %></li> |
|
107 | 107 | <li><%= link_to l(:label_gantt), :controller => 'projects', :action => 'gantt', :id => @project %></li> |
|
108 | 108 | <li><%= link_to l(:label_issue_plural), :controller => 'projects', :action => 'list_issues', :id => @project %></li> |
|
109 | 109 | <li><%= link_to l(:label_report_plural), :controller => 'reports', :action => 'issue_report', :id => @project %></li> |
|
110 | 110 | <li><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :id => @project %></li> |
|
111 | 111 | <li><%= link_to l(:label_news_plural), :controller => 'projects', :action => 'list_news', :id => @project %></li> |
|
112 | 112 | <li><%= link_to l(:label_change_log), :controller => 'projects', :action => 'changelog', :id => @project %></li> |
|
113 | 113 | <li><%= link_to l(:label_document_plural), :controller => 'projects', :action => 'list_documents', :id => @project %></li> |
|
114 | 114 | <li><%= link_to l(:label_member_plural), :controller => 'projects', :action => 'list_members', :id => @project %></li> |
|
115 | 115 | <li><%= link_to l(:label_attachment_plural), :controller => 'projects', :action => 'list_files', :id => @project %></li> |
|
116 | 116 | <li><%= link_to l(:label_repository), :controller => 'repositories', :action => 'show', :id => @project if @project.repository and !@project.repository.new_record? %></li> |
|
117 | 117 | <li><%= link_to_if_authorized l(:label_settings), :controller => 'projects', :action => 'settings', :id => @project %></li> |
|
118 | 118 | </ul> |
|
119 | 119 | <% end %> |
|
120 | 120 | |
|
121 | 121 | <% if loggedin? and @logged_in_user.memberships.length > 0 %> |
|
122 | 122 | <h2><%=l(:label_my_projects) %></h2> |
|
123 | 123 | <ul class="menublock"> |
|
124 | 124 | <% for membership in @logged_in_user.memberships %> |
|
125 | 125 | <li><%= link_to membership.project.name, :controller => 'projects', :action => 'show', :id => membership.project %></li> |
|
126 | 126 | <% end %> |
|
127 | 127 | </ul> |
|
128 | 128 | <% end %> |
|
129 | 129 | </div> |
|
130 | 130 | |
|
131 | 131 | <div id="content"> |
|
132 | 132 | <% if flash[:notice] %><p style="color: green"><%= flash[:notice] %></p><% end %> |
|
133 | 133 | <%= @content_for_layout %> |
|
134 | 134 | </div> |
|
135 | 135 | |
|
136 | 136 | <div id="footer"> |
|
137 | 137 | <p> |
|
138 | 138 | <%= auto_link $RDM_FOOTER_SIG %> | |
|
139 | 139 | <a href="http://redmine.rubyforge.org/" target="_new"><%= RDM_APP_NAME %></a> <%= RDM_APP_VERSION %> |
|
140 | 140 | </p> |
|
141 | 141 | </div> |
|
142 | 142 | |
|
143 | 143 | </div> |
|
144 | 144 | </body> |
|
145 | 145 | </html> No newline at end of file |
@@ -1,45 +1,47 | |||
|
1 | 1 | <h3><%= l(:label_calendar) %></h3> |
|
2 | 2 | |
|
3 | 3 | <% |
|
4 | 4 | @date_from = Date.today - (Date.today.cwday-1) |
|
5 | 5 | @date_to = Date.today + (7-Date.today.cwday) |
|
6 | 6 | @issues = Issue.find :all, |
|
7 | 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 | 8 | :include => [:project, :tracker] unless @user.projects.empty? |
|
9 | 9 | @issues ||= [] |
|
10 | 10 | %> |
|
11 | 11 | |
|
12 |
<table class=" |
|
|
13 | <tr class="ListHead"> | |
|
14 |
<t |
|
|
12 | <table class="list with-cells"> | |
|
13 | <thead><tr> | |
|
14 | <th></th> | |
|
15 | 15 | <% 1.upto(7) do |d| %> |
|
16 |
<t |
|
|
16 | <th align="center" width="14%"><%= day_name(d) %></th> | |
|
17 | 17 | <% end %> |
|
18 | </tr> | |
|
18 | </tr></thead> | |
|
19 | <tbdoy> | |
|
19 | 20 | <tr height="100"> |
|
20 | 21 | <% day = @date_from |
|
21 | 22 | while day <= @date_to |
|
22 | 23 | if day.cwday == 1 %> |
|
23 |
<t |
|
|
24 | <th valign="middle"><%= day.cweek %></th> | |
|
24 | 25 | <% end %> |
|
25 | 26 | <td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>"> |
|
26 | 27 | <p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p> |
|
27 | 28 | <% day_issues = [] |
|
28 | 29 | @issues.each { |i| day_issues << i if i.start_date == day or i.due_date == day } |
|
29 | 30 | day_issues.each do |i| %> |
|
30 | 31 | <%= if day == i.start_date and day == i.due_date |
|
31 | 32 | image_tag('arrow_bw') |
|
32 | 33 | elsif day == i.start_date |
|
33 | 34 | image_tag('arrow_from') |
|
34 | 35 | elsif day == i.due_date |
|
35 | 36 | image_tag('arrow_to') |
|
36 | 37 | end %> |
|
37 | 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 | 39 | <% end %> |
|
39 | 40 | </td> |
|
40 | 41 | <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %> |
|
41 | 42 | <% |
|
42 | 43 | day = day + 1 |
|
43 | 44 | end %> |
|
44 | 45 | </tr> |
|
46 | </tbody> | |
|
45 | 47 | </table> No newline at end of file |
@@ -1,66 +1,69 | |||
|
1 | 1 | <h2><%= l(:label_calendar) %></h2> |
|
2 | 2 | |
|
3 | 3 | <table width="100%"> |
|
4 | 4 | <tr> |
|
5 | 5 | <td align="left" width="150"> |
|
6 | 6 | <%= link_to_remote ('« ' + (@month==1 ? "#{month_name(12)} #{@year-1}" : "#{month_name(@month-1)}")), |
|
7 | 7 | {:update => "content", :url => { :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1) }}, |
|
8 | 8 | {:href => url_for(:action => 'calendar', :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1))} |
|
9 | 9 | %> |
|
10 | 10 | </td> |
|
11 | 11 | <td align="center"> |
|
12 | 12 | <%= start_form_tag :action => 'calendar', :id => @project %> |
|
13 | 13 | <%= select_month(@month, :prefix => "month", :discard_type => true) %> |
|
14 | 14 | <%= select_year(@year, :prefix => "year", :discard_type => true) %> |
|
15 | 15 | <%= submit_tag l(:button_submit), :class => "button-small" %> |
|
16 | 16 | <%= end_form_tag %> |
|
17 | 17 | </td> |
|
18 | 18 | <td align="right" width="150"> |
|
19 | 19 | <%= link_to_remote ((@month==12 ? "#{month_name(1)} #{@year+1}" : "#{month_name(@month+1)}") + ' »'), |
|
20 | 20 | {:update => "content", :url => { :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1) }}, |
|
21 | 21 | {:href => url_for(:action => 'calendar', :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1))} |
|
22 | 22 | %> |
|
23 | 23 | </td> |
|
24 | 24 | </tr> |
|
25 | 25 | </table> |
|
26 | 26 | <br /> |
|
27 | 27 | |
|
28 |
<table class=" |
|
|
29 | <tr class="ListHead"> | |
|
30 | <td></td> | |
|
28 | <table class="list with-cells"> | |
|
29 | <thead> | |
|
30 | <tr> | |
|
31 | <th></th> | |
|
31 | 32 | <% 1.upto(7) do |d| %> |
|
32 |
<t |
|
|
33 | <th width="14%"><%= day_name(d) %></th> | |
|
33 | 34 | <% end %> |
|
34 | 35 | </tr> |
|
36 | </thead> | |
|
37 | <tbody> | |
|
35 | 38 | <tr height="100"> |
|
36 | 39 | <% day = @date_from |
|
37 | 40 | while day <= @date_to |
|
38 | 41 | if day.cwday == 1 %> |
|
39 |
<t |
|
|
42 | <th><%= day.cweek %></th> | |
|
40 | 43 | <% end %> |
|
41 | 44 | <td valign="top" width="14%" class="<%= day.month==@month ? "even" : "odd" %>"> |
|
42 | 45 | <p align="right"><%= day==Date.today ? "<b>#{day.day}</b>" : day.day %></p> |
|
43 | 46 | <% day_issues = [] |
|
44 | 47 | @issues.each { |i| day_issues << i if i.start_date == day or i.due_date == day } |
|
45 | 48 | day_issues.each do |i| %> |
|
46 | 49 | <%= if day == i.start_date and day == i.due_date |
|
47 | 50 | image_tag('arrow_bw') |
|
48 | 51 | elsif day == i.start_date |
|
49 | 52 | image_tag('arrow_from') |
|
50 | 53 | elsif day == i.due_date |
|
51 | 54 | image_tag('arrow_to') |
|
52 | 55 | end %> |
|
53 | 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 | 57 | <% end %> |
|
55 | 58 | </td> |
|
56 | 59 | <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %> |
|
57 | 60 | <% |
|
58 | 61 | day = day + 1 |
|
59 | 62 | end %> |
|
60 | 63 | </tr> |
|
64 | </tbody> | |
|
61 | 65 | </table> |
|
62 | 66 | |
|
63 | <br /> | |
|
64 | 67 | <%= image_tag 'arrow_from' %> <%= l(:text_tip_task_begin_day) %><br /> |
|
65 | 68 | <%= image_tag 'arrow_to' %> <%= l(:text_tip_task_end_day) %><br /> |
|
66 | 69 | <%= image_tag 'arrow_bw' %> <%= l(:text_tip_task_begin_end_day) %><br /> No newline at end of file |
@@ -1,20 +1,21 | |||
|
1 | 1 | <h2><%=l(:label_public_projects)%></h2> |
|
2 | 2 | |
|
3 |
<table class="list |
|
|
4 | <tr class="ListHead"> | |
|
3 | <table class="list"> | |
|
4 | <thead><tr> | |
|
5 | 5 | <%= sort_header_tag('name', :caption => l(:label_project)) %> |
|
6 | 6 | <th><%=l(:field_description)%></th> |
|
7 | 7 | <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> |
|
8 | </tr> | |
|
9 | ||
|
8 | </tr></thead> | |
|
9 | <tbody> | |
|
10 | 10 | <% for project in @projects %> |
|
11 | 11 | <tr class="<%= cycle("odd", "even") %>"> |
|
12 | 12 | <td><%= link_to project.name, :action => 'show', :id => project %> |
|
13 | 13 | <td><%=h project.description %> |
|
14 | 14 | <td align="center"><%= format_date(project.created_on) %> |
|
15 | 15 | </tr> |
|
16 | 16 | <% end %> |
|
17 | </tbody> | |
|
17 | 18 | </table> |
|
18 | 19 | |
|
19 | 20 | <%= pagination_links_full @project_pages %> |
|
20 | 21 | [ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ] No newline at end of file |
@@ -1,43 +1,44 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to_if_authorized l(:label_attachment_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'pic picAdd' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%=l(:label_attachment_plural)%></h2> |
|
6 | 6 | |
|
7 | 7 | <% delete_allowed = authorize_for('versions', 'destroy_file') %> |
|
8 | 8 | |
|
9 |
<table class="list |
|
|
10 | <tr class="ListHead"> | |
|
9 | <table class="list"> | |
|
10 | <thead><tr> | |
|
11 | 11 | <th><%=l(:field_version)%></th> |
|
12 | 12 | <th><%=l(:field_filename)%></th> |
|
13 | 13 | <th><%=l(:label_date)%></th> |
|
14 | 14 | <th><%=l(:field_filesize)%></th> |
|
15 | 15 | <th>D/L</th> |
|
16 | 16 | <th>MD5</th> |
|
17 | 17 | <% if delete_allowed %><th></th><% end %> |
|
18 | </tr> | |
|
19 | ||
|
18 | </tr></thead> | |
|
19 | <tbody> | |
|
20 | 20 | <% for version in @versions %> |
|
21 | 21 | <% unless version.attachments.empty? %> |
|
22 |
<tr><t |
|
|
22 | <tr><th colspan="7" align="left"><%= image_tag 'package' %> <b><%= version.name %></b></th></tr> | |
|
23 | 23 | <% for file in version.attachments %> |
|
24 | 24 | <tr class="<%= cycle("odd", "even") %>"> |
|
25 | 25 | <td></td> |
|
26 | 26 | <td><%= link_to file.filename, :controller => 'versions', :action => 'download', :id => version, :attachment_id => file %></td> |
|
27 | 27 | <td align="center"><%= format_date(file.created_on) %></td> |
|
28 | 28 | <td align="center"><%= human_size(file.filesize) %></td> |
|
29 | 29 | <td align="center"><%= file.downloads %></td> |
|
30 | 30 | <td align="center"><small><%= file.digest %></small></td> |
|
31 | 31 | <% if delete_allowed %> |
|
32 | 32 | <td align="center"> |
|
33 | 33 | <div class="contextual"> |
|
34 | 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 | 35 | </div> |
|
36 | 36 | </td> |
|
37 | 37 | <% end %> |
|
38 | 38 | </tr> |
|
39 | 39 | <% end |
|
40 | 40 | reset_cycle %> |
|
41 | 41 | <% end %> |
|
42 | 42 | <% end %> |
|
43 | </tbody> | |
|
43 | 44 | </table> No newline at end of file |
@@ -1,91 +1,81 | |||
|
1 | 1 | <% if @query.new_record? %> |
|
2 | 2 | <h2><%=l(:label_issue_plural)%></h2> |
|
3 | 3 | |
|
4 | 4 | <%= start_form_tag({:action => 'list_issues'}, :id => 'query_form') %> |
|
5 | 5 | <%= render :partial => 'queries/filters', :locals => {:query => @query} %> |
|
6 | 6 | <%= end_form_tag %> |
|
7 | 7 | <div class="contextual"> |
|
8 | 8 | <%= link_to_remote l(:button_apply), |
|
9 | 9 | { :url => { :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 }, |
|
10 | 10 | :update => "content", |
|
11 | 11 | :with => "Form.serialize('query_form')" |
|
12 | 12 | }, :class => 'pic picCheck' %> |
|
13 | 13 | |
|
14 | 14 | <%= link_to l(:button_clear), {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1}, :class => 'pic picDelete' %> |
|
15 | 15 | <% if authorize_for('projects', 'add_query') %> |
|
16 | 16 | |
|
17 | 17 | <%= link_to_remote l(:button_save), |
|
18 | 18 | { :url => { :controller => 'projects', :action => "add_query", :id => @project }, |
|
19 | 19 | :method => 'get', |
|
20 | 20 | :update => "content", |
|
21 | 21 | :with => "Form.serialize('query_form')" |
|
22 | 22 | }, :class => 'pic picEdit' %> |
|
23 | 23 | <% end %> |
|
24 | 24 | </div> |
|
25 | 25 | <br /> |
|
26 | 26 | <% else %> |
|
27 | 27 | <% if authorize_for('projects', 'add_query') %> |
|
28 | 28 | <div class="contextual"> |
|
29 | 29 | <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => @query}, :class => 'pic picEdit' %> |
|
30 | 30 | <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> |
|
31 | 31 | </div> |
|
32 | 32 | <% end %> |
|
33 | 33 | <h2><%= @query.name %></h2> |
|
34 | 34 | <% end %> |
|
35 | 35 | <%= error_messages_for 'query' %> |
|
36 | 36 | <% if @query.valid? %> |
|
37 | 37 | <% if @issues.empty? %> |
|
38 | 38 | <p><i><%= l(:label_no_data) %></i></p> |
|
39 | 39 | <% else %> |
|
40 | 40 | |
|
41 | <table class="listTableContent"> | |
|
42 | <tr> | |
|
43 | <td colspan="6" align="left"><small><%= check_all_links 'issues_form' %></small></td> | |
|
44 | <td colspan="2" align="right"> | |
|
45 | <small><%= l(:label_per_page) %>:</small> | |
|
46 | <%= start_form_tag %> | |
|
47 | <%= select_tag 'per_page', options_for_select(@results_per_page_options, @results_per_page), :class => 'select-small'%> | |
|
48 | <%= submit_tag l(:button_apply), :class => 'button-small'%> | |
|
49 | <%= end_form_tag %> | |
|
50 | </td> | |
|
51 | </tr> | |
|
52 | </table> | |
|
53 | 41 | <%= start_form_tag({:controller => 'projects', :action => 'move_issues', :id => @project}, :id => 'issues_form' ) %> |
|
54 |
<table class="list |
|
|
55 | ||
|
56 | <tr class="ListHead"> | |
|
57 | <td></td> | |
|
42 | <table class="list"> | |
|
43 | <thead><tr> | |
|
44 | <th></th> | |
|
58 | 45 | <%= sort_header_tag('issues.id', :caption => '#') %> |
|
59 | <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %> | |
|
60 | 46 | <%= sort_header_tag('issues.tracker_id', :caption => l(:field_tracker)) %> |
|
47 | <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %> | |
|
61 | 48 | <th><%=l(:field_subject)%></th> |
|
62 | 49 | <%= sort_header_tag('users.lastname', :caption => l(:field_author)) %> |
|
63 | 50 | <%= sort_header_tag('issues.created_on', :caption => l(:field_created_on)) %> |
|
64 | 51 | <%= sort_header_tag('issues.updated_on', :caption => l(:field_updated_on)) %> |
|
65 | </tr> | |
|
52 | </tr></thead> | |
|
53 | <tbody> | |
|
66 | 54 | <% for issue in @issues %> |
|
67 | 55 | <tr class="<%= cycle("odd", "even") %>"> |
|
68 |
<t |
|
|
69 |
<td align="center"><%= link_to issue. |
|
|
70 | <td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;"><%= issue.status.name %></font></td> | |
|
56 | <th width="15"><%= check_box_tag "issue_ids[]", issue.id %></th> | |
|
57 | <td align="center"><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td> | |
|
71 | 58 | <td align="center"><%= issue.tracker.name %></td> |
|
59 | <td><div class="square" style="background:#<%= issue.status.html_color %>;"></div> <%= issue.status.name %></td> | |
|
72 | 60 | <td><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></td> |
|
73 | 61 | <td align="center"><%= issue.author.display_name %></td> |
|
74 | 62 | <td align="center"><%= format_time(issue.created_on) %></td> |
|
75 | 63 | <td align="center"><%= format_time(issue.updated_on) %></td> |
|
76 | 64 | </tr> |
|
77 | <% end %> | |
|
65 | <% end %> | |
|
66 | </tbody> | |
|
78 | 67 | </table> |
|
79 | 68 | <div class="contextual"> |
|
80 | 69 | <%= l(:label_export_to) %> |
|
81 |
<%= link_to 'CSV', {:action => 'export_issues_csv', :id => @project}, :class => ' |
|
|
70 | <%= link_to 'CSV', {:action => 'export_issues_csv', :id => @project}, :class => 'icon file' %>, | |
|
82 | 71 | <%= link_to 'PDF', {:action => 'export_issues_pdf', :id => @project}, :class => 'pic picPdf' %> |
|
83 | 72 | </div> |
|
84 | <p> | |
|
73 | ||
|
74 | <%= submit_tag l(:button_move), :class => "button-small" %> | |
|
75 | <%= end_form_tag %> | |
|
76 | | |
|
85 | 77 | <%= pagination_links_full @issue_pages %> |
|
86 | 78 | [ <%= @issue_pages.current.first_item %> - <%= @issue_pages.current.last_item %> / <%= @issue_count %> ] |
|
87 | </p> | |
|
88 | <%= submit_tag l(:button_move) %> | |
|
89 | <%= end_form_tag %> | |
|
79 | ||
|
90 | 80 | <% end %> |
|
91 | 81 | <% end %> No newline at end of file |
@@ -1,47 +1,48 | |||
|
1 | 1 | <% if @statuses.empty? or rows.empty? %> |
|
2 | 2 | <p><i><%=l(:label_no_data)%></i></p> |
|
3 | 3 | <% else %> |
|
4 | 4 | <% col_width = 70 / (@statuses.length+3) %> |
|
5 |
<table class=" |
|
|
6 | <tr> | |
|
7 |
<t |
|
|
5 | <table class="list"> | |
|
6 | <thead><tr> | |
|
7 | <th width="25%"></th> | |
|
8 | 8 | <% for status in @statuses %> |
|
9 |
|
|
|
9 | <th width="<%= col_width %>%" style="text-align:left;"><div class="square" style="background:#<%= status.html_color %>;"></div> <small><%= status.name %></small></th> | |
|
10 | 10 | <% end %> |
|
11 |
<t |
|
|
12 |
<t |
|
|
13 |
<t |
|
|
14 | </tr> | |
|
15 | ||
|
11 | <th align="center" width="<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></th> | |
|
12 | <th align="center" width="<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></th> | |
|
13 | <th align="center" width="<%= col_width %>%"><strong><%=l(:label_total)%></strong></th> | |
|
14 | </tr></thead> | |
|
15 | <tbody> | |
|
16 | 16 | <% for row in rows %> |
|
17 | 17 | <tr class="<%= cycle("odd", "even") %>"> |
|
18 | 18 | <td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project, |
|
19 | 19 | :set_filter => 1, |
|
20 | 20 | "#{field_name}" => row.id %></td> |
|
21 | 21 | <% for status in @statuses %> |
|
22 | 22 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "status_id" => status.id }), |
|
23 | 23 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
24 | 24 | :set_filter => 1, |
|
25 | 25 | "status_id" => status.id, |
|
26 | 26 | "#{field_name}" => row.id %></td> |
|
27 | 27 | <% end %> |
|
28 | 28 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }), |
|
29 | 29 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
30 | 30 | :set_filter => 1, |
|
31 | 31 | "#{field_name}" => row.id, |
|
32 | 32 | "status_id" => "o" %></td> |
|
33 | 33 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }), |
|
34 | 34 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
35 | 35 | :set_filter => 1, |
|
36 | 36 | "#{field_name}" => row.id, |
|
37 | 37 | "status_id" => "c" %></td> |
|
38 | 38 | <td align="center"><%= link_to (aggregate data, { field_name => row.id }), |
|
39 | 39 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
40 | 40 | :set_filter => 1, |
|
41 | 41 | "#{field_name}" => row.id, |
|
42 | 42 | "status_id" => "*" %></td> |
|
43 | <% end %> | |
|
44 | 43 | </tr> |
|
44 | <% end %> | |
|
45 | </tbody> | |
|
45 | 46 | </table> |
|
46 | 47 | <% end |
|
47 | 48 | reset_cycle %> No newline at end of file |
@@ -1,36 +1,37 | |||
|
1 | 1 | <% if @statuses.empty? or rows.empty? %> |
|
2 | 2 | <p><i><%=l(:label_no_data)%></i></p> |
|
3 | 3 | <% else %> |
|
4 |
<table class=" |
|
|
5 | <tr> | |
|
6 |
<t |
|
|
7 |
<t |
|
|
8 |
<t |
|
|
9 |
<t |
|
|
10 | </tr> | |
|
11 | ||
|
4 | <table class="list"> | |
|
5 | <thead><tr> | |
|
6 | <th width="25%"></th> | |
|
7 | <th align="center" width="25%"><%=l(:label_open_issues_plural)%></th> | |
|
8 | <th align="center" width="25%"><%=l(:label_closed_issues_plural)%></th> | |
|
9 | <th align="center" width="25%"><%=l(:label_total)%></th> | |
|
10 | </tr></thead> | |
|
11 | <tbody> | |
|
12 | 12 | <% for row in rows %> |
|
13 | 13 | <tr class="<%= cycle("odd", "even") %>"> |
|
14 | 14 | <td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project, |
|
15 | 15 | :set_filter => 1, |
|
16 | 16 | "#{field_name}" => row.id %></td> |
|
17 | 17 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }), |
|
18 | 18 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
19 | 19 | :set_filter => 1, |
|
20 | 20 | "#{field_name}" => row.id, |
|
21 | 21 | "status_id" => "o" %></td> |
|
22 | 22 | <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }), |
|
23 | 23 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
24 | 24 | :set_filter => 1, |
|
25 | 25 | "#{field_name}" => row.id, |
|
26 | 26 | "status_id" => "c" %></td> |
|
27 | 27 | <td align="center"><%= link_to (aggregate data, { field_name => row.id }), |
|
28 | 28 | :controller => 'projects', :action => 'list_issues', :id => @project, |
|
29 | 29 | :set_filter => 1, |
|
30 | 30 | "#{field_name}" => row.id, |
|
31 | 31 | "status_id" => "*" %></td> |
|
32 | <% end %> | |
|
33 | 32 | </tr> |
|
33 | <% end %> | |
|
34 | </tbody> | |
|
34 | 35 | </table> |
|
35 | 36 | <% end |
|
36 | 37 | reset_cycle %> No newline at end of file |
@@ -1,22 +1,23 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_role_new), {:action => 'new'}, :class => 'pic picAdd' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%=l(:label_role_plural)%></h2> |
|
6 | 6 | |
|
7 |
<table class="list |
|
|
8 | <tr class="ListHead"> | |
|
7 | <table class="list"> | |
|
8 | <thead><tr> | |
|
9 | 9 | <th><%=l(:label_role)%></th> |
|
10 | 10 | <th></th> |
|
11 | </tr> | |
|
12 | ||
|
11 | </tr></thead> | |
|
12 | <tbody> | |
|
13 | 13 | <% for role in @roles %> |
|
14 | 14 | <tr class="<%= cycle("odd", "even") %>"> |
|
15 | 15 | <td><%= link_to role.name, :action => 'edit', :id => role %></td> |
|
16 | 16 | <td align="center"> |
|
17 | 17 | <%= button_to l(:button_delete), { :action => 'destroy', :id => role }, :confirm => l(:text_are_you_sure), :class => "button-small" %> |
|
18 | 18 | </tr> |
|
19 | 19 | <% end %> |
|
20 | </tbody> | |
|
20 | 21 | </table> |
|
21 | 22 | |
|
22 | 23 | <%= pagination_links_full @role_pages %> No newline at end of file |
@@ -1,23 +1,24 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_tracker_new), {:action => 'new'}, :class => 'pic picAdd' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%=l(:label_tracker_plural)%></h2> |
|
6 | 6 | |
|
7 |
<table class="list |
|
|
8 | <tr class="ListHead"> | |
|
7 | <table class="list"> | |
|
8 | <thead><tr> | |
|
9 | 9 | <th><%=l(:label_tracker)%></th> |
|
10 | 10 | <th></th> |
|
11 | </tr> | |
|
12 | ||
|
11 | </tr></thead> | |
|
12 | <tbody> | |
|
13 | 13 | <% for tracker in @trackers %> |
|
14 | 14 | <tr class="<%= cycle("odd", "even") %>"> |
|
15 | 15 | <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td> |
|
16 | 16 | <td align="center"> |
|
17 | 17 | <%= button_to l(:button_delete), { :action => 'destroy', :id => tracker }, :confirm => l(:text_are_you_sure), :class => "button-small" %> |
|
18 | 18 | </td> |
|
19 | 19 | </tr> |
|
20 | 20 | <% end %> |
|
21 | </tbody> | |
|
21 | 22 | </table> |
|
22 | 23 | |
|
23 | 24 | <%= pagination_links_full @tracker_pages %> No newline at end of file |
@@ -1,46 +1,48 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_user_new), {:action => 'add'}, :class => 'pic picAdd' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%=l(:label_user_plural)%></h2> |
|
6 | 6 | |
|
7 |
<table class="list |
|
|
8 | <tr class="ListHead"> | |
|
7 | <table class="list"> | |
|
8 | <thead><tr> | |
|
9 | 9 | <%= sort_header_tag('login', :caption => l(:field_login)) %> |
|
10 | 10 | <%= sort_header_tag('firstname', :caption => l(:field_firstname)) %> |
|
11 | 11 | <%= sort_header_tag('lastname', :caption => l(:field_lastname)) %> |
|
12 | 12 | <th><%=l(:field_mail)%></th> |
|
13 | 13 | <%= sort_header_tag('admin', :caption => l(:field_admin)) %> |
|
14 | 14 | <%= sort_header_tag('status', :caption => l(:field_status)) %> |
|
15 | 15 | <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> |
|
16 | 16 | <%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on)) %> |
|
17 | <th></th> | |
|
18 | </tr> | |
|
17 | <th></th> | |
|
18 | </tr></thead> | |
|
19 | <tbody> | |
|
19 | 20 | <% for user in @users %> |
|
20 | 21 | <tr class="<%= cycle("odd", "even") %>"> |
|
21 | 22 | <td><%= link_to user.login, :action => 'edit', :id => user %></td> |
|
22 | 23 | <td><%= user.firstname %></td> |
|
23 | 24 | <td><%= user.lastname %></td> |
|
24 | 25 | <td><%= user.mail %></td> |
|
25 | 26 | <td align="center"><%= image_tag 'true' if user.admin? %></td> |
|
26 | 27 | <td align="center"><%= image_tag 'locked' if user.locked? %><%= image_tag 'user_new' if user.registered? %></td> |
|
27 | 28 | <td align="center"><%= format_time(user.created_on) %></td> |
|
28 | 29 | <td align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td> |
|
29 | 30 | <td align="center"> |
|
30 | 31 | <%= start_form_tag :action => 'edit', :id => user %> |
|
31 | 32 | <% if user.locked? %> |
|
32 | 33 | <%= hidden_field_tag 'user[status]', User::STATUS_ACTIVE %> |
|
33 | 34 | <%= submit_tag l(:button_unlock), :class => "button-small" %> |
|
34 | 35 | <% else %> |
|
35 | 36 | <%= hidden_field_tag 'user[status]', User::STATUS_LOCKED %> |
|
36 | 37 | <%= submit_tag l(:button_lock), :class => "button-small" %> |
|
37 | 38 | <% end %> |
|
38 | 39 | <%= end_form_tag %> |
|
39 | 40 | </td> |
|
40 | 41 | </tr> |
|
41 | 42 | <% end %> |
|
43 | </tbody> | |
|
42 | 44 | </table> |
|
43 | 45 | |
|
44 | 46 | <p><%= pagination_links_full @user_pages %> |
|
45 | 47 | [ <%= @user_pages.current.first_item %> - <%= @user_pages.current.last_item %> / <%= @user_count %> ] |
|
46 | 48 | </p> No newline at end of file |
@@ -1,509 +1,441 | |||
|
1 | 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 | 2 | /* Edited by Jean-Philippe Lang *> |
|
3 | 3 | /**************** Body and tag styles ****************/ |
|
4 | 4 | |
|
5 | 5 | |
|
6 | 6 | #header * {margin:0; padding:0;} |
|
7 | 7 | p, ul, ol, li {margin:0; padding:0;} |
|
8 | 8 | |
|
9 | 9 | |
|
10 | 10 | body{ |
|
11 | 11 | font:76% Verdana,Tahoma,Arial,sans-serif; |
|
12 | 12 | line-height:1.4em; |
|
13 | 13 | text-align:center; |
|
14 | 14 | color:#303030; |
|
15 | 15 | background:#e8eaec; |
|
16 | 16 | margin:0; |
|
17 | 17 | } |
|
18 | 18 | |
|
19 | 19 | |
|
20 | 20 | a{ |
|
21 | 21 | color:#467aa7; |
|
22 | 22 | font-weight:bold; |
|
23 | 23 | text-decoration:none; |
|
24 | 24 | background-color:inherit; |
|
25 | 25 | } |
|
26 | 26 | |
|
27 | 27 | a:hover{color:#2a5a8a; text-decoration:none; background-color:inherit;} |
|
28 | 28 | a img{border:none;} |
|
29 | 29 | |
|
30 | 30 | p{padding:0 0 1em 0;} |
|
31 | 31 | p form{margin-top:0; margin-bottom:20px;} |
|
32 | 32 | |
|
33 | 33 | img.left,img.center,img.right{padding:4px; border:1px solid #a0a0a0;} |
|
34 | 34 | img.left{float:left; margin:0 12px 5px 0;} |
|
35 | 35 | img.center{display:block; margin:0 auto 5px auto;} |
|
36 | 36 | img.right{float:right; margin:0 0 5px 12px;} |
|
37 | 37 | |
|
38 | 38 | /**************** Header and navigation styles ****************/ |
|
39 | 39 | |
|
40 | 40 | #container{ |
|
41 | 41 | width:100%; |
|
42 | 42 | min-width: 800px; |
|
43 | 43 | margin:0; |
|
44 | 44 | padding:0; |
|
45 | 45 | text-align:left; |
|
46 | 46 | background:#ffffff; |
|
47 | 47 | color:#303030; |
|
48 | 48 | } |
|
49 | 49 | |
|
50 | 50 | #header{ |
|
51 | 51 | height:4.5em; |
|
52 | /*width:758px;*/ | |
|
53 | 52 | margin:0; |
|
54 | 53 | background:#467aa7; |
|
55 | 54 | color:#ffffff; |
|
56 | 55 | margin-bottom:1px; |
|
57 | 56 | } |
|
58 | 57 | |
|
59 | 58 | #header h1{ |
|
60 | 59 | padding:10px 0 0 20px; |
|
61 | 60 | font-size:2em; |
|
62 | 61 | background-color:inherit; |
|
63 | color:#fff; /*rgb(152, 26, 33);*/ | |
|
62 | color:#fff; | |
|
64 | 63 | letter-spacing:-1px; |
|
65 | 64 | font-weight:bold; |
|
66 | 65 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
67 | 66 | } |
|
68 | 67 | |
|
69 | 68 | #header h2{ |
|
70 | 69 | margin:3px 0 0 40px; |
|
71 | 70 | font-size:1.5em; |
|
72 | 71 | background-color:inherit; |
|
73 | 72 | color:#f0f2f4; |
|
74 | 73 | letter-spacing:-1px; |
|
75 | 74 | font-weight:normal; |
|
76 | 75 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
77 | 76 | } |
|
78 | 77 | |
|
79 | 78 | #navigation{ |
|
80 | 79 | height:2.2em; |
|
81 | 80 | line-height:2.2em; |
|
82 | /*width:758px;*/ | |
|
83 | 81 | margin:0; |
|
84 | 82 | background:#578bb8; |
|
85 | 83 | color:#ffffff; |
|
86 | 84 | } |
|
87 | 85 | |
|
88 | 86 | #navigation li{ |
|
89 | 87 | float:left; |
|
90 | 88 | list-style-type:none; |
|
91 | 89 | border-right:1px solid #ffffff; |
|
92 | 90 | white-space:nowrap; |
|
93 | 91 | } |
|
94 | 92 | |
|
95 | 93 | #navigation li.right { |
|
96 | 94 | float:right; |
|
97 | 95 | list-style-type:none; |
|
98 | 96 | border-right:0; |
|
99 | 97 | border-left:1px solid #ffffff; |
|
100 | 98 | white-space:nowrap; |
|
101 | 99 | } |
|
102 | 100 | |
|
103 | 101 | #navigation li a{ |
|
104 | 102 | display:block; |
|
105 | 103 | padding:0px 10px 0px 22px; |
|
106 | 104 | font-size:0.8em; |
|
107 | 105 | font-weight:normal; |
|
108 | /*text-transform:uppercase;*/ | |
|
109 | 106 | text-decoration:none; |
|
110 | 107 | background-color:inherit; |
|
111 | 108 | color: #ffffff; |
|
112 | 109 | } |
|
113 | 110 | |
|
114 | 111 | * html #navigation a {width:1%;} |
|
115 | 112 | |
|
116 | 113 | #navigation .selected,#navigation a:hover{ |
|
117 | 114 | color:#ffffff; |
|
118 | 115 | text-decoration:none; |
|
119 | 116 | background-color: #80b0da; |
|
120 | 117 | } |
|
121 | 118 | |
|
122 | 119 | /**************** Icons links *******************/ |
|
123 | 120 | .picHome { background: url(../images/home.png) no-repeat 4px 50%; } |
|
124 | 121 | .picUser { background: url(../images/user.png) no-repeat 4px 50%; } |
|
125 | 122 | .picUserPage { background: url(../images/user_page.png) no-repeat 4px 50%; } |
|
126 | 123 | .picAdmin { background: url(../images/admin.png) no-repeat 4px 50%; } |
|
127 | 124 | .picProject { background: url(../images/projects.png) no-repeat 4px 50%; } |
|
128 | 125 | .picLogout { background: url(../images/logout.png) no-repeat 4px 50%; } |
|
129 | 126 | .picHelp { background: url(../images/help.png) no-repeat 4px 50%; } |
|
130 | 127 | |
|
131 | 128 | .picEdit { background: url(../images/edit.png) no-repeat 4px 50%; } |
|
132 | 129 | .picDelete { background: url(../images/delete.png) no-repeat 4px 50%; } |
|
133 | 130 | .picAdd { background: url(../images/add.png) no-repeat 4px 50%; } |
|
134 | 131 | .picMove { background: url(../images/move.png) no-repeat 4px 50%; } |
|
135 | 132 | .picCheck { background: url(../images/check.png) no-repeat 4px 70%; } |
|
136 | 133 | .picPdf { background: url(../images/pdf.png) no-repeat 4px 50%;} |
|
137 | 134 | .picCsv { background: url(../images/csv.png) no-repeat 4px 50%;} |
|
138 | 135 | |
|
139 | 136 | .pic { padding-left: 18px; margin-left: 3px; } |
|
137 | ||
|
138 | .icon { | |
|
139 | background-position: 0% 40%; | |
|
140 | background-repeat: no-repeat; | |
|
141 | padding-left: 20px; | |
|
142 | } | |
|
143 | ||
|
144 | .folder { background-image: url(../images/folder.png); } | |
|
145 | .file { background-image: url(../images/file.png); } | |
|
146 | ||
|
140 | 147 | /**************** Content styles ****************/ |
|
141 | 148 | |
|
142 | 149 | html>body #content { |
|
143 | 150 | height: auto; |
|
144 | 151 | min-height: 500px; |
|
145 | 152 | } |
|
146 | 153 | |
|
147 | 154 | #content{ |
|
148 | /*float:right;*/ | |
|
149 | /*width:530px;*/ | |
|
150 | 155 | width: auto; |
|
151 | 156 | height:500px; |
|
152 | 157 | font-size:0.9em; |
|
153 | 158 | padding:20px 10px 10px 20px; |
|
154 | /*position: absolute;*/ | |
|
155 | 159 | margin-left: 120px; |
|
156 | 160 | border-left: 1px dashed #c0c0c0; |
|
157 | 161 | |
|
158 | 162 | } |
|
159 | 163 | |
|
160 | 164 | #content h2{ |
|
161 | 165 | display:block; |
|
162 | 166 | margin:0 0 16px 0; |
|
163 | 167 | font-size:1.7em; |
|
164 | 168 | font-weight:normal; |
|
165 | 169 | letter-spacing:-1px; |
|
166 | 170 | color:#606060; |
|
167 | 171 | background-color:inherit; |
|
168 | 172 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
169 | 173 | } |
|
170 | 174 | |
|
171 | 175 | #content h2 a{font-weight:normal;} |
|
172 | 176 | #content h3{margin:0 0 12px 0; font-size:1.4em;color:#707070;font-family: Trebuchet MS,Georgia,"Times New Roman",serif;} |
|
177 | #content h4{font-size: 1em; margin-bottom: 12px; margin-top: 20px; font-weight: normal; border-bottom: dotted 1px #c0c0c0;} | |
|
173 | 178 | #content a:hover,#subcontent a:hover{text-decoration:underline;} |
|
174 | 179 | #content ul,#content ol{margin:0 5px 16px 35px;} |
|
175 | 180 | #content dl{margin:0 5px 10px 25px;} |
|
176 | 181 | #content dt{font-weight:bold; margin-bottom:5px;} |
|
177 | 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 | 187 | form { |
|
193 | 188 | display: inline; |
|
194 | 189 | } |
|
195 | 190 | |
|
196 | .noborder { | |
|
197 | border:0px; | |
|
198 | background-color:#fff; | |
|
199 | width:100%; | |
|
200 | } | |
|
201 | ||
|
202 | textarea { | |
|
203 | padding:0; | |
|
204 | margin:0; | |
|
205 | } | |
|
206 | ||
|
207 | 191 | blockquote { |
|
208 | 192 | padding-left: 6px; |
|
209 | 193 | border-left: 2px solid #ccc; |
|
210 | 194 | } |
|
211 | 195 | |
|
212 | input { | |
|
196 | input, select { | |
|
213 | 197 | vertical-align: middle; |
|
214 | 198 | } |
|
215 | 199 | |
|
216 | 200 | input.button-small |
|
217 | 201 | { |
|
218 | 202 | font-size: 0.8em; |
|
219 | 203 | } |
|
220 | 204 | |
|
221 | select { | |
|
222 | vertical-align: middle; | |
|
223 | } | |
|
224 | ||
|
225 | 205 | .select-small |
|
226 | 206 | { |
|
227 | border: 1px solid #7F9DB9; | |
|
228 | padding: 1px; | |
|
229 | 207 | font-size: 0.8em; |
|
230 | 208 | } |
|
231 | 209 | |
|
232 | .active-filter | |
|
233 | { | |
|
234 | background-color: #F9FA9E; | |
|
235 | ||
|
236 | } | |
|
237 | ||
|
238 | 210 | label { |
|
239 | 211 | font-weight: bold; |
|
240 | 212 | font-size: 1em; |
|
241 | 213 | } |
|
242 | 214 | |
|
243 | 215 | fieldset { |
|
244 |
border:1px solid # |
|
|
216 | border:1px solid #c0c0c0; | |
|
245 | 217 | padding: 6px; |
|
246 | 218 | } |
|
247 | 219 | |
|
248 | 220 | legend { |
|
249 | 221 | color: #505050; |
|
250 | 222 | |
|
251 | 223 | } |
|
252 | 224 | |
|
253 | 225 | .required { |
|
254 | 226 | color: #bb0000; |
|
255 | 227 | } |
|
256 | 228 | |
|
257 | table.listTableContent { | |
|
258 | border:1px solid #578bb8; | |
|
259 | width:100%; | |
|
260 | border-collapse: collapse; | |
|
261 | } | |
|
262 | ||
|
263 | table.listTableContent td { | |
|
264 | padding:2px; | |
|
265 | } | |
|
266 | ||
|
267 | tr.ListHead { | |
|
268 | background-color:#467aa7; | |
|
269 | color:#FFFFFF; | |
|
270 | text-align:center; | |
|
271 | } | |
|
272 | ||
|
273 | tr.ListHead a { | |
|
274 | color:#FFFFFF; | |
|
275 | text-decoration:underline; | |
|
276 | } | |
|
277 | ||
|
278 | 229 | .odd { |
|
279 |
background-color:#f |
|
|
230 | background-color:#f6f7f8; | |
|
280 | 231 | } |
|
281 | 232 | .even { |
|
282 | 233 | background-color: #fff; |
|
283 | 234 | } |
|
284 | 235 | |
|
285 | table.reportTableContent { | |
|
286 | border:1px solid #c0c0c0; | |
|
287 | width:99%; | |
|
288 | border-collapse: collapse; | |
|
236 | hr { border:none; border-bottom: dotted 1px #c0c0c0; } | |
|
237 | ||
|
238 | div.square { | |
|
239 | border: 1px solid #999; | |
|
240 | float: left; | |
|
241 | margin: .4em .5em 0 0; | |
|
242 | overflow: hidden; | |
|
243 | width: .6em; height: .6em; | |
|
289 | 244 | } |
|
290 | 245 | |
|
291 | table.reportTableContent td { | |
|
292 | padding:2px; | |
|
246 | table p { | |
|
247 | margin:0; | |
|
248 | padding:0; | |
|
293 | 249 | } |
|
294 | 250 | |
|
295 | table.calenderTable { | |
|
296 | border:1px solid #578bb8; | |
|
297 | width:99%; | |
|
298 | border-collapse: collapse; | |
|
251 | /********** Table used to display lists of things ***********/ | |
|
252 | ||
|
253 | table.list { | |
|
254 | width:100%; | |
|
255 | border-collapse: collapse; | |
|
256 | border: 1px dotted #d0d0d0; | |
|
257 | margin-bottom: 6px; | |
|
299 | 258 | } |
|
300 | 259 | |
|
301 |
table. |
|
|
302 |
|
|
|
260 | table.with-cells td { | |
|
261 | border: 1px solid #d7d7d7; | |
|
303 | 262 | } |
|
304 | 263 | |
|
305 | hr { border:none; border-bottom: dotted 1px #c0c0c0; } | |
|
264 | table.list thead th { | |
|
265 | text-align: center; | |
|
266 | background: #eee; | |
|
267 | border: 1px solid #d7d7d7; | |
|
268 | } | |
|
306 | 269 | |
|
270 | table.list tbody th { | |
|
271 | font-weight: normal; | |
|
272 | background: #eed; | |
|
273 | border: 1px solid #d7d7d7; | |
|
274 | } | |
|
307 | 275 | |
|
308 | 276 | /**************** Sidebar styles ****************/ |
|
309 | 277 | |
|
310 | 278 | #subcontent{ |
|
311 | 279 | position: absolute; |
|
312 | 280 | left: 0px; |
|
313 | 281 | width:110px; |
|
314 | 282 | padding:20px 20px 10px 5px; |
|
315 | 283 | } |
|
316 | 284 | |
|
317 | 285 | #subcontent h2{ |
|
318 | 286 | display:block; |
|
319 | 287 | margin:0 0 5px 0; |
|
320 | 288 | font-size:1.0em; |
|
321 | 289 | font-weight:bold; |
|
322 | 290 | text-align:left; |
|
323 | 291 | color:#606060; |
|
324 | 292 | background-color:inherit; |
|
325 | 293 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
326 | 294 | } |
|
327 | 295 | |
|
328 | 296 | #subcontent p{margin:0 0 16px 0; font-size:0.9em;} |
|
329 | 297 | |
|
330 | 298 | /**************** Menublock styles ****************/ |
|
331 | 299 | |
|
332 | 300 | .menublock{margin:0 0 20px 8px; font-size:0.8em;} |
|
333 | 301 | .menublock li{list-style:none; display:block; padding:1px; margin-bottom:0px;} |
|
334 | 302 | .menublock li a{font-weight:bold; text-decoration:none;} |
|
335 | 303 | .menublock li a:hover{text-decoration:none;} |
|
336 | 304 | .menublock li ul{margin:0; font-size:1em; font-weight:normal;} |
|
337 | 305 | .menublock li ul li{margin-bottom:0;} |
|
338 | 306 | .menublock li ul a{font-weight:normal;} |
|
339 | 307 | |
|
340 | /**************** Searchbar styles ****************/ | |
|
341 | ||
|
342 | #searchbar{margin:0 0 20px 0;} | |
|
343 | #searchbar form fieldset{margin-left:10px; border:0 solid;} | |
|
344 | ||
|
345 | #searchbar #s{ | |
|
346 | height:1.2em; | |
|
347 | width:110px; | |
|
348 | margin:0 5px 0 0; | |
|
349 | border:1px solid #a0a0a0; | |
|
350 | } | |
|
351 | ||
|
352 | #searchbar #searchbutton{ | |
|
353 | width:auto; | |
|
354 | padding:0 1px; | |
|
355 | border:1px solid #808080; | |
|
356 | font-size:0.9em; | |
|
357 | text-align:center; | |
|
358 | } | |
|
359 | ||
|
360 | 308 | /**************** Footer styles ****************/ |
|
361 | 309 | |
|
362 | 310 | #footer{ |
|
363 | 311 | clear:both; |
|
364 | /*width:758px;*/ | |
|
365 | 312 | padding:5px 0; |
|
366 | 313 | margin:0; |
|
367 | 314 | font-size:0.9em; |
|
368 | 315 | color:#f0f0f0; |
|
369 | 316 | background:#467aa7; |
|
370 | 317 | } |
|
371 | 318 | |
|
372 | 319 | #footer p{padding:0; margin:0; text-align:center;} |
|
373 | 320 | #footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;} |
|
374 | 321 | #footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;} |
|
375 | 322 | |
|
376 | 323 | /**************** Misc classes and styles ****************/ |
|
377 | 324 | |
|
378 | 325 | .splitcontentleft{float:left; width:49%;} |
|
379 | 326 | .splitcontentright{float:right; width:49%;} |
|
380 | 327 | .clear{clear:both;} |
|
381 | 328 | .small{font-size:0.8em;line-height:1.4em;padding:0 0 0 0;} |
|
382 | 329 | .hide{display:none;} |
|
383 | 330 | .textcenter{text-align:center;} |
|
384 | 331 | .textright{text-align:right;} |
|
385 | 332 | .important{color:#f02025; background-color:inherit; font-weight:bold;} |
|
386 | 333 | |
|
387 | 334 | .box{ |
|
388 | 335 | margin:0 0 20px 0; |
|
389 | 336 | padding:10px; |
|
390 | 337 | border:1px solid #c0c0c0; |
|
391 | 338 | background-color:#fafbfc; |
|
392 | 339 | color:#505050; |
|
393 | 340 | line-height:1.5em; |
|
394 | 341 | } |
|
395 | 342 | |
|
396 | 343 | a.close-icon { |
|
397 | 344 | display:block; |
|
398 | 345 | margin-top:3px; |
|
399 | 346 | overflow:hidden; |
|
400 | 347 | width:12px; |
|
401 | 348 | height:12px; |
|
402 | 349 | background-repeat: no-repeat; |
|
403 | cursor:hand; | |
|
404 | 350 | cursor:pointer; |
|
405 | 351 | background-image:url('../images/close.png'); |
|
406 | 352 | } |
|
407 | 353 | |
|
408 | 354 | a.close-icon:hover { |
|
409 | 355 | background-image:url('../images/close_hl.png'); |
|
410 | 356 | } |
|
411 | 357 | |
|
412 | 358 | .rightbox{ |
|
413 | 359 | background: #fafbfc; |
|
414 | 360 | border: 1px solid #c0c0c0; |
|
415 | 361 | float: right; |
|
416 | 362 | padding: 8px; |
|
417 | 363 | position: relative; |
|
418 | 364 | margin: 0 5px 5px; |
|
419 | 365 | } |
|
420 | 366 | |
|
421 | 367 | .layout-active { |
|
422 | 368 | background: #ECF3E1; |
|
423 | 369 | } |
|
424 | 370 | |
|
425 | 371 | .block-receiver { |
|
426 | 372 | border:1px dashed #c0c0c0; |
|
427 | 373 | margin-bottom: 20px; |
|
428 | 374 | padding: 15px 0 15px 0; |
|
429 | 375 | } |
|
430 | 376 | |
|
431 | 377 | .mypage-box { |
|
432 | 378 | margin:0 0 20px 0; |
|
433 | 379 | color:#505050; |
|
434 | 380 | line-height:1.5em; |
|
435 | 381 | } |
|
436 | 382 | |
|
437 | 383 | .handle { |
|
438 | 384 | cursor: move; |
|
439 | 385 | } |
|
440 | 386 | |
|
441 | .topright{ | |
|
442 | position: absolute; | |
|
443 | right: 25px; | |
|
444 | top: 100px; | |
|
445 | } | |
|
446 | ||
|
447 | 387 | .login { |
|
448 | 388 | width: 50%; |
|
449 | 389 | text-align: left; |
|
450 | 390 | } |
|
451 | 391 | |
|
452 | 392 | img.calendar-trigger { |
|
453 | 393 | cursor: pointer; |
|
454 | 394 | vertical-align: middle; |
|
455 | 395 | margin-left: 4px; |
|
456 | 396 | } |
|
457 | 397 | |
|
458 | #history h4, #comments h4 { | |
|
459 | font-size: 1em; | |
|
460 | margin-bottom: 12px; | |
|
461 | margin-top: 20px; | |
|
462 | font-weight: normal; | |
|
463 | border-bottom: dotted 1px #c0c0c0; | |
|
464 | } | |
|
465 | ||
|
466 | 398 | #history p { |
|
467 | 399 | margin-left: 34px; |
|
468 | 400 | } |
|
469 | 401 | |
|
470 | 402 | /***** Contextual links div *****/ |
|
471 | 403 | .contextual { |
|
472 | 404 | float: right; |
|
473 | 405 | font-size: 0.8em; |
|
474 | 406 | } |
|
475 | 407 | |
|
476 | 408 | .contextual select, .contextual input { |
|
477 | 409 | font-size: 1em; |
|
478 | 410 | } |
|
479 | 411 | |
|
480 | 412 | |
|
481 | 413 | /***** CSS FORM ******/ |
|
482 | 414 | .tabular p{ |
|
483 | 415 | margin: 0; |
|
484 | 416 | padding: 5px 0 8px 0; |
|
485 | 417 | padding-left: 180px; /*width of left column containing the label elements*/ |
|
486 | 418 | height: 1%; |
|
487 | 419 | } |
|
488 | 420 | |
|
489 | 421 | .tabular label{ |
|
490 | 422 | font-weight: bold; |
|
491 | 423 | float: left; |
|
492 | 424 | margin-left: -180px; /*width of left column*/ |
|
493 | 425 | width: 175px; /*width of labels. Should be smaller than left column to create some right |
|
494 | 426 | margin*/ |
|
495 | 427 | } |
|
496 | 428 | |
|
497 | 429 | .error { |
|
498 | 430 | color: #cc0000; |
|
499 | 431 | } |
|
500 | 432 | |
|
501 | 433 | |
|
502 | 434 | /*.threepxfix class below: |
|
503 | 435 | Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents. |
|
504 | 436 | to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html |
|
505 | 437 | */ |
|
506 | 438 | |
|
507 | 439 | * html .threepxfix{ |
|
508 | 440 | margin-left: 3px; |
|
509 | 441 | } No newline at end of file |
@@ -1,79 +1,78 | |||
|
1 | 1 | .jstEditor { |
|
2 | 2 | padding-left: 0px; |
|
3 | 3 | } |
|
4 | 4 | .jstEditor textarea, .jstEditor iframe { |
|
5 | 5 | margin: 0; |
|
6 | border: 1; | |
|
7 | 6 | } |
|
8 | 7 | |
|
9 | 8 | .jstHandle { |
|
10 | 9 | height: 16px; |
|
11 | 10 | font-size: 0.1em; |
|
12 | 11 | cursor: s-resize; |
|
13 | 12 | background: transparent url(img/resizer.png) no-repeat 45% 50%; |
|
14 | 13 | } |
|
15 | 14 | |
|
16 | 15 | .jstElements { |
|
17 | 16 | padding: 3px 3px; |
|
18 | 17 | } |
|
19 | 18 | |
|
20 | 19 | .jstElements button { |
|
21 | 20 | margin-right : 6px; |
|
22 | 21 | width : 24px; |
|
23 | 22 | height: 24px; |
|
24 | 23 | padding: 4px; |
|
25 | 24 | border-style: solid; |
|
26 | 25 | border-width: 1px; |
|
27 | 26 | border-color: #ddd; |
|
28 | 27 | background-color : #f7f7f7; |
|
29 | 28 | background-position : 50% 50%; |
|
30 | 29 | background-repeat: no-repeat; |
|
31 | 30 | } |
|
32 | 31 | .jstElements button:hover { |
|
33 | 32 | border-color : #000; |
|
34 | 33 | } |
|
35 | 34 | .jstElements button span { |
|
36 | 35 | display : none; |
|
37 | 36 | } |
|
38 | 37 | .jstElements span { |
|
39 | 38 | display : inline; |
|
40 | 39 | } |
|
41 | 40 | |
|
42 | 41 | .jstSpacer { |
|
43 | 42 | width : 0px; |
|
44 | 43 | font-size: 1px; |
|
45 | 44 | margin-right: 4px; |
|
46 | 45 | } |
|
47 | 46 | |
|
48 | 47 | /* Buttons |
|
49 | 48 | -------------------------------------------------------- */ |
|
50 | 49 | .jstb_strong { |
|
51 | 50 | background-image: url(../images/jstoolbar/bt_strong.png); |
|
52 | 51 | } |
|
53 | 52 | .jstb_em { |
|
54 | 53 | background-image: url(../images/jstoolbar/bt_em.png); |
|
55 | 54 | } |
|
56 | 55 | .jstb_ins { |
|
57 | 56 | background-image: url(../images/jstoolbar/bt_ins.png); |
|
58 | 57 | } |
|
59 | 58 | .jstb_del { |
|
60 | 59 | background-image: url(../images/jstoolbar/bt_del.png); |
|
61 | 60 | } |
|
62 | 61 | .jstb_quote { |
|
63 | 62 | background-image: url(../images/jstoolbar/bt_quote.png); |
|
64 | 63 | } |
|
65 | 64 | .jstb_code { |
|
66 | 65 | background-image: url(../images/jstoolbar/bt_code.png); |
|
67 | 66 | } |
|
68 | 67 | .jstb_br { |
|
69 | 68 | background-image: url(../images/jstoolbar/bt_br.png); |
|
70 | 69 | } |
|
71 | 70 | .jstb_ul { |
|
72 | 71 | background-image: url(../images/jstoolbar/bt_ul.png); |
|
73 | 72 | } |
|
74 | 73 | .jstb_ol { |
|
75 | 74 | background-image: url(../images/jstoolbar/bt_ol.png); |
|
76 | 75 | } |
|
77 | 76 | .jstb_link { |
|
78 | 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 | 2 | div.action_M { background: #fd8 } |
|
12 | 3 | div.action_D { background: #f88 } |
|
13 | 4 | div.action_A { background: #bfb } |
|
14 | 5 | |
|
15 | table.list { | |
|
16 | width:100%; | |
|
17 | border-collapse: collapse; | |
|
18 | border: 1px dotted #d0d0d0; | |
|
19 | margin-bottom: 6px; | |
|
20 | } | |
|
21 | ||
|
22 | table.list thead th { | |
|
23 | text-align: center; | |
|
24 | background: #eee; | |
|
25 | border: 1px solid #d7d7d7; | |
|
26 | } | |
|
27 | ||
|
28 | table.list tbody th { | |
|
29 | font-weight: normal; | |
|
30 | text-align: center; | |
|
31 | background: #eed; | |
|
32 | border: 1px solid #d7d7d7; | |
|
33 | } | |
|
34 | ||
|
35 | .icon { | |
|
36 | background-position: 0% 40%; | |
|
37 | background-repeat: no-repeat; | |
|
38 | padding-left: 20px; | |
|
39 | } | |
|
40 | ||
|
41 | .folder { background-image: url(../images/folder.png); } | |
|
42 | .file { background-image: url(../images/file.png); } | |
|
43 | ||
|
44 | ||
|
45 | 6 | |
|
46 | 7 | tr.spacing { |
|
47 | 8 | border: 1px solid #d7d7d7; |
|
48 | 9 | } |
|
49 | 10 | |
|
50 | 11 | .line-num { |
|
51 | 12 | border: 1px solid #d7d7d7; |
|
52 | 13 | font-size: 0.8em; |
|
53 | 14 | text-align: right; |
|
54 | 15 | width: 3em; |
|
55 | 16 | padding-right: 3px; |
|
56 | 17 | } |
|
57 | 18 | |
|
58 | 19 | .line-code { |
|
59 | 20 | font-family: "Courier New", monospace; |
|
60 | 21 | font-size: 1em; |
|
61 | } | |
|
62 | ||
|
63 | table p { | |
|
64 | margin:0; | |
|
65 | padding:0; | |
|
66 | 22 | } No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now