@@ -1,36 +1,36 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= link_to_if_authorized l(:button_edit), {:controller => 'documents', :action => 'edit', :id => @document}, :class => 'pic picEdit' %> |
|
2 | <%= link_to_if_authorized l(:button_edit), {:controller => 'documents', :action => 'edit', :id => @document}, :class => 'pic picEdit' %> | |
3 | <%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy', :id => @document}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> |
|
3 | <%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy', :id => @document}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> | |
4 | </div> |
|
4 | </div> | |
5 |
|
5 | |||
6 | <h2><%= @document.title %></h2> |
|
6 | <h2><%= @document.title %></h2> | |
7 |
|
7 | |||
8 | <p><em><%= @document.category.name %><br /> |
|
8 | <p><em><%= @document.category.name %><br /> | |
9 | <%= format_date @document.created_on %></em></p> |
|
9 | <%= format_date @document.created_on %></em></p> | |
10 | <%= textilizable @document.description %> |
|
10 | <%= textilizable @document.description %> | |
11 | <br /> |
|
11 | <br /> | |
12 |
|
12 | |||
13 | <h3><%= l(:label_attachment_plural) %></h3> |
|
13 | <h3><%= l(:label_attachment_plural) %></h3> | |
14 | <ul> |
|
14 | <ul class="documents"> | |
15 | <% for attachment in @attachments %> |
|
15 | <% for attachment in @attachments %> | |
16 | <li> |
|
16 | <li> | |
17 | <div class="contextual"> |
|
17 | <div class="contextual"> | |
18 | <%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy_attachment', :id => @document, :attachment_id => attachment}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> |
|
18 | <%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy_attachment', :id => @document, :attachment_id => attachment}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> | |
19 | </div> |
|
19 | </div> | |
20 | <%= link_to attachment.filename, :action => 'download', :id => @document, :attachment_id => attachment %> |
|
20 | <%= link_to attachment.filename, :action => 'download', :id => @document, :attachment_id => attachment %> | |
21 | (<%= human_size attachment.filesize %>)<br /> |
|
21 | (<%= human_size attachment.filesize %>)<br /> | |
22 | <em><%= attachment.author.display_name %>, <%= format_date(attachment.created_on) %></em><br /> |
|
22 | <em><%= attachment.author.display_name %>, <%= format_date(attachment.created_on) %></em><br /> | |
23 | <%= lwr(:label_download, attachment.downloads) %> |
|
23 | <%= lwr(:label_download, attachment.downloads) %> | |
24 | </li> |
|
24 | </li> | |
25 | <% end %> |
|
25 | <% end %> | |
26 | </ul> |
|
26 | </ul> | |
27 | <br /> |
|
27 | <br /> | |
28 |
|
28 | |||
29 |
|
29 | |||
30 | <% if authorize_for('documents', 'add_attachment') %> |
|
30 | <% if authorize_for('documents', 'add_attachment') %> | |
31 | <%= start_form_tag ({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true) %> |
|
31 | <%= start_form_tag ({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true) %> | |
32 | <label><%=l(:label_attachment_new)%></label> |
|
32 | <label><%=l(:label_attachment_new)%></label> | |
33 | <%= file_field 'attachment', 'file' %> |
|
33 | <%= file_field 'attachment', 'file' %> | |
34 | <%= submit_tag l(:button_add) %> |
|
34 | <%= submit_tag l(:button_add) %> | |
35 | <%= end_form_tag %> |
|
35 | <%= end_form_tag %> | |
36 | <% end %> |
|
36 | <% end %> |
@@ -1,143 +1,143 | |||||
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 "print", :media => "print" %> |
|
9 | <%= stylesheet_link_tag "print", :media => "print" %> | |
10 | <%= javascript_include_tag :defaults %> |
|
10 | <%= javascript_include_tag :defaults %> | |
11 | <%= javascript_include_tag 'menu' %> |
|
11 | <%= javascript_include_tag 'menu' %> | |
12 | <%= javascript_include_tag 'calendar/calendar' %> |
|
12 | <%= javascript_include_tag 'calendar/calendar' %> | |
13 | <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> |
|
13 | <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> | |
14 | <%= javascript_include_tag 'calendar/calendar-setup' %> |
|
14 | <%= javascript_include_tag 'calendar/calendar-setup' %> | |
15 | <%= stylesheet_link_tag 'calendar' %> |
|
15 | <%= stylesheet_link_tag 'calendar' %> | |
16 | <%= stylesheet_link_tag 'jstoolbar' %> |
|
16 | <%= stylesheet_link_tag 'jstoolbar' %> | |
17 | </head> |
|
17 | </head> | |
18 |
|
18 | |||
19 | <body> |
|
19 | <body> | |
20 | <div id="container" > |
|
20 | <div id="container" > | |
21 |
|
21 | |||
22 | <div id="header"> |
|
22 | <div id="header"> | |
23 | <div style="float: left;"> |
|
23 | <div style="float: left;"> | |
24 | <h1><%= $RDM_HEADER_TITLE %></h1> |
|
24 | <h1><%= $RDM_HEADER_TITLE %></h1> | |
25 | <h2><%= $RDM_HEADER_SUBTITLE %></h2> |
|
25 | <h2><%= $RDM_HEADER_SUBTITLE %></h2> | |
26 | </div> |
|
26 | </div> | |
27 | <div style="float: right; padding-right: 1em; padding-top: 0.2em;"> |
|
27 | <div style="float: right; padding-right: 1em; padding-top: 0.2em;"> | |
28 | <% if loggedin? %><small><%=l(:label_logged_as)%> <b><%= @logged_in_user.login %></b></small><% end %> |
|
28 | <% if loggedin? %><small><%=l(:label_logged_as)%> <b><%= @logged_in_user.login %></b></small><% end %> | |
29 | </div> |
|
29 | </div> | |
30 | </div> |
|
30 | </div> | |
31 |
|
31 | |||
32 | <div id="navigation"> |
|
32 | <div id="navigation"> | |
33 | <ul> |
|
33 | <ul> | |
34 | <li class="selected"><%= link_to l(:label_home), { :controller => '' }, :class => "picHome" %></li> |
|
34 | <li class="selected"><%= link_to l(:label_home), { :controller => '' }, :class => "picHome" %></li> | |
35 | <li><%= link_to l(:label_my_page), { :controller => 'my', :action => 'page'}, :class => "picUserPage" %></li> |
|
35 | <li><%= link_to l(:label_my_page), { :controller => 'my', :action => 'page'}, :class => "picUserPage" %></li> | |
36 | <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "picProject" %></li> |
|
36 | <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "picProject" %></li> | |
37 |
|
37 | |||
38 | <% unless @project.nil? || @project.id.nil? %> |
|
38 | <% unless @project.nil? || @project.id.nil? %> | |
39 | <li><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');" %></li> |
|
39 | <li class="submenu"><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "picProject", :onmouseover => "buttonMouseover(event, 'menuProject');" %></li> | |
40 | <% end %> |
|
40 | <% end %> | |
41 |
|
41 | |||
42 | <% if loggedin? %> |
|
42 | <% if loggedin? %> | |
43 | <li><%= link_to l(:label_my_account), { :controller => 'my', :action => 'account' }, :class => "picUser" %></li> |
|
43 | <li><%= link_to l(:label_my_account), { :controller => 'my', :action => 'account' }, :class => "picUser" %></li> | |
44 | <% end %> |
|
44 | <% end %> | |
45 |
|
45 | |||
46 | <% if admin_loggedin? %> |
|
46 | <% if admin_loggedin? %> | |
47 | <li><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li> |
|
47 | <li class="submenu"><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li> | |
48 | <% end %> |
|
48 | <% end %> | |
49 |
|
49 | |||
50 | <li class="right"><%= link_to l(:label_help), { :controller => 'help', :ctrl => @params[:controller], :page => @params[:action] }, :target => "new", :class => "picHelp" %></li> |
|
50 | <li class="right"><%= link_to l(:label_help), { :controller => 'help', :ctrl => @params[:controller], :page => @params[:action] }, :target => "new", :class => "picHelp" %></li> | |
51 |
|
51 | |||
52 | <% if loggedin? %> |
|
52 | <% if loggedin? %> | |
53 | <li class="right"><%= link_to l(:label_logout), { :controller => 'account', :action => 'logout' }, :class => "picUser" %></li> |
|
53 | <li class="right"><%= link_to l(:label_logout), { :controller => 'account', :action => 'logout' }, :class => "picUser" %></li> | |
54 | <% else %> |
|
54 | <% else %> | |
55 | <li class="right"><%= link_to l(:label_login), { :controller => 'account', :action => 'login' }, :class => "picUser" %></li> |
|
55 | <li class="right"><%= link_to l(:label_login), { :controller => 'account', :action => 'login' }, :class => "picUser" %></li> | |
56 | <% end %> |
|
56 | <% end %> | |
57 | </ul> |
|
57 | </ul> | |
58 | </div> |
|
58 | </div> | |
59 |
|
59 | |||
60 | <% if admin_loggedin? %> |
|
60 | <% if admin_loggedin? %> | |
61 | <div id="menuAdmin" class="menu" onmouseover="menuMouseover(event)"> |
|
61 | <div id="menuAdmin" class="menu" onmouseover="menuMouseover(event)"> | |
62 | <a class="menuItem" href="/admin/projects" onmouseover="menuItemMouseover(event,'menuProjects');"><span class="menuItemText"><%=l(:label_project_plural)%></span><span class="menuItemArrow">▶</span></a> |
|
62 | <a class="menuItem" href="/admin/projects" onmouseover="menuItemMouseover(event,'menuProjects');"><span class="menuItemText"><%=l(:label_project_plural)%></span><span class="menuItemArrow">▶</span></a> | |
63 | <a class="menuItem" href="/users" onmouseover="menuItemMouseover(event,'menuUsers');"><span class="menuItemText"><%=l(:label_user_plural)%></span><span class="menuItemArrow">▶</span></a> |
|
63 | <a class="menuItem" href="/users" onmouseover="menuItemMouseover(event,'menuUsers');"><span class="menuItemText"><%=l(:label_user_plural)%></span><span class="menuItemArrow">▶</span></a> | |
64 | <a class="menuItem" href="/roles"><%=l(:label_role_and_permissions)%></a> |
|
64 | <a class="menuItem" href="/roles"><%=l(:label_role_and_permissions)%></a> | |
65 | <a class="menuItem" href="/trackers" onmouseover="menuItemMouseover(event,'menuTrackers');"><span class="menuItemText"><%=l(:label_tracker_plural)%></span><span class="menuItemArrow">▶</span></a> |
|
65 | <a class="menuItem" href="/trackers" onmouseover="menuItemMouseover(event,'menuTrackers');"><span class="menuItemText"><%=l(:label_tracker_plural)%></span><span class="menuItemArrow">▶</span></a> | |
66 | <a class="menuItem" href="/custom_fields"><%=l(:label_custom_field_plural)%></a> |
|
66 | <a class="menuItem" href="/custom_fields"><%=l(:label_custom_field_plural)%></a> | |
67 | <a class="menuItem" href="/enumerations"><%=l(:label_enumerations)%></a> |
|
67 | <a class="menuItem" href="/enumerations"><%=l(:label_enumerations)%></a> | |
68 | <a class="menuItem" href="/admin/mail_options"><%=l(:field_mail_notification)%></a> |
|
68 | <a class="menuItem" href="/admin/mail_options"><%=l(:field_mail_notification)%></a> | |
69 | <a class="menuItem" href="/auth_sources"><%=l(:label_authentication)%></a> |
|
69 | <a class="menuItem" href="/auth_sources"><%=l(:label_authentication)%></a> | |
70 | <a class="menuItem" href="/admin/info"><%=l(:label_information_plural)%></a> |
|
70 | <a class="menuItem" href="/admin/info"><%=l(:label_information_plural)%></a> | |
71 | </div> |
|
71 | </div> | |
72 | <div id="menuTrackers" class="menu"> |
|
72 | <div id="menuTrackers" class="menu"> | |
73 | <a class="menuItem" href="/issue_statuses"><%=l(:label_issue_status_plural)%></a> |
|
73 | <a class="menuItem" href="/issue_statuses"><%=l(:label_issue_status_plural)%></a> | |
74 | <a class="menuItem" href="/roles/workflow"><%=l(:label_workflow)%></a> |
|
74 | <a class="menuItem" href="/roles/workflow"><%=l(:label_workflow)%></a> | |
75 | </div> |
|
75 | </div> | |
76 | <div id="menuProjects" class="menu"><a class="menuItem" href="/projects/add"><%=l(:label_new)%></a></div> |
|
76 | <div id="menuProjects" class="menu"><a class="menuItem" href="/projects/add"><%=l(:label_new)%></a></div> | |
77 | <div id="menuUsers" class="menu"><a class="menuItem" href="/users/add"><%=l(:label_new)%></a></div> |
|
77 | <div id="menuUsers" class="menu"><a class="menuItem" href="/users/add"><%=l(:label_new)%></a></div> | |
78 | <% end %> |
|
78 | <% end %> | |
79 |
|
79 | |||
80 | <% unless @project.nil? || @project.id.nil? %> |
|
80 | <% unless @project.nil? || @project.id.nil? %> | |
81 | <div id="menuProject" class="menu" onmouseover="menuMouseover(event)"> |
|
81 | <div id="menuProject" class="menu" onmouseover="menuMouseover(event)"> | |
82 | <%= link_to l(:label_calendar), {:controller => 'projects', :action => 'calendar', :id => @project }, :class => "menuItem" %> |
|
82 | <%= link_to l(:label_calendar), {:controller => 'projects', :action => 'calendar', :id => @project }, :class => "menuItem" %> | |
83 | <%= link_to l(:label_gantt), {:controller => 'projects', :action => 'gantt', :id => @project }, :class => "menuItem" %> |
|
83 | <%= link_to l(:label_gantt), {:controller => 'projects', :action => 'gantt', :id => @project }, :class => "menuItem" %> | |
84 | <%= link_to l(:label_issue_plural), {:controller => 'projects', :action => 'list_issues', :id => @project }, :class => "menuItem" %> |
|
84 | <%= link_to l(:label_issue_plural), {:controller => 'projects', :action => 'list_issues', :id => @project }, :class => "menuItem" %> | |
85 | <%= link_to l(:label_report_plural), {:controller => 'reports', :action => 'issue_report', :id => @project }, :class => "menuItem" %> |
|
85 | <%= link_to l(:label_report_plural), {:controller => 'reports', :action => 'issue_report', :id => @project }, :class => "menuItem" %> | |
86 | <%= link_to l(:label_activity), {:controller => 'projects', :action => 'activity', :id => @project }, :class => "menuItem" %> |
|
86 | <%= link_to l(:label_activity), {:controller => 'projects', :action => 'activity', :id => @project }, :class => "menuItem" %> | |
87 | <%= link_to l(:label_news_plural), {:controller => 'projects', :action => 'list_news', :id => @project }, :class => "menuItem" %> |
|
87 | <%= link_to l(:label_news_plural), {:controller => 'projects', :action => 'list_news', :id => @project }, :class => "menuItem" %> | |
88 | <%= link_to l(:label_change_log), {:controller => 'projects', :action => 'changelog', :id => @project }, :class => "menuItem" %> |
|
88 | <%= link_to l(:label_change_log), {:controller => 'projects', :action => 'changelog', :id => @project }, :class => "menuItem" %> | |
89 | <%= link_to l(:label_document_plural), {:controller => 'projects', :action => 'list_documents', :id => @project }, :class => "menuItem" %> |
|
89 | <%= link_to l(:label_document_plural), {:controller => 'projects', :action => 'list_documents', :id => @project }, :class => "menuItem" %> | |
90 | <%= link_to l(:label_member_plural), {:controller => 'projects', :action => 'list_members', :id => @project }, :class => "menuItem" %> |
|
90 | <%= link_to l(:label_member_plural), {:controller => 'projects', :action => 'list_members', :id => @project }, :class => "menuItem" %> | |
91 | <%= link_to l(:label_attachment_plural), {:controller => 'projects', :action => 'list_files', :id => @project }, :class => "menuItem" %> |
|
91 | <%= link_to l(:label_attachment_plural), {:controller => 'projects', :action => 'list_files', :id => @project }, :class => "menuItem" %> | |
92 | <%= link_to l(:label_repository), {:controller => 'repositories', :action => 'show', :id => @project}, :class => "menuItem" if @project.repository and !@project.repository.new_record? %> |
|
92 | <%= link_to l(:label_repository), {:controller => 'repositories', :action => 'show', :id => @project}, :class => "menuItem" if @project.repository and !@project.repository.new_record? %> | |
93 | <%= link_to_if_authorized l(:label_settings), {:controller => 'projects', :action => 'settings', :id => @project }, :class => "menuItem" %> |
|
93 | <%= link_to_if_authorized l(:label_settings), {:controller => 'projects', :action => 'settings', :id => @project }, :class => "menuItem" %> | |
94 | </div> |
|
94 | </div> | |
95 | <% end %> |
|
95 | <% end %> | |
96 |
|
96 | |||
97 |
|
97 | |||
98 | <div id="subcontent"> |
|
98 | <div id="subcontent"> | |
99 |
|
99 | |||
100 | <% unless @project.nil? || @project.id.nil? %> |
|
100 | <% unless @project.nil? || @project.id.nil? %> | |
101 | <h2><%= @project.name %></h2> |
|
101 | <h2><%= @project.name %></h2> | |
102 | <ul class="menublock"> |
|
102 | <ul class="menublock"> | |
103 | <li><%= link_to l(:label_overview), :controller => 'projects', :action => 'show', :id => @project %></li> |
|
103 | <li><%= link_to l(:label_overview), :controller => 'projects', :action => 'show', :id => @project %></li> | |
104 | <li><%= link_to l(:label_calendar), :controller => 'projects', :action => 'calendar', :id => @project %></li> |
|
104 | <li><%= link_to l(:label_calendar), :controller => 'projects', :action => 'calendar', :id => @project %></li> | |
105 | <li><%= link_to l(:label_gantt), :controller => 'projects', :action => 'gantt', :id => @project %></li> |
|
105 | <li><%= link_to l(:label_gantt), :controller => 'projects', :action => 'gantt', :id => @project %></li> | |
106 | <li><%= link_to l(:label_issue_plural), :controller => 'projects', :action => 'list_issues', :id => @project %></li> |
|
106 | <li><%= link_to l(:label_issue_plural), :controller => 'projects', :action => 'list_issues', :id => @project %></li> | |
107 | <li><%= link_to l(:label_report_plural), :controller => 'reports', :action => 'issue_report', :id => @project %></li> |
|
107 | <li><%= link_to l(:label_report_plural), :controller => 'reports', :action => 'issue_report', :id => @project %></li> | |
108 | <li><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :id => @project %></li> |
|
108 | <li><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :id => @project %></li> | |
109 | <li><%= link_to l(:label_news_plural), :controller => 'projects', :action => 'list_news', :id => @project %></li> |
|
109 | <li><%= link_to l(:label_news_plural), :controller => 'projects', :action => 'list_news', :id => @project %></li> | |
110 | <li><%= link_to l(:label_change_log), :controller => 'projects', :action => 'changelog', :id => @project %></li> |
|
110 | <li><%= link_to l(:label_change_log), :controller => 'projects', :action => 'changelog', :id => @project %></li> | |
111 | <li><%= link_to l(:label_document_plural), :controller => 'projects', :action => 'list_documents', :id => @project %></li> |
|
111 | <li><%= link_to l(:label_document_plural), :controller => 'projects', :action => 'list_documents', :id => @project %></li> | |
112 | <li><%= link_to l(:label_member_plural), :controller => 'projects', :action => 'list_members', :id => @project %></li> |
|
112 | <li><%= link_to l(:label_member_plural), :controller => 'projects', :action => 'list_members', :id => @project %></li> | |
113 | <li><%= link_to l(:label_attachment_plural), :controller => 'projects', :action => 'list_files', :id => @project %></li> |
|
113 | <li><%= link_to l(:label_attachment_plural), :controller => 'projects', :action => 'list_files', :id => @project %></li> | |
114 | <li><%= link_to l(:label_repository), :controller => 'repositories', :action => 'show', :id => @project if @project.repository and !@project.repository.new_record? %></li> |
|
114 | <li><%= link_to l(:label_repository), :controller => 'repositories', :action => 'show', :id => @project if @project.repository and !@project.repository.new_record? %></li> | |
115 | <li><%= link_to_if_authorized l(:label_settings), :controller => 'projects', :action => 'settings', :id => @project %></li> |
|
115 | <li><%= link_to_if_authorized l(:label_settings), :controller => 'projects', :action => 'settings', :id => @project %></li> | |
116 | </ul> |
|
116 | </ul> | |
117 | <% end %> |
|
117 | <% end %> | |
118 |
|
118 | |||
119 | <% if loggedin? and @logged_in_user.memberships.length > 0 %> |
|
119 | <% if loggedin? and @logged_in_user.memberships.length > 0 %> | |
120 | <h2><%=l(:label_my_projects) %></h2> |
|
120 | <h2><%=l(:label_my_projects) %></h2> | |
121 | <ul class="menublock"> |
|
121 | <ul class="menublock"> | |
122 | <% for membership in @logged_in_user.memberships %> |
|
122 | <% for membership in @logged_in_user.memberships %> | |
123 | <li><%= link_to membership.project.name, :controller => 'projects', :action => 'show', :id => membership.project %></li> |
|
123 | <li><%= link_to membership.project.name, :controller => 'projects', :action => 'show', :id => membership.project %></li> | |
124 | <% end %> |
|
124 | <% end %> | |
125 | </ul> |
|
125 | </ul> | |
126 | <% end %> |
|
126 | <% end %> | |
127 | </div> |
|
127 | </div> | |
128 |
|
128 | |||
129 | <div id="content"> |
|
129 | <div id="content"> | |
130 | <% if flash[:notice] %><p style="color: green"><%= flash[:notice] %></p><% end %> |
|
130 | <% if flash[:notice] %><p style="color: green"><%= flash[:notice] %></p><% end %> | |
131 | <%= @content_for_layout %> |
|
131 | <%= @content_for_layout %> | |
132 | </div> |
|
132 | </div> | |
133 |
|
133 | |||
134 | <div id="footer"> |
|
134 | <div id="footer"> | |
135 | <p> |
|
135 | <p> | |
136 | <%= auto_link $RDM_FOOTER_SIG %> | |
|
136 | <%= auto_link $RDM_FOOTER_SIG %> | | |
137 | <a href="http://redmine.rubyforge.org/" target="_new"><%= RDM_APP_NAME %></a> <%= RDM_APP_VERSION %> |
|
137 | <a href="http://redmine.rubyforge.org/" target="_new"><%= RDM_APP_NAME %></a> <%= RDM_APP_VERSION %> | |
138 | </p> |
|
138 | </p> | |
139 | </div> |
|
139 | </div> | |
140 |
|
140 | |||
141 | </div> |
|
141 | </div> | |
142 | </body> |
|
142 | </body> | |
143 | </html> No newline at end of file |
|
143 | </html> |
@@ -1,242 +1,242 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= l(:label_export_to) %> |
|
2 | <%= l(:label_export_to) %> | |
3 | <%= link_to 'PDF', {:zoom => @zoom, :year => @year_from, :month => @month_from, :months => @months, :output => 'pdf'}, :class => 'pic picPdf' %> |
|
3 | <%= link_to 'PDF', {:zoom => @zoom, :year => @year_from, :month => @month_from, :months => @months, :output => 'pdf'}, :class => 'pic picPdf' %> | |
4 | </div> |
|
4 | </div> | |
5 |
|
5 | |||
6 | <h2><%= l(:label_gantt) %></h2> |
|
6 | <h2><%= l(:label_gantt) %></h2> | |
7 |
|
7 | |||
8 | <table width="100%"> |
|
8 | <table width="100%"> | |
9 | <tr> |
|
9 | <tr> | |
10 | <td align="left"> |
|
10 | <td align="left"> | |
11 | <%= start_form_tag %> |
|
11 | <%= start_form_tag %> | |
12 | <input type="text" name="months" size="2" value="<%= @months %>"> |
|
12 | <input type="text" name="months" size="2" value="<%= @months %>"> | |
13 | <%= l(:label_months_from) %> |
|
13 | <%= l(:label_months_from) %> | |
14 | <%= select_month(@month_from, :prefix => "month", :discard_type => true) %> |
|
14 | <%= select_month(@month_from, :prefix => "month", :discard_type => true) %> | |
15 | <%= select_year(@year_from, :prefix => "year", :discard_type => true) %> |
|
15 | <%= select_year(@year_from, :prefix => "year", :discard_type => true) %> | |
16 | <%= hidden_field_tag 'zoom', @zoom %> |
|
16 | <%= hidden_field_tag 'zoom', @zoom %> | |
17 | <%= submit_tag l(:button_submit), :class => "button-small" %> |
|
17 | <%= submit_tag l(:button_submit), :class => "button-small" %> | |
18 | <%= end_form_tag %> |
|
18 | <%= end_form_tag %> | |
19 | </td> |
|
19 | </td> | |
20 | <td align="right"> |
|
20 | <td align="right"> | |
21 | <%= if @zoom < 4 |
|
21 | <%= if @zoom < 4 | |
22 | link_to image_tag('zoom_in'), {:zoom => (@zoom+1), :year => @year_from, :month => @month_from, :months => @months} |
|
22 | link_to image_tag('zoom_in'), {:zoom => (@zoom+1), :year => @year_from, :month => @month_from, :months => @months} | |
23 | else |
|
23 | else | |
24 | image_tag 'zoom_in_g' |
|
24 | image_tag 'zoom_in_g' | |
25 | end %> |
|
25 | end %> | |
26 | <%= if @zoom > 1 |
|
26 | <%= if @zoom > 1 | |
27 | link_to image_tag('zoom_out'), :zoom => (@zoom-1), :year => @year_from, :month => @month_from, :months => @months |
|
27 | link_to image_tag('zoom_out'), :zoom => (@zoom-1), :year => @year_from, :month => @month_from, :months => @months | |
28 | else |
|
28 | else | |
29 | image_tag 'zoom_out_g' |
|
29 | image_tag 'zoom_out_g' | |
30 | end %> |
|
30 | end %> | |
31 | </td> |
|
31 | </td> | |
32 | </tr> |
|
32 | </tr> | |
33 | </table> |
|
33 | </table> | |
34 | <br /> |
|
34 | <br /> | |
35 |
|
35 | |||
36 | <style> |
|
36 | <style> | |
37 | .m_bg { |
|
37 | .m_bg { | |
38 | position:absolute; |
|
38 | position:absolute; | |
39 | top:0; |
|
39 | top:0; | |
40 | height:16px; |
|
40 | height:16px; | |
41 | border-top: 1px solid #c0c0c0; |
|
41 | border-top: 1px solid #c0c0c0; | |
42 | border-bottom: 1px solid #c0c0c0; |
|
42 | border-bottom: 1px solid #c0c0c0; | |
43 | border-right: 1px solid #c0c0c0; |
|
43 | border-right: 1px solid #c0c0c0; | |
44 | text-align: center; |
|
44 | text-align: center; | |
45 | overflow: hidden; |
|
45 | overflow: hidden; | |
46 | } |
|
46 | } | |
47 |
|
47 | |||
48 | .task { |
|
48 | .task { | |
49 | position: absolute; |
|
49 | position: absolute; | |
50 | height:8px; |
|
50 | height:8px; | |
51 | font-size:0.8em; |
|
51 | font-size:0.8em; | |
52 | color:#888; |
|
52 | color:#888; | |
53 | background:#aaa; |
|
53 | background:#aaa; | |
54 | padding:0; |
|
54 | padding:0; | |
55 | margin:0; |
|
55 | margin:0; | |
56 | line-height:0.8em; |
|
56 | line-height:0.8em; | |
57 | } |
|
57 | } | |
58 |
|
58 | |||
59 | .task_late { |
|
59 | .task_late { | |
60 | background:#f66; |
|
60 | background:#f66; | |
61 | } |
|
61 | } | |
62 |
|
62 | |||
63 | .task_done { |
|
63 | .task_done { | |
64 | background:#66f; |
|
64 | background:#66f; | |
65 | } |
|
65 | } | |
66 | </style> |
|
66 | </style> | |
67 |
|
67 | |||
68 | <% zoom = 1 |
|
68 | <% zoom = 1 | |
69 | @zoom.times { zoom = zoom * 2 } |
|
69 | @zoom.times { zoom = zoom * 2 } | |
70 |
|
70 | |||
71 | subject_width = 260 |
|
71 | subject_width = 260 | |
72 | header_heigth = 18 |
|
72 | header_heigth = 18 | |
73 |
|
73 | |||
74 | headers_heigth = header_heigth |
|
74 | headers_heigth = header_heigth | |
75 | show_weeks = false |
|
75 | show_weeks = false | |
76 | show_days = false |
|
76 | show_days = false | |
77 |
|
77 | |||
78 | if @zoom >1 |
|
78 | if @zoom >1 | |
79 | show_weeks = true |
|
79 | show_weeks = true | |
80 | headers_heigth = 2*header_heigth |
|
80 | headers_heigth = 2*header_heigth | |
81 | if @zoom > 2 |
|
81 | if @zoom > 2 | |
82 | show_days = true |
|
82 | show_days = true | |
83 | headers_heigth = 3*header_heigth |
|
83 | headers_heigth = 3*header_heigth | |
84 | end |
|
84 | end | |
85 | end |
|
85 | end | |
86 |
|
86 | |||
87 | g_width = (@date_to - @date_from + 1)*zoom |
|
87 | g_width = (@date_to - @date_from + 1)*zoom | |
88 | g_height = [(20 * @issues.length + 6), 206].max |
|
88 | g_height = [(20 * @issues.length + 6), 206].max | |
89 | t_height = g_height + headers_heigth |
|
89 | t_height = g_height + headers_heigth | |
90 | %> |
|
90 | %> | |
91 |
|
91 | |||
92 | <table width="100%" border=0 cellspacing=0 cellpading=0> |
|
92 | <table width="100%" border=0 cellspacing=0 cellpading=0> | |
93 | <tr> |
|
93 | <tr> | |
94 | <td width=260> |
|
94 | <td width=260> | |
95 |
|
95 | |||
96 | <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width + 1 %>px;"> |
|
96 | <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width + 1 %>px;"> | |
97 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_heigth %>px;" class="m_bg"></div> |
|
97 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_heigth %>px;background: #eee;" class="m_bg"></div> | |
98 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= t_height %>px;border-left: 1px solid #c0c0c0;" class="m_bg"></div> |
|
98 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= t_height %>px;border-left: 1px solid #c0c0c0;" class="m_bg"></div> | |
99 | <% |
|
99 | <% | |
100 | # |
|
100 | # | |
101 | # Tasks subjects |
|
101 | # Tasks subjects | |
102 | # |
|
102 | # | |
103 | top = headers_heigth + 8 |
|
103 | top = headers_heigth + 8 | |
104 | @issues.each do |i| %> |
|
104 | @issues.each do |i| %> | |
105 | <div style="position: absolute;line-height:1em;height:16px;top:<%= top %>px;left:4px;width:<%= subject_width - 5 %>px;overflow:hidden;"> |
|
105 | <div style="position: absolute;line-height:1em;height:16px;top:<%= top %>px;left:4px;width:<%= subject_width - 5 %>px;overflow:hidden;"> | |
106 | <small><%= link_to "#{i.tracker.name} ##{i.id}", { :controller => 'issues', :action => 'show', :id => i }, :title => "#{i.subject}" %>: |
|
106 | <small><%= link_to "#{i.tracker.name} ##{i.id}", { :controller => 'issues', :action => 'show', :id => i }, :title => "#{i.subject}" %>: | |
107 | <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small> |
|
107 | <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small> | |
108 | </div> |
|
108 | </div> | |
109 | <% top = top + 20 |
|
109 | <% top = top + 20 | |
110 | end %> |
|
110 | end %> | |
111 | </div> |
|
111 | </div> | |
112 | </td> |
|
112 | </td> | |
113 | <td> |
|
113 | <td> | |
114 |
|
114 | |||
115 | <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width %>;overflow:auto;"> |
|
115 | <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width %>;overflow:auto;"> | |
116 | <div style="width:<%= g_width-1 %>px;height:<%= headers_heigth %>px;" class="m_bg"> </div> |
|
116 | <div style="width:<%= g_width-1 %>px;height:<%= headers_heigth %>px;background: #eee;" class="m_bg"> </div> | |
117 | <% |
|
117 | <% | |
118 | # |
|
118 | # | |
119 | # Months headers |
|
119 | # Months headers | |
120 | # |
|
120 | # | |
121 | month_f = @date_from |
|
121 | month_f = @date_from | |
122 | left = 0 |
|
122 | left = 0 | |
123 | height = (show_weeks ? header_heigth : header_heigth + g_height) |
|
123 | height = (show_weeks ? header_heigth : header_heigth + g_height) | |
124 | @months.times do |
|
124 | @months.times do | |
125 | width = ((month_f >> 1) - month_f) * zoom - 1 |
|
125 | width = ((month_f >> 1) - month_f) * zoom - 1 | |
126 | %> |
|
126 | %> | |
127 | <div style="left:<%= left %>px;width:<%= width %>px;height:<%= height %>px;" class="m_bg"> |
|
127 | <div style="left:<%= left %>px;width:<%= width %>px;height:<%= height %>px;" class="m_bg"> | |
128 | <%= link_to "#{month_f.year}-#{month_f.month}", :year => month_f.year, :month => month_f.month, :zoom => @zoom, :months => @months %> |
|
128 | <%= link_to "#{month_f.year}-#{month_f.month}", { :year => month_f.year, :month => month_f.month, :zoom => @zoom, :months => @months }, :title => "#{month_name(month_f.month)} #{month_f.year}"%> | |
129 | </div> |
|
129 | </div> | |
130 | <% |
|
130 | <% | |
131 | left = left + width + 1 |
|
131 | left = left + width + 1 | |
132 | month_f = month_f >> 1 |
|
132 | month_f = month_f >> 1 | |
133 | end %> |
|
133 | end %> | |
134 |
|
134 | |||
135 | <% |
|
135 | <% | |
136 | # |
|
136 | # | |
137 | # Weeks headers |
|
137 | # Weeks headers | |
138 | # |
|
138 | # | |
139 | if show_weeks |
|
139 | if show_weeks | |
140 | left = 0 |
|
140 | left = 0 | |
141 | height = (show_days ? header_heigth-1 : header_heigth-1 + g_height) |
|
141 | height = (show_days ? header_heigth-1 : header_heigth-1 + g_height) | |
142 | if @date_from.cwday == 1 |
|
142 | if @date_from.cwday == 1 | |
143 | # @date_from is monday |
|
143 | # @date_from is monday | |
144 | week_f = @date_from |
|
144 | week_f = @date_from | |
145 | else |
|
145 | else | |
146 | # find next monday after @date_from |
|
146 | # find next monday after @date_from | |
147 | week_f = @date_from + (7 - @date_from.cwday + 1) |
|
147 | week_f = @date_from + (7 - @date_from.cwday + 1) | |
148 | width = (7 - @date_from.cwday + 1) * zoom-1 |
|
148 | width = (7 - @date_from.cwday + 1) * zoom-1 | |
149 | %> |
|
149 | %> | |
150 | <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="m_bg"> </div> |
|
150 | <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="m_bg"> </div> | |
151 | <% |
|
151 | <% | |
152 | left = left + width+1 |
|
152 | left = left + width+1 | |
153 | end %> |
|
153 | end %> | |
154 | <% |
|
154 | <% | |
155 | while week_f <= @date_to |
|
155 | while week_f <= @date_to | |
156 | width = (week_f + 6 <= @date_to) ? 7 * zoom -1 : (@date_to - week_f + 1) * zoom-1 |
|
156 | width = (week_f + 6 <= @date_to) ? 7 * zoom -1 : (@date_to - week_f + 1) * zoom-1 | |
157 | %> |
|
157 | %> | |
158 | <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="m_bg"> |
|
158 | <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="m_bg"> | |
159 | <small><%= week_f.cweek if width >= 16 %></small> |
|
159 | <small><%= week_f.cweek if width >= 16 %></small> | |
160 | </div> |
|
160 | </div> | |
161 | <% |
|
161 | <% | |
162 | left = left + width+1 |
|
162 | left = left + width+1 | |
163 | week_f = week_f+7 |
|
163 | week_f = week_f+7 | |
164 | end |
|
164 | end | |
165 | end %> |
|
165 | end %> | |
166 |
|
166 | |||
167 | <% |
|
167 | <% | |
168 | # |
|
168 | # | |
169 | # Days headers |
|
169 | # Days headers | |
170 | # |
|
170 | # | |
171 | if show_days |
|
171 | if show_days | |
172 | left = 0 |
|
172 | left = 0 | |
173 | height = g_height + header_heigth - 1 |
|
173 | height = g_height + header_heigth - 1 | |
174 | wday = @date_from.cwday |
|
174 | wday = @date_from.cwday | |
175 | (@date_to - @date_from + 1).to_i.times do |
|
175 | (@date_to - @date_from + 1).to_i.times do | |
176 | width = zoom - 1 |
|
176 | width = zoom - 1 | |
177 | %> |
|
177 | %> | |
178 | <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>" class="m_bg"> |
|
178 | <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>" class="m_bg"> | |
179 | <%= day_name(wday)[0,1] %> |
|
179 | <%= day_name(wday)[0,1] %> | |
180 | </div> |
|
180 | </div> | |
181 | <% |
|
181 | <% | |
182 | left = left + width+1 |
|
182 | left = left + width+1 | |
183 | wday = wday + 1 |
|
183 | wday = wday + 1 | |
184 | wday = 1 if wday > 7 |
|
184 | wday = 1 if wday > 7 | |
185 | end |
|
185 | end | |
186 | end %> |
|
186 | end %> | |
187 |
|
187 | |||
188 | <% |
|
188 | <% | |
189 | # |
|
189 | # | |
190 | # Today red line |
|
190 | # Today red line | |
191 | # |
|
191 | # | |
192 | if Date.today >= @date_from and Date.today <= @date_to %> |
|
192 | if Date.today >= @date_from and Date.today <= @date_to %> | |
193 | <div style="position: absolute;height:<%= g_height %>px;top:<%= headers_heigth + 1 %>px;left:<%= ((Date.today-@date_from+1)*zoom).floor()-1 %>px;width:10px;border-left: 1px dashed red;"> </div> |
|
193 | <div style="position: absolute;height:<%= g_height %>px;top:<%= headers_heigth + 1 %>px;left:<%= ((Date.today-@date_from+1)*zoom).floor()-1 %>px;width:10px;border-left: 1px dashed red;"> </div> | |
194 | <% end %> |
|
194 | <% end %> | |
195 |
|
195 | |||
196 | <% |
|
196 | <% | |
197 | # |
|
197 | # | |
198 | # Tasks |
|
198 | # Tasks | |
199 | # |
|
199 | # | |
200 | top = headers_heigth + 12 |
|
200 | top = headers_heigth + 12 | |
201 | @issues.each do |i| %> |
|
201 | @issues.each do |i| %> | |
202 | <% |
|
202 | <% | |
203 | i_start_date = (i.start_date >= @date_from ? i.start_date : @date_from ) |
|
203 | i_start_date = (i.start_date >= @date_from ? i.start_date : @date_from ) | |
204 | i_end_date = (i.due_date <= @date_to ? i.due_date : @date_to ) |
|
204 | i_end_date = (i.due_date <= @date_to ? i.due_date : @date_to ) | |
205 |
|
205 | |||
206 | i_done_date = i.start_date + ((i.due_date - i.start_date+1)*i.done_ratio/100).floor |
|
206 | i_done_date = i.start_date + ((i.due_date - i.start_date+1)*i.done_ratio/100).floor | |
207 | i_done_date = (i_done_date <= @date_from ? @date_from : i_done_date ) |
|
207 | i_done_date = (i_done_date <= @date_from ? @date_from : i_done_date ) | |
208 | i_done_date = (i_done_date >= @date_to ? @date_to : i_done_date ) |
|
208 | i_done_date = (i_done_date >= @date_to ? @date_to : i_done_date ) | |
209 |
|
209 | |||
210 | i_late_date = [i_end_date, Date.today].min if i_start_date < Date.today |
|
210 | i_late_date = [i_end_date, Date.today].min if i_start_date < Date.today | |
211 |
|
211 | |||
212 | i_left = ((i_start_date - @date_from)*zoom).floor |
|
212 | i_left = ((i_start_date - @date_from)*zoom).floor | |
213 | i_width = ((i_end_date - i_start_date + 1)*zoom).floor |
|
213 | i_width = ((i_end_date - i_start_date + 1)*zoom).floor | |
214 | d_width = ((i_done_date - i_start_date)*zoom).floor |
|
214 | d_width = ((i_done_date - i_start_date)*zoom).floor | |
215 | l_width = ((i_late_date - i_start_date+1)*zoom).floor if i_late_date |
|
215 | l_width = ((i_late_date - i_start_date+1)*zoom).floor if i_late_date | |
216 | l_width ||= 0 |
|
216 | l_width ||= 0 | |
217 | %> |
|
217 | %> | |
218 | <div style="top:<%= top %>px;left:<%= i_left %>px;width:<%= i_width %>px;" class="task"> </div> |
|
218 | <div style="top:<%= top %>px;left:<%= i_left %>px;width:<%= i_width %>px;" class="task"> </div> | |
219 | <% if l_width > 0 %> |
|
219 | <% if l_width > 0 %> | |
220 | <div style="top:<%= top %>px;left:<%= i_left %>px;width:<%= l_width %>px;" class="task task_late"> </div> |
|
220 | <div style="top:<%= top %>px;left:<%= i_left %>px;width:<%= l_width %>px;" class="task task_late"> </div> | |
221 | <% end %> |
|
221 | <% end %> | |
222 | <% if d_width > 0 %> |
|
222 | <% if d_width > 0 %> | |
223 | <div style="top:<%= top %>px;left:<%= i_left %>px;width:<%= d_width %>px;" class="task task_done"> </div> |
|
223 | <div style="top:<%= top %>px;left:<%= i_left %>px;width:<%= d_width %>px;" class="task task_done"> </div> | |
224 | <% end %> |
|
224 | <% end %> | |
225 | <div style="top:<%= top %>px;left:<%= i_left + i_width + 5 %>px;background:#fff;" class="task"> |
|
225 | <div style="top:<%= top %>px;left:<%= i_left + i_width + 5 %>px;background:#fff;" class="task"> | |
226 | <%= i.status.name %> |
|
226 | <%= i.status.name %> | |
227 | <%= (i.done_ratio).to_i %>% |
|
227 | <%= (i.done_ratio).to_i %>% | |
228 | </div> |
|
228 | </div> | |
229 | <% top = top + 20 |
|
229 | <% top = top + 20 | |
230 | end %> |
|
230 | end %> | |
231 | </div> |
|
231 | </div> | |
232 | </td> |
|
232 | </td> | |
233 | </tr> |
|
233 | </tr> | |
234 | </table> |
|
234 | </table> | |
235 |
|
235 | |||
236 | <table width="100%"> |
|
236 | <table width="100%"> | |
237 | <tr> |
|
237 | <tr> | |
238 | <td align="left"><%= link_to ('« ' + l(:label_previous)), :year => (@date_from << @months).year, :month => (@date_from << @months).month, :zoom => @zoom, :months => @months %></td> |
|
238 | <td align="left"><%= link_to ('« ' + l(:label_previous)), :year => (@date_from << @months).year, :month => (@date_from << @months).month, :zoom => @zoom, :months => @months %></td> | |
239 | <td> |
|
239 | <td> | |
240 | <td align="right"><%= link_to (l(:label_next) + ' »'), :year => (@date_from >> @months).year, :month => (@date_from >> @months).month, :zoom => @zoom, :months => @months %></td> |
|
240 | <td align="right"><%= link_to (l(:label_next) + ' »'), :year => (@date_from >> @months).year, :month => (@date_from >> @months).month, :zoom => @zoom, :months => @months %></td> | |
241 | </tr> |
|
241 | </tr> | |
242 | </table> No newline at end of file |
|
242 | </table> |
@@ -1,513 +1,536 | |||||
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 | margin:0; |
|
52 | margin:0; | |
53 | background:#467aa7; |
|
53 | background:#467aa7; | |
54 | color:#ffffff; |
|
54 | color:#ffffff; | |
55 | margin-bottom:1px; |
|
55 | margin-bottom:1px; | |
56 | } |
|
56 | } | |
57 |
|
57 | |||
58 | #header h1{ |
|
58 | #header h1{ | |
59 | padding:10px 0 0 20px; |
|
59 | padding:10px 0 0 20px; | |
60 | font-size:2em; |
|
60 | font-size:2em; | |
61 | background-color:inherit; |
|
61 | background-color:inherit; | |
62 | color:#fff; |
|
62 | color:#fff; | |
63 | letter-spacing:-1px; |
|
63 | letter-spacing:-1px; | |
64 | font-weight:bold; |
|
64 | font-weight:bold; | |
65 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
65 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; | |
66 | } |
|
66 | } | |
67 |
|
67 | |||
68 | #header h2{ |
|
68 | #header h2{ | |
69 | margin:3px 0 0 40px; |
|
69 | margin:3px 0 0 40px; | |
70 | font-size:1.5em; |
|
70 | font-size:1.5em; | |
71 | background-color:inherit; |
|
71 | background-color:inherit; | |
72 | color:#f0f2f4; |
|
72 | color:#f0f2f4; | |
73 | letter-spacing:-1px; |
|
73 | letter-spacing:-1px; | |
74 | font-weight:normal; |
|
74 | font-weight:normal; | |
75 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
75 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; | |
76 | } |
|
76 | } | |
77 |
|
77 | |||
78 | #navigation{ |
|
78 | #navigation{ | |
79 | height:2.2em; |
|
79 | height:2.2em; | |
80 | line-height:2.2em; |
|
80 | line-height:2.2em; | |
81 | margin:0; |
|
81 | margin:0; | |
82 | background:#578bb8; |
|
82 | background:#578bb8; | |
83 | color:#ffffff; |
|
83 | color:#ffffff; | |
84 | } |
|
84 | } | |
85 |
|
85 | |||
86 | #navigation li{ |
|
86 | #navigation li{ | |
87 | float:left; |
|
87 | float:left; | |
88 | list-style-type:none; |
|
88 | list-style-type:none; | |
89 | border-right:1px solid #ffffff; |
|
89 | border-right:1px solid #ffffff; | |
90 | white-space:nowrap; |
|
90 | white-space:nowrap; | |
91 | } |
|
91 | } | |
92 |
|
92 | |||
93 | #navigation li.right { |
|
93 | #navigation li.right { | |
94 | float:right; |
|
94 | float:right; | |
95 | list-style-type:none; |
|
95 | list-style-type:none; | |
96 | border-right:0; |
|
96 | border-right:0; | |
97 | border-left:1px solid #ffffff; |
|
97 | border-left:1px solid #ffffff; | |
98 | white-space:nowrap; |
|
98 | white-space:nowrap; | |
99 | } |
|
99 | } | |
100 |
|
100 | |||
101 | #navigation li a{ |
|
101 | #navigation li a{ | |
102 | display:block; |
|
102 | display:block; | |
103 | padding:0px 10px 0px 22px; |
|
103 | padding:0px 10px 0px 22px; | |
104 | font-size:0.8em; |
|
104 | font-size:0.8em; | |
105 | font-weight:normal; |
|
105 | font-weight:normal; | |
106 | text-decoration:none; |
|
106 | text-decoration:none; | |
107 | background-color:inherit; |
|
107 | background-color:inherit; | |
108 | color: #ffffff; |
|
108 | color: #ffffff; | |
109 | } |
|
109 | } | |
110 |
|
110 | |||
|
111 | #navigation li.submenu { | |||
|
112 | background:url(../images/arrow_down.png) 96% 80% no-repeat; | |||
|
113 | } | |||
|
114 | ||||
|
115 | #navigation li.submenu a { | |||
|
116 | padding:0px 16px 0px 22px; | |||
|
117 | } | |||
|
118 | ||||
111 | * html #navigation a {width:1%;} |
|
119 | * html #navigation a {width:1%;} | |
112 |
|
120 | |||
113 | #navigation .selected,#navigation a:hover{ |
|
121 | #navigation .selected,#navigation a:hover{ | |
114 | color:#ffffff; |
|
122 | color:#ffffff; | |
115 | text-decoration:none; |
|
123 | text-decoration:none; | |
116 | background-color: #80b0da; |
|
124 | background-color: #80b0da; | |
117 | } |
|
125 | } | |
118 |
|
126 | |||
119 | /**************** Icons links *******************/ |
|
127 | /**************** Icons links *******************/ | |
120 | .picHome { background: url(../images/home.png) no-repeat 4px 50%; } |
|
128 | .picHome { background: url(../images/home.png) no-repeat 4px 50%; } | |
121 | .picUser { background: url(../images/user.png) no-repeat 4px 50%; } |
|
129 | .picUser { background: url(../images/user.png) no-repeat 4px 50%; } | |
122 | .picUserPage { background: url(../images/user_page.png) no-repeat 4px 50%; } |
|
130 | .picUserPage { background: url(../images/user_page.png) no-repeat 4px 50%; } | |
123 | .picAdmin { background: url(../images/admin.png) no-repeat 4px 50%; } |
|
131 | .picAdmin { background: url(../images/admin.png) no-repeat 4px 50%; } | |
124 | .picProject { background: url(../images/projects.png) no-repeat 4px 50%; } |
|
132 | .picProject { background: url(../images/projects.png) no-repeat 4px 50%; } | |
125 | .picLogout { background: url(../images/logout.png) no-repeat 4px 50%; } |
|
133 | .picLogout { background: url(../images/logout.png) no-repeat 4px 50%; } | |
126 | .picHelp { background: url(../images/help.png) no-repeat 4px 50%; } |
|
134 | .picHelp { background: url(../images/help.png) no-repeat 4px 50%; } | |
127 |
|
135 | |||
128 | .picEdit { background: url(../images/edit.png) no-repeat 4px 50%; } |
|
136 | .picEdit { background: url(../images/edit.png) no-repeat 4px 50%; } | |
129 | .picDelete { background: url(../images/delete.png) no-repeat 4px 50%; } |
|
137 | .picDelete { background: url(../images/delete.png) no-repeat 4px 50%; } | |
130 | .picAdd { background: url(../images/add.png) no-repeat 4px 50%; } |
|
138 | .picAdd { background: url(../images/add.png) no-repeat 4px 50%; } | |
131 | .picMove { background: url(../images/move.png) no-repeat 4px 50%; } |
|
139 | .picMove { background: url(../images/move.png) no-repeat 4px 50%; } | |
132 | .picCheck { background: url(../images/check.png) no-repeat 4px 70%; } |
|
140 | .picCheck { background: url(../images/check.png) no-repeat 4px 70%; } | |
133 | .picPdf { background: url(../images/pdf.png) no-repeat 4px 50%;} |
|
141 | .picPdf { background: url(../images/pdf.png) no-repeat 4px 50%;} | |
134 | .picCsv { background: url(../images/csv.png) no-repeat 4px 50%;} |
|
142 | .picCsv { background: url(../images/csv.png) no-repeat 4px 50%;} | |
135 |
|
143 | |||
136 | .pic { padding-left: 18px; margin-left: 3px; } |
|
144 | .pic { padding-left: 18px; margin-left: 3px; } | |
137 |
|
145 | |||
138 | .icon { |
|
146 | .icon { | |
139 | background-position: 0% 40%; |
|
147 | background-position: 0% 40%; | |
140 | background-repeat: no-repeat; |
|
148 | background-repeat: no-repeat; | |
141 | padding-left: 20px; |
|
149 | padding-left: 20px; | |
142 | } |
|
150 | } | |
143 |
|
151 | |||
144 | .folder { background-image: url(../images/folder.png); } |
|
152 | .folder { background-image: url(../images/folder.png); } | |
145 | .file { background-image: url(../images/file.png); } |
|
153 | .file { background-image: url(../images/file.png); } | |
146 | .attachment { background-image: url(../images/attachment.png); } |
|
154 | .attachment { background-image: url(../images/attachment.png); } | |
147 |
|
155 | |||
148 | /**************** Content styles ****************/ |
|
156 | /**************** Content styles ****************/ | |
149 |
|
157 | |||
150 | html>body #content { |
|
158 | html>body #content { | |
151 | height: auto; |
|
159 | height: auto; | |
152 | min-height: 500px; |
|
160 | min-height: 500px; | |
153 | } |
|
161 | } | |
154 |
|
162 | |||
155 | #content{ |
|
163 | #content{ | |
156 | width: auto; |
|
164 | width: auto; | |
157 | height:500px; |
|
165 | height:500px; | |
158 | font-size:0.9em; |
|
166 | font-size:0.9em; | |
159 | padding:20px 10px 10px 20px; |
|
167 | padding:20px 10px 10px 20px; | |
160 | margin-left: 120px; |
|
168 | margin-left: 120px; | |
161 | border-left: 1px dashed #c0c0c0; |
|
169 | border-left: 1px dashed #c0c0c0; | |
162 |
|
170 | |||
163 | } |
|
171 | } | |
164 |
|
172 | |||
165 | #content h2{ |
|
173 | #content h2{ | |
166 | display:block; |
|
174 | display:block; | |
167 | margin:0 0 16px 0; |
|
175 | margin:0 0 16px 0; | |
168 | font-size:1.7em; |
|
176 | font-size:1.7em; | |
169 | font-weight:normal; |
|
177 | font-weight:normal; | |
170 | letter-spacing:-1px; |
|
178 | letter-spacing:-1px; | |
171 | color:#606060; |
|
179 | color:#606060; | |
172 | background-color:inherit; |
|
180 | background-color:inherit; | |
173 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
181 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; | |
174 | } |
|
182 | } | |
175 |
|
183 | |||
176 | #content h2 a{font-weight:normal;} |
|
184 | #content h2 a{font-weight:normal;} | |
177 | #content h3{margin:0 0 12px 0; font-size:1.4em;color:#707070;font-family: Trebuchet MS,Georgia,"Times New Roman",serif;} |
|
185 | #content h3{margin:0 0 12px 0; font-size:1.4em;color:#707070;font-family: Trebuchet MS,Georgia,"Times New Roman",serif;} | |
178 | #content h4{font-size: 1em; margin-bottom: 12px; margin-top: 20px; font-weight: normal; border-bottom: dotted 1px #c0c0c0;} |
|
186 | #content h4{font-size: 1em; margin-bottom: 12px; margin-top: 20px; font-weight: normal; border-bottom: dotted 1px #c0c0c0;} | |
179 | #content a:hover,#subcontent a:hover{text-decoration:underline;} |
|
187 | #content a:hover,#subcontent a:hover{text-decoration:underline;} | |
180 | #content ul,#content ol{margin:0 5px 16px 35px;} |
|
188 | #content ul,#content ol{margin:0 5px 16px 35px;} | |
181 | #content dl{margin:0 5px 10px 25px;} |
|
189 | #content dl{margin:0 5px 10px 25px;} | |
182 | #content dt{font-weight:bold; margin-bottom:5px;} |
|
190 | #content dt{font-weight:bold; margin-bottom:5px;} | |
183 | #content dd{margin:0 0 10px 15px;} |
|
191 | #content dd{margin:0 0 10px 15px;} | |
184 |
|
192 | |||
185 |
|
193 | |||
186 | /***********************************************/ |
|
194 | /***********************************************/ | |
187 |
|
195 | |||
188 | form { |
|
196 | form { | |
189 | display: inline; |
|
197 | display: inline; | |
190 | } |
|
198 | } | |
191 |
|
199 | |||
192 | blockquote { |
|
200 | blockquote { | |
193 | padding-left: 6px; |
|
201 | padding-left: 6px; | |
194 | border-left: 2px solid #ccc; |
|
202 | border-left: 2px solid #ccc; | |
195 | } |
|
203 | } | |
196 |
|
204 | |||
197 | input, select { |
|
205 | input, select { | |
198 | vertical-align: middle; |
|
206 | vertical-align: middle; | |
199 | } |
|
207 | } | |
200 |
|
208 | |||
201 | input.button-small |
|
209 | input.button-small | |
202 | { |
|
210 | { | |
203 | font-size: 0.8em; |
|
211 | font-size: 0.8em; | |
204 | } |
|
212 | } | |
205 |
|
213 | |||
206 | .select-small |
|
214 | .select-small | |
207 | { |
|
215 | { | |
208 | font-size: 0.8em; |
|
216 | font-size: 0.8em; | |
209 | } |
|
217 | } | |
210 |
|
218 | |||
211 | label { |
|
219 | label { | |
212 | font-weight: bold; |
|
220 | font-weight: bold; | |
213 | font-size: 1em; |
|
221 | font-size: 1em; | |
214 | } |
|
222 | } | |
215 |
|
223 | |||
216 | fieldset { |
|
224 | fieldset { | |
217 | border:1px solid #c0c0c0; |
|
225 | border:1px solid #c0c0c0; | |
218 | padding: 6px; |
|
226 | padding: 6px; | |
219 | } |
|
227 | } | |
220 |
|
228 | |||
221 | legend { |
|
229 | legend { | |
222 | color: #505050; |
|
230 | color: #505050; | |
223 |
|
231 | |||
224 | } |
|
232 | } | |
225 |
|
233 | |||
226 | .required { |
|
234 | .required { | |
227 | color: #bb0000; |
|
235 | color: #bb0000; | |
228 | } |
|
236 | } | |
229 |
|
237 | |||
230 | .odd { |
|
238 | .odd { | |
231 | background-color:#f6f7f8; |
|
239 | background-color:#f6f7f8; | |
232 | } |
|
240 | } | |
233 | .even { |
|
241 | .even { | |
234 | background-color: #fff; |
|
242 | background-color: #fff; | |
235 | } |
|
243 | } | |
236 |
|
244 | |||
237 | hr { border:none; border-bottom: dotted 1px #c0c0c0; } |
|
245 | hr { border:none; border-bottom: dotted 1px #c0c0c0; } | |
238 |
|
246 | |||
239 | div.square { |
|
247 | div.square { | |
240 | border: 1px solid #999; |
|
248 | border: 1px solid #999; | |
241 | float: left; |
|
249 | float: left; | |
242 | margin: .4em .5em 0 0; |
|
250 | margin: .4em .5em 0 0; | |
243 | overflow: hidden; |
|
251 | overflow: hidden; | |
244 | width: .6em; height: .6em; |
|
252 | width: .6em; height: .6em; | |
245 | } |
|
253 | } | |
246 |
|
254 | |||
247 | table p { |
|
255 | table p { | |
248 | margin:0; |
|
256 | margin:0; | |
249 | padding:0; |
|
257 | padding:0; | |
250 | } |
|
258 | } | |
251 |
|
259 | |||
|
260 | ul.documents { | |||
|
261 | list-style-type: none; | |||
|
262 | padding: 0; | |||
|
263 | margin: 0; | |||
|
264 | } | |||
|
265 | ||||
|
266 | ul.documents li { | |||
|
267 | background-image: url(../images/file.png); | |||
|
268 | background-repeat: no-repeat; | |||
|
269 | background-position: 0 .4em; | |||
|
270 | padding-left: 20px; | |||
|
271 | margin-bottom: 10px; | |||
|
272 | margin-left: -37px; | |||
|
273 | } | |||
|
274 | ||||
252 | /********** Table used to display lists of things ***********/ |
|
275 | /********** Table used to display lists of things ***********/ | |
253 |
|
276 | |||
254 | table.list { |
|
277 | table.list { | |
255 | width:100%; |
|
278 | width:100%; | |
256 | border-collapse: collapse; |
|
279 | border-collapse: collapse; | |
257 | border: 1px dotted #d0d0d0; |
|
280 | border: 1px dotted #d0d0d0; | |
258 | margin-bottom: 6px; |
|
281 | margin-bottom: 6px; | |
259 | } |
|
282 | } | |
260 |
|
283 | |||
261 | table.with-cells td { |
|
284 | table.with-cells td { | |
262 | border: 1px solid #d7d7d7; |
|
285 | border: 1px solid #d7d7d7; | |
263 | } |
|
286 | } | |
264 |
|
287 | |||
265 | table.list thead th { |
|
288 | table.list thead th { | |
266 | text-align: center; |
|
289 | text-align: center; | |
267 | background: #eee; |
|
290 | background: #eee; | |
268 | border: 1px solid #d7d7d7; |
|
291 | border: 1px solid #d7d7d7; | |
269 | color: #777; |
|
292 | color: #777; | |
270 | } |
|
293 | } | |
271 |
|
294 | |||
272 | table.list tbody th { |
|
295 | table.list tbody th { | |
273 | font-weight: normal; |
|
296 | font-weight: normal; | |
274 | background: #eed; |
|
297 | background: #eed; | |
275 | border: 1px solid #d7d7d7; |
|
298 | border: 1px solid #d7d7d7; | |
276 | } |
|
299 | } | |
277 |
|
300 | |||
278 | /********** Validation error messages *************/ |
|
301 | /********** Validation error messages *************/ | |
279 | #errorExplanation { |
|
302 | #errorExplanation { | |
280 | width: 400px; |
|
303 | width: 400px; | |
281 | border: 0; |
|
304 | border: 0; | |
282 | padding: 7px; |
|
305 | padding: 7px; | |
283 | padding-bottom: 3px; |
|
306 | padding-bottom: 3px; | |
284 | margin-bottom: 0px; |
|
307 | margin-bottom: 0px; | |
285 | } |
|
308 | } | |
286 |
|
309 | |||
287 | #errorExplanation h2 { |
|
310 | #errorExplanation h2 { | |
288 | text-align: left; |
|
311 | text-align: left; | |
289 | font-weight: bold; |
|
312 | font-weight: bold; | |
290 | padding: 5px 5px 10px 26px; |
|
313 | padding: 5px 5px 10px 26px; | |
291 | font-size: 1em; |
|
314 | font-size: 1em; | |
292 | margin: -7px; |
|
315 | margin: -7px; | |
293 | background: url(../images/alert.png) no-repeat 6px 6px; |
|
316 | background: url(../images/alert.png) no-repeat 6px 6px; | |
294 | } |
|
317 | } | |
295 |
|
318 | |||
296 | #errorExplanation p { |
|
319 | #errorExplanation p { | |
297 | color: #333; |
|
320 | color: #333; | |
298 | margin-bottom: 0; |
|
321 | margin-bottom: 0; | |
299 | padding: 5px; |
|
322 | padding: 5px; | |
300 | } |
|
323 | } | |
301 |
|
324 | |||
302 | #errorExplanation ul li { |
|
325 | #errorExplanation ul li { | |
303 | font-size: 1em; |
|
326 | font-size: 1em; | |
304 | list-style: none; |
|
327 | list-style: none; | |
305 | margin-left: -16px; |
|
328 | margin-left: -16px; | |
306 | } |
|
329 | } | |
307 |
|
330 | |||
308 | /*========== Drop down menu ==============*/ |
|
331 | /*========== Drop down menu ==============*/ | |
309 | div.menu { |
|
332 | div.menu { | |
310 | background-color: #FFFFFF; |
|
333 | background-color: #FFFFFF; | |
311 | border-style: solid; |
|
334 | border-style: solid; | |
312 | border-width: 1px; |
|
335 | border-width: 1px; | |
313 | border-color: #7F9DB9; |
|
336 | border-color: #7F9DB9; | |
314 | position: absolute; |
|
337 | position: absolute; | |
315 | top: 0px; |
|
338 | top: 0px; | |
316 | left: 0px; |
|
339 | left: 0px; | |
317 | padding: 0; |
|
340 | padding: 0; | |
318 | visibility: hidden; |
|
341 | visibility: hidden; | |
319 | z-index: 101; |
|
342 | z-index: 101; | |
320 | } |
|
343 | } | |
321 |
|
344 | |||
322 | div.menu a.menuItem { |
|
345 | div.menu a.menuItem { | |
323 | font-size: 10px; |
|
346 | font-size: 10px; | |
324 | font-weight: normal; |
|
347 | font-weight: normal; | |
325 | line-height: 2em; |
|
348 | line-height: 2em; | |
326 | color: #000000; |
|
349 | color: #000000; | |
327 | background-color: #FFFFFF; |
|
350 | background-color: #FFFFFF; | |
328 | cursor: default; |
|
351 | cursor: default; | |
329 | display: block; |
|
352 | display: block; | |
330 | padding: 0 1em; |
|
353 | padding: 0 1em; | |
331 | margin: 0; |
|
354 | margin: 0; | |
332 | border: 0; |
|
355 | border: 0; | |
333 | text-decoration: none; |
|
356 | text-decoration: none; | |
334 | white-space: nowrap; |
|
357 | white-space: nowrap; | |
335 | } |
|
358 | } | |
336 |
|
359 | |||
337 | div.menu a.menuItem:hover, div.menu a.menuItemHighlight { |
|
360 | div.menu a.menuItem:hover, div.menu a.menuItemHighlight { | |
338 | background-color: #80b0da; |
|
361 | background-color: #80b0da; | |
339 | color: #ffffff; |
|
362 | color: #ffffff; | |
340 | } |
|
363 | } | |
341 |
|
364 | |||
342 | div.menu a.menuItem span.menuItemText {} |
|
365 | div.menu a.menuItem span.menuItemText {} | |
343 |
|
366 | |||
344 | div.menu a.menuItem span.menuItemArrow { |
|
367 | div.menu a.menuItem span.menuItemArrow { | |
345 | margin-right: -.75em; |
|
368 | margin-right: -.75em; | |
346 | } |
|
369 | } | |
347 |
|
370 | |||
348 | /**************** Sidebar styles ****************/ |
|
371 | /**************** Sidebar styles ****************/ | |
349 |
|
372 | |||
350 | #subcontent{ |
|
373 | #subcontent{ | |
351 | position: absolute; |
|
374 | position: absolute; | |
352 | left: 0px; |
|
375 | left: 0px; | |
353 | width:110px; |
|
376 | width:110px; | |
354 | padding:20px 20px 10px 5px; |
|
377 | padding:20px 20px 10px 5px; | |
355 | } |
|
378 | } | |
356 |
|
379 | |||
357 | #subcontent h2{ |
|
380 | #subcontent h2{ | |
358 | display:block; |
|
381 | display:block; | |
359 | margin:0 0 5px 0; |
|
382 | margin:0 0 5px 0; | |
360 | font-size:1.0em; |
|
383 | font-size:1.0em; | |
361 | font-weight:bold; |
|
384 | font-weight:bold; | |
362 | text-align:left; |
|
385 | text-align:left; | |
363 | color:#606060; |
|
386 | color:#606060; | |
364 | background-color:inherit; |
|
387 | background-color:inherit; | |
365 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
388 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; | |
366 | } |
|
389 | } | |
367 |
|
390 | |||
368 | #subcontent p{margin:0 0 16px 0; font-size:0.9em;} |
|
391 | #subcontent p{margin:0 0 16px 0; font-size:0.9em;} | |
369 |
|
392 | |||
370 | /**************** Menublock styles ****************/ |
|
393 | /**************** Menublock styles ****************/ | |
371 |
|
394 | |||
372 | .menublock{margin:0 0 20px 8px; font-size:0.8em;} |
|
395 | .menublock{margin:0 0 20px 8px; font-size:0.8em;} | |
373 | .menublock li{list-style:none; display:block; padding:1px; margin-bottom:0px;} |
|
396 | .menublock li{list-style:none; display:block; padding:1px; margin-bottom:0px;} | |
374 | .menublock li a{font-weight:bold; text-decoration:none;} |
|
397 | .menublock li a{font-weight:bold; text-decoration:none;} | |
375 | .menublock li a:hover{text-decoration:none;} |
|
398 | .menublock li a:hover{text-decoration:none;} | |
376 | .menublock li ul{margin:0; font-size:1em; font-weight:normal;} |
|
399 | .menublock li ul{margin:0; font-size:1em; font-weight:normal;} | |
377 | .menublock li ul li{margin-bottom:0;} |
|
400 | .menublock li ul li{margin-bottom:0;} | |
378 | .menublock li ul a{font-weight:normal;} |
|
401 | .menublock li ul a{font-weight:normal;} | |
379 |
|
402 | |||
380 | /**************** Footer styles ****************/ |
|
403 | /**************** Footer styles ****************/ | |
381 |
|
404 | |||
382 | #footer{ |
|
405 | #footer{ | |
383 | clear:both; |
|
406 | clear:both; | |
384 | padding:5px 0; |
|
407 | padding:5px 0; | |
385 | margin:0; |
|
408 | margin:0; | |
386 | font-size:0.9em; |
|
409 | font-size:0.9em; | |
387 | color:#f0f0f0; |
|
410 | color:#f0f0f0; | |
388 | background:#467aa7; |
|
411 | background:#467aa7; | |
389 | } |
|
412 | } | |
390 |
|
413 | |||
391 | #footer p{padding:0; margin:0; text-align:center;} |
|
414 | #footer p{padding:0; margin:0; text-align:center;} | |
392 | #footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;} |
|
415 | #footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;} | |
393 | #footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;} |
|
416 | #footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;} | |
394 |
|
417 | |||
395 | /**************** Misc classes and styles ****************/ |
|
418 | /**************** Misc classes and styles ****************/ | |
396 |
|
419 | |||
397 | .splitcontentleft{float:left; width:49%;} |
|
420 | .splitcontentleft{float:left; width:49%;} | |
398 | .splitcontentright{float:right; width:49%;} |
|
421 | .splitcontentright{float:right; width:49%;} | |
399 | .clear{clear:both;} |
|
422 | .clear{clear:both;} | |
400 | .small{font-size:0.8em;line-height:1.4em;padding:0 0 0 0;} |
|
423 | .small{font-size:0.8em;line-height:1.4em;padding:0 0 0 0;} | |
401 | .hide{display:none;} |
|
424 | .hide{display:none;} | |
402 | .textcenter{text-align:center;} |
|
425 | .textcenter{text-align:center;} | |
403 | .textright{text-align:right;} |
|
426 | .textright{text-align:right;} | |
404 | .important{color:#f02025; background-color:inherit; font-weight:bold;} |
|
427 | .important{color:#f02025; background-color:inherit; font-weight:bold;} | |
405 |
|
428 | |||
406 | .box{ |
|
429 | .box{ | |
407 | margin:0 0 20px 0; |
|
430 | margin:0 0 20px 0; | |
408 | padding:10px; |
|
431 | padding:10px; | |
409 | border:1px solid #c0c0c0; |
|
432 | border:1px solid #c0c0c0; | |
410 | background-color:#fafbfc; |
|
433 | background-color:#fafbfc; | |
411 | color:#505050; |
|
434 | color:#505050; | |
412 | line-height:1.5em; |
|
435 | line-height:1.5em; | |
413 | } |
|
436 | } | |
414 |
|
437 | |||
415 | a.close-icon { |
|
438 | a.close-icon { | |
416 | display:block; |
|
439 | display:block; | |
417 | margin-top:3px; |
|
440 | margin-top:3px; | |
418 | overflow:hidden; |
|
441 | overflow:hidden; | |
419 | width:12px; |
|
442 | width:12px; | |
420 | height:12px; |
|
443 | height:12px; | |
421 | background-repeat: no-repeat; |
|
444 | background-repeat: no-repeat; | |
422 | cursor:pointer; |
|
445 | cursor:pointer; | |
423 | background-image:url('../images/close.png'); |
|
446 | background-image:url('../images/close.png'); | |
424 | } |
|
447 | } | |
425 |
|
448 | |||
426 | a.close-icon:hover { |
|
449 | a.close-icon:hover { | |
427 | background-image:url('../images/close_hl.png'); |
|
450 | background-image:url('../images/close_hl.png'); | |
428 | } |
|
451 | } | |
429 |
|
452 | |||
430 | .rightbox{ |
|
453 | .rightbox{ | |
431 | background: #fafbfc; |
|
454 | background: #fafbfc; | |
432 | border: 1px solid #c0c0c0; |
|
455 | border: 1px solid #c0c0c0; | |
433 | float: right; |
|
456 | float: right; | |
434 | padding: 8px; |
|
457 | padding: 8px; | |
435 | position: relative; |
|
458 | position: relative; | |
436 | margin: 0 5px 5px; |
|
459 | margin: 0 5px 5px; | |
437 | } |
|
460 | } | |
438 |
|
461 | |||
439 | .layout-active { |
|
462 | .layout-active { | |
440 | background: #ECF3E1; |
|
463 | background: #ECF3E1; | |
441 | } |
|
464 | } | |
442 |
|
465 | |||
443 | .block-receiver { |
|
466 | .block-receiver { | |
444 | border:1px dashed #c0c0c0; |
|
467 | border:1px dashed #c0c0c0; | |
445 | margin-bottom: 20px; |
|
468 | margin-bottom: 20px; | |
446 | padding: 15px 0 15px 0; |
|
469 | padding: 15px 0 15px 0; | |
447 | } |
|
470 | } | |
448 |
|
471 | |||
449 | .mypage-box { |
|
472 | .mypage-box { | |
450 | margin:0 0 20px 0; |
|
473 | margin:0 0 20px 0; | |
451 | color:#505050; |
|
474 | color:#505050; | |
452 | line-height:1.5em; |
|
475 | line-height:1.5em; | |
453 | } |
|
476 | } | |
454 |
|
477 | |||
455 | .handle { |
|
478 | .handle { | |
456 | cursor: move; |
|
479 | cursor: move; | |
457 | } |
|
480 | } | |
458 |
|
481 | |||
459 | .login { |
|
482 | .login { | |
460 | width: 50%; |
|
483 | width: 50%; | |
461 | text-align: left; |
|
484 | text-align: left; | |
462 | } |
|
485 | } | |
463 |
|
486 | |||
464 | img.calendar-trigger { |
|
487 | img.calendar-trigger { | |
465 | cursor: pointer; |
|
488 | cursor: pointer; | |
466 | vertical-align: middle; |
|
489 | vertical-align: middle; | |
467 | margin-left: 4px; |
|
490 | margin-left: 4px; | |
468 | } |
|
491 | } | |
469 |
|
492 | |||
470 | #history p { |
|
493 | #history p { | |
471 | margin-left: 34px; |
|
494 | margin-left: 34px; | |
472 | } |
|
495 | } | |
473 |
|
496 | |||
474 | /***** Contextual links div *****/ |
|
497 | /***** Contextual links div *****/ | |
475 | .contextual { |
|
498 | .contextual { | |
476 | float: right; |
|
499 | float: right; | |
477 | font-size: 0.8em; |
|
500 | font-size: 0.8em; | |
478 | } |
|
501 | } | |
479 |
|
502 | |||
480 | .contextual select, .contextual input { |
|
503 | .contextual select, .contextual input { | |
481 | font-size: 1em; |
|
504 | font-size: 1em; | |
482 | } |
|
505 | } | |
483 |
|
506 | |||
484 |
|
507 | |||
485 | /***** CSS FORM ******/ |
|
508 | /***** CSS FORM ******/ | |
486 | .tabular p{ |
|
509 | .tabular p{ | |
487 | margin: 0; |
|
510 | margin: 0; | |
488 | padding: 5px 0 8px 0; |
|
511 | padding: 5px 0 8px 0; | |
489 | padding-left: 180px; /*width of left column containing the label elements*/ |
|
512 | padding-left: 180px; /*width of left column containing the label elements*/ | |
490 | height: 1%; |
|
513 | height: 1%; | |
491 | } |
|
514 | } | |
492 |
|
515 | |||
493 | .tabular label{ |
|
516 | .tabular label{ | |
494 | font-weight: bold; |
|
517 | font-weight: bold; | |
495 | float: left; |
|
518 | float: left; | |
496 | margin-left: -180px; /*width of left column*/ |
|
519 | margin-left: -180px; /*width of left column*/ | |
497 | width: 175px; /*width of labels. Should be smaller than left column to create some right |
|
520 | width: 175px; /*width of labels. Should be smaller than left column to create some right | |
498 | margin*/ |
|
521 | margin*/ | |
499 | } |
|
522 | } | |
500 |
|
523 | |||
501 | .error { |
|
524 | .error { | |
502 | color: #cc0000; |
|
525 | color: #cc0000; | |
503 | } |
|
526 | } | |
504 |
|
527 | |||
505 |
|
528 | |||
506 | /*.threepxfix class below: |
|
529 | /*.threepxfix class below: | |
507 | Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents. |
|
530 | Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents. | |
508 | to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html |
|
531 | to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html | |
509 | */ |
|
532 | */ | |
510 |
|
533 | |||
511 | * html .threepxfix{ |
|
534 | * html .threepxfix{ | |
512 | margin-left: 3px; |
|
535 | margin-left: 3px; | |
513 | } No newline at end of file |
|
536 | } |
General Comments 0
You need to be logged in to leave comments.
Login now