##// END OF EJS Templates
Adds helpers for setting field tags....
Jean-Philippe Lang -
r3084:6ccbcfb589b8
parent child
Show More
@@ -1,30 +1,74
1 # redMine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006-2007 Jean-Philippe Lang
2 # Copyright (C) 2006-2009 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 module SettingsHelper
18 module SettingsHelper
19 def administration_settings_tabs
19 def administration_settings_tabs
20 tabs = [{:name => 'general', :partial => 'settings/general', :label => :label_general},
20 tabs = [{:name => 'general', :partial => 'settings/general', :label => :label_general},
21 {:name => 'display', :partial => 'settings/display', :label => :label_display},
21 {:name => 'display', :partial => 'settings/display', :label => :label_display},
22 {:name => 'authentication', :partial => 'settings/authentication', :label => :label_authentication},
22 {:name => 'authentication', :partial => 'settings/authentication', :label => :label_authentication},
23 {:name => 'projects', :partial => 'settings/projects', :label => :label_project_plural},
23 {:name => 'projects', :partial => 'settings/projects', :label => :label_project_plural},
24 {:name => 'issues', :partial => 'settings/issues', :label => :label_issue_tracking},
24 {:name => 'issues', :partial => 'settings/issues', :label => :label_issue_tracking},
25 {:name => 'notifications', :partial => 'settings/notifications', :label => :field_mail_notification},
25 {:name => 'notifications', :partial => 'settings/notifications', :label => :field_mail_notification},
26 {:name => 'mail_handler', :partial => 'settings/mail_handler', :label => :label_incoming_emails},
26 {:name => 'mail_handler', :partial => 'settings/mail_handler', :label => :label_incoming_emails},
27 {:name => 'repositories', :partial => 'settings/repositories', :label => :label_repository_plural}
27 {:name => 'repositories', :partial => 'settings/repositories', :label => :label_repository_plural}
28 ]
28 ]
29 end
29 end
30
31 def setting_select(setting, choices, options={})
32 if blank_text = options.delete(:blank)
33 choices = [[blank_text.is_a?(Symbol) ? l(blank_text) : blank_text, '']] + choices
34 end
35 setting_label(setting, options) +
36 select_tag("settings[#{setting}]", options_for_select(choices, Setting.send(setting).to_s), options)
37 end
38
39 def setting_multiselect(setting, choices, options={})
40 setting_values = Setting.send(setting)
41 setting_values = [] unless setting_values.is_a?(Array)
42
43 setting_label(setting, options) +
44 hidden_field_tag("settings[#{setting}][]", '') +
45 choices.collect do |choice|
46 text, value = (choice.is_a?(Array) ? choice : [choice, choice])
47 content_tag('label',
48 check_box_tag("settings[#{setting}][]", value, Setting.send(setting).include?(value)) + text.to_s,
49 :class => 'block'
50 )
51 end.join
52 end
53
54 def setting_text_field(setting, options={})
55 setting_label(setting, options) +
56 text_field_tag("settings[#{setting}]", Setting.send(setting), options)
57 end
58
59 def setting_text_area(setting, options={})
60 setting_label(setting, options) +
61 text_area_tag("settings[#{setting}]", Setting.send(setting), options)
62 end
63
64 def setting_check_box(setting, options={})
65 setting_label(setting, options) +
66 hidden_field_tag("settings[#{setting}]", 0) +
67 check_box_tag("settings[#{setting}]", 1, Setting.send("#{setting}?"), options)
68 end
69
70 def setting_label(setting, options={})
71 label = options.delete(:label)
72 label != false ? content_tag("label", l(label || "setting_#{setting}")) : ''
73 end
30 end
74 end
@@ -1,39 +1,25
1 <% form_tag({:action => 'edit', :tab => 'authentication'}) do %>
1 <% form_tag({:action => 'edit', :tab => 'authentication'}) do %>
2
2
3 <div class="box tabular settings">
3 <div class="box tabular settings">
4 <p><label><%= l(:setting_login_required) %></label>
4 <p><%= setting_check_box :login_required %></p>
5 <%= hidden_field_tag 'settings[login_required]', 0 %>
5
6 <%= check_box_tag 'settings[login_required]', 1, Setting.login_required? %>
6 <p><%= setting_select :autologin, [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]}, :blank => :label_disabled %></p>
7 </p>
7
8
8 <p><%= setting_select :self_registration, [[l(:label_disabled), "0"],
9 <p><label><%= l(:setting_autologin) %></label>
9 [l(:label_registration_activation_by_email), "1"],
10 <%= select_tag 'settings[autologin]', options_for_select( [[l(:label_disabled), "0"]] + [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]}, Setting.autologin) %></p>
10 [l(:label_registration_manual_activation), "2"],
11
11 [l(:label_registration_automatic_activation), "3"]] %></p>
12 <p><label><%= l(:setting_self_registration) %></label>
12
13 <%= select_tag 'settings[self_registration]',
13 <p><%= setting_text_field :password_min_length, :size => 6 %></p>
14 options_for_select( [[l(:label_disabled), "0"],
14
15 [l(:label_registration_activation_by_email), "1"],
15 <p><%= setting_check_box :lost_password, :label => :label_password_lost %></p>
16 [l(:label_registration_manual_activation), "2"],
16
17 [l(:label_registration_automatic_activation), "3"]
17 <p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p>
18 ], Setting.self_registration ) %></p>
19
20 <p><label><%= l(:setting_password_min_length) %></label>
21 <%= text_field_tag 'settings[password_min_length]', Setting.password_min_length, :size => 6 %></p>
22
23 <p><label><%= l(:label_password_lost) %></label>
24 <%= hidden_field_tag 'settings[lost_password]', 0 %>
25 <%= check_box_tag 'settings[lost_password]', 1, Setting.lost_password? %>
26 </p>
27
28 <p><label><%= l(:setting_openid) %></label>
29 <%= hidden_field_tag 'settings[openid]', 0 %>
30 <%= check_box_tag 'settings[openid]', 1, Setting.openid?, :disabled => !Object.const_defined?(:OpenID) %>
31 </p>
32 </div>
18 </div>
33
19
34 <div style="float:right;">
20 <div style="float:right;">
35 <%= link_to l(:label_ldap_authentication), :controller => 'auth_sources', :action => 'list' %>
21 <%= link_to l(:label_ldap_authentication), :controller => 'auth_sources', :action => 'list' %>
36 </div>
22 </div>
37
23
38 <%= submit_tag l(:button_save) %>
24 <%= submit_tag l(:button_save) %>
39 <% end %>
25 <% end %>
@@ -1,33 +1,22
1 <% form_tag({:action => 'edit', :tab => 'display'}) do %>
1 <% form_tag({:action => 'edit', :tab => 'display'}) do %>
2
2
3 <div class="box tabular settings">
3 <div class="box tabular settings">
4 <p><label><%= l(:label_theme) %></label>
4 <p><%= setting_select :ui_theme, Redmine::Themes.themes.collect {|t| [t.name, t.id]}, :blank => :label_default, :label => :label_theme %></p>
5 <%= select_tag 'settings[ui_theme]', options_for_select( ([[l(:label_default), '']] + Redmine::Themes.themes.collect {|t| [t.name, t.id]}), Setting.ui_theme) %></p>
6
5
7 <p><label><%= l(:setting_default_language) %></label>
6 <p><%= setting_select :default_language, lang_options_for_select(false) %></p>
8 <%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %></p>
9
7
10 <p><label><%= l(:setting_start_of_week) %></label>
8 <p><%= setting_select :start_of_week, [[day_name(1),'1'], [day_name(7),'7']], :blank => :label_language_based %></p>
11 <%= select_tag 'settings[start_of_week]', options_for_select( [[l(:label_language_based), ''], [day_name(1),'1'], [day_name(7),'7']] , Setting.start_of_week) %></p>
12
9
13 <p><label><%= l(:setting_date_format) %></label>
10 <p><%= setting_select :date_format, Setting::DATE_FORMATS.collect {|f| [Date.today.strftime(f), f]}, :blank => :label_language_based %></p>
14 <%= select_tag 'settings[date_format]', options_for_select( [[l(:label_language_based), '']] + Setting::DATE_FORMATS.collect {|f| [Date.today.strftime(f), f]}, Setting.date_format) %></p>
15
11
16 <p><label><%= l(:setting_time_format) %></label>
12 <p><%= setting_select :time_format, Setting::TIME_FORMATS.collect {|f| [Time.now.strftime(f), f]}, :blank => :label_language_based %></p>
17 <%= select_tag 'settings[time_format]', options_for_select( [[l(:label_language_based), '']] + Setting::TIME_FORMATS.collect {|f| [Time.now.strftime(f), f]}, Setting.time_format) %></p>
18
13
19 <p><label><%= l(:setting_user_format) %></label>
14 <p><%= setting_select :user_format, @options[:user_format] %></p>
20 <%= select_tag 'settings[user_format]', options_for_select( @options[:user_format], Setting.user_format.to_s ) %></p>
21
15
22 <p><label><%= l(:setting_gravatar_enabled) %></label>
16 <p><%= setting_check_box :gravatar_enabled %></p>
23 <%= hidden_field_tag 'settings[gravatar_enabled]', 0 %>
24 <%= check_box_tag 'settings[gravatar_enabled]', 1, Setting.gravatar_enabled? %>
25 </p>
26
17
27 <p><label><%= l(:setting_gravatar_default) %></label>
18 <p><%= setting_select :gravatar_default, [["Wavatars", 'wavatar'], ["Identicons", 'identicon'], ["Monster ids", 'monsterid']], :blank => :label_none %></p>
28 <%= select_tag 'settings[gravatar_default]', options_for_select([[l(:label_none), ''], ["Wavatars", 'wavatar'], ["Identicons", 'identicon'], ["Monster ids", 'monsterid']], Setting.gravatar_default) %></p>
29 </p>
30 </div>
19 </div>
31
20
32 <%= submit_tag l(:button_save) %>
21 <%= submit_tag l(:button_save) %>
33 <% end %>
22 <% end %>
@@ -1,44 +1,33
1 <% form_tag({:action => 'edit'}) do %>
1 <% form_tag({:action => 'edit'}) do %>
2
2
3 <div class="box tabular settings">
3 <div class="box tabular settings">
4 <p><label><%= l(:setting_app_title) %></label>
4 <p><%= setting_text_field :app_title, :size => 30 %></p>
5 <%= text_field_tag 'settings[app_title]', Setting.app_title, :size => 30 %></p>
6
5
7 <p><label><%= l(:setting_welcome_text) %></label>
6 <p><%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p>
8 <%= text_area_tag 'settings[welcome_text]', Setting.welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p>
7 <%= wikitoolbar_for 'settings_welcome_text' %>
9 <%= wikitoolbar_for 'settings[welcome_text]' %>
10
8
11 <p><label><%= l(:setting_attachment_max_size) %></label>
9 <p><%= setting_text_field :attachment_max_size, :size => 6 %> KB</p>
12 <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>
13
10
14 <p><label><%= l(:setting_per_page_options) %></label>
11 <p><%= setting_text_field :per_page_options, :size => 20 %><br />
15 <%= text_field_tag 'settings[per_page_options]', Setting.per_page_options_array.join(', '), :size => 20 %><br /><em><%= l(:text_comma_separated) %></em></p>
12 <em><%= l(:text_comma_separated) %></em></p>
16
13
17 <p><label><%= l(:setting_activity_days_default) %></label>
14 <p><%= setting_text_field :activity_days_default, :size => 6 %> <%= l(:label_day_plural) %></p>
18 <%= text_field_tag 'settings[activity_days_default]', Setting.activity_days_default, :size => 6 %> <%= l(:label_day_plural) %></p>
19
15
20 <p><label><%= l(:setting_host_name) %></label>
16 <p><%= setting_text_field :host_name, :size => 60 %><br />
21 <%= text_field_tag 'settings[host_name]', Setting.host_name, :size => 60 %><br />
22 <em><%= l(:label_example) %>: <%= @guessed_host_and_path %></em></p>
17 <em><%= l(:label_example) %>: <%= @guessed_host_and_path %></em></p>
23
18
24 <p><label><%= l(:setting_protocol) %></label>
19 <p><%= setting_select :protocol, [['HTTP', 'http'], ['HTTPS', 'https']] %></p>
25 <%= select_tag 'settings[protocol]', options_for_select(['http', 'https'], Setting.protocol) %></p>
26
20
27 <p><label><%= l(:setting_text_formatting) %></label>
21 <p><%= setting_select :text_formatting, Redmine::WikiFormatting.format_names.collect{|name| [name, name.to_s]}, :blank => :label_none %></p>
28 <%= select_tag 'settings[text_formatting]', options_for_select([[l(:label_none), "0"], *Redmine::WikiFormatting.format_names.collect{|name| [name, name]} ], Setting.text_formatting.to_sym) %></p>
29
22
30 <p><label><%= l(:setting_wiki_compression) %></label>
23 <p><%= setting_select :wiki_compression, [['Gzip', 'gzip']], :blank => :label_none %></p>
31 <%= select_tag 'settings[wiki_compression]', options_for_select( [[l(:label_none), 0], ["gzip", "gzip"]], Setting.wiki_compression) %></p>
32
24
33 <p><label><%= l(:setting_feeds_limit) %></label>
25 <p><%= setting_text_field :feeds_limit, :size => 6 %></p>
34 <%= text_field_tag 'settings[feeds_limit]', Setting.feeds_limit, :size => 6 %></p>
35
26
36 <p><label><%= l(:setting_file_max_size_displayed) %></label>
27 <p><%= setting_text_field :file_max_size_displayed, :size => 6 %> KB</p>
37 <%= text_field_tag 'settings[file_max_size_displayed]', Setting.file_max_size_displayed, :size => 6 %> KB</p>
38
28
39 <p><label><%= l(:setting_diff_max_lines_displayed) %></label>
29 <p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p>
40 <%= text_field_tag 'settings[diff_max_lines_displayed]', Setting.diff_max_lines_displayed, :size => 6 %></p>
41 </div>
30 </div>
42
31
43 <%= submit_tag l(:button_save) %>
32 <%= submit_tag l(:button_save) %>
44 <% end %>
33 <% end %>
@@ -1,31 +1,19
1 <% form_tag({:action => 'edit', :tab => 'issues'}) do %>
1 <% form_tag({:action => 'edit', :tab => 'issues'}) do %>
2
2
3 <div class="box tabular settings">
3 <div class="box tabular settings">
4 <p><label><%= l(:setting_cross_project_issue_relations) %></label>
4 <p><%= setting_check_box :cross_project_issue_relations %></p>
5 <%= hidden_field_tag 'settings[cross_project_issue_relations]', 0 %>
6 <%= check_box_tag 'settings[cross_project_issue_relations]', 1, Setting.cross_project_issue_relations? %>
7 </p>
8
5
9 <p><label><%= l(:setting_display_subprojects_issues) %></label>
6 <p><%= setting_check_box :display_subprojects_issues %></p>
10 <%= hidden_field_tag 'settings[display_subprojects_issues]', 0 %>
11 <%= check_box_tag 'settings[display_subprojects_issues]', 1, Setting.display_subprojects_issues? %>
12 </p>
13
7
14 <p><label><%= l(:setting_issue_done_ratio) %></label>
8 <p><%= setting_select :issue_done_ratio, Issue::DONE_RATIO_OPTIONS.collect {|i| [l("setting_issue_done_ratio_#{i}"), i]} %></p>
15 <%= select_tag 'settings[issue_done_ratio]',
16 options_for_select(Issue::DONE_RATIO_OPTIONS.collect {|i| [l("setting_issue_done_ratio_#{i}"), i]}, Setting.issue_done_ratio) %></p>
17
9
18 <p><label><%= l(:setting_issues_export_limit) %></label>
10 <p><%= setting_text_field :issues_export_limit, :size => 6 %></p>
19 <%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
20 </div>
11 </div>
21
12
22 <fieldset class="box settings"><legend><%= l(:setting_issue_list_default_columns) %></legend>
13 <fieldset class="box settings"><legend><%= l(:setting_issue_list_default_columns) %></legend>
23 <%= hidden_field_tag 'settings[issue_list_default_columns][]', '' %>
14 <%= setting_multiselect(:issue_list_default_columns,
24 <% Query.new.available_columns.each do |column| %>
15 Query.new.available_columns.collect {|c| [c.caption, c.name.to_s]}, :label => false) %>
25 <label><%= check_box_tag 'settings[issue_list_default_columns][]', column.name, Setting.issue_list_default_columns.include?(column.name.to_s) %>
26 <%= column.caption %></label><br />
27 <% end %>
28 </fieldset>
16 </fieldset>
29
17
30 <%= submit_tag l(:button_save) %>
18 <%= submit_tag l(:button_save) %>
31 <% end %>
19 <% end %>
@@ -1,19 +1,15
1 <% form_tag({:action => 'edit', :tab => 'mail_handler'}) do %>
1 <% form_tag({:action => 'edit', :tab => 'mail_handler'}) do %>
2
2
3 <div class="box tabular settings">
3 <div class="box tabular settings">
4 <p><label><%= l(:setting_mail_handler_api_enabled) %></label>
4 <p><%= setting_check_box :mail_handler_api_enabled,
5 <%= hidden_field_tag 'settings[mail_handler_api_enabled]', 0 %>
5 :onclick => "if (this.checked) { Form.Element.enable('settings_mail_handler_api_key'); } else { Form.Element.disable('settings_mail_handler_api_key'); }"%></p>
6 <%= check_box_tag 'settings[mail_handler_api_enabled]', 1, Setting.mail_handler_api_enabled?,
7 :onclick => "if (this.checked) { Form.Element.enable('settings_mail_handler_api_key'); } else { Form.Element.disable('settings_mail_handler_api_key'); }" %>
8 </p>
9
6
10 <p><label><%= l(:setting_mail_handler_api_key) %></label>
7 <p><%= setting_text_field :mail_handler_api_key, :size => 30,
11 <%= text_field_tag 'settings[mail_handler_api_key]', Setting.mail_handler_api_key,
8 :id => 'settings_mail_handler_api_key',
12 :size => 30,
9 :disabled => !Setting.mail_handler_api_enabled? %>
13 :id => 'settings_mail_handler_api_key',
10 <%= link_to_function l(:label_generate_key), "if ($('settings_mail_handler_api_key').disabled == false) { $('settings_mail_handler_api_key').value = randomKey(20) }" %>
14 :disabled => !Setting.mail_handler_api_enabled? %>
11 </p>
15 <%= link_to_function l(:label_generate_key), "if ($('settings_mail_handler_api_key').disabled == false) { $('settings_mail_handler_api_key').value = randomKey(20) }" %></p>
16 </div>
12 </div>
17
13
18 <%= submit_tag l(:button_save) %>
14 <%= submit_tag l(:button_save) %>
19 <% end %>
15 <% end %>
@@ -1,42 +1,33
1 <% if @deliveries %>
1 <% if @deliveries %>
2 <% form_tag({:action => 'edit', :tab => 'notifications'}) do %>
2 <% form_tag({:action => 'edit', :tab => 'notifications'}) do %>
3
3
4 <div class="box tabular settings">
4 <div class="box tabular settings">
5 <p><label><%= l(:setting_mail_from) %></label>
5 <p><%= setting_text_field :mail_from, :size => 60 %></p>
6 <%= text_field_tag 'settings[mail_from]', Setting.mail_from, :size => 60 %></p>
6
7
7 <p><%= setting_check_box :bcc_recipients %></p>
8 <p><label><%= l(:setting_bcc_recipients) %></label>
8
9 <%= hidden_field_tag 'settings[bcc_recipients]', 0 %>
9 <p><%= setting_check_box :plain_text_mail %></p>
10 <%= check_box_tag 'settings[bcc_recipients]', 1, Setting.bcc_recipients? %>
11 </p>
12
13 <p><label><%= l(:setting_plain_text_mail) %></label>
14 <%= hidden_field_tag 'settings[plain_text_mail]', 0 %>
15 <%= check_box_tag 'settings[plain_text_mail]', 1, Setting.plain_text_mail? %>
16 </p>
17 </div>
10 </div>
18
11
19 <fieldset class="box" id="notified_events"><legend><%=l(:text_select_mail_notifications)%></legend>
12 <fieldset class="box settings" id="notified_events"><legend><%=l(:text_select_mail_notifications)%></legend>
20 <% @notifiables.each do |notifiable| %>
13 <%= setting_multiselect(:notified_events,
21 <label><%= check_box_tag 'settings[notified_events][]', notifiable, Setting.notified_events.include?(notifiable) %>
14 @notifiables.collect {|notifiable| [l_or_humanize(notifiable, :prefix => 'label_'), notifiable]}, :label => false) %>
22 <%= l_or_humanize(notifiable, :prefix => 'label_') %></label><br />
15
23 <% end %>
16 <p><%= check_all_links('notified_events') %></p>
24 <%= hidden_field_tag 'settings[notified_events][]', '' %>
25 <p><%= check_all_links('notified_events') %></p>
26 </fieldset>
17 </fieldset>
27
18
28 <fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend>
19 <fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend>
29 <%= text_area_tag 'settings[emails_footer]', Setting.emails_footer, :class => 'wiki-edit', :rows => 5 %>
20 <%= setting_text_area :emails_footer, :label => false, :class => 'wiki-edit', :rows => 5 %>
30 </fieldset>
21 </fieldset>
31
22
32 <div style="float:right;">
23 <div style="float:right;">
33 <%= link_to l(:label_send_test_email), :controller => 'admin', :action => 'test_email' %>
24 <%= link_to l(:label_send_test_email), :controller => 'admin', :action => 'test_email' %>
34 </div>
25 </div>
35
26
36 <%= submit_tag l(:button_save) %>
27 <%= submit_tag l(:button_save) %>
37 <% end %>
28 <% end %>
38 <% else %>
29 <% else %>
39 <div class="nodata">
30 <div class="nodata">
40 <%= simple_format(l(:text_email_delivery_not_configured)) %>
31 <%= simple_format(l(:text_email_delivery_not_configured)) %>
41 </div>
32 </div>
42 <% end %>
33 <% end %>
@@ -1,29 +1,17
1 <% form_tag({:action => 'edit', :tab => 'projects'}) do %>
1 <% form_tag({:action => 'edit', :tab => 'projects'}) do %>
2
2
3 <div class="box tabular settings">
3 <div class="box tabular settings">
4 <p><label><%= l(:setting_default_projects_public) %></label>
4 <p><%= setting_check_box :default_projects_public %></p>
5 <%= hidden_field_tag 'settings[default_projects_public]', 0 %>
6 <%= check_box_tag 'settings[default_projects_public]', 1, Setting.default_projects_public? %>
7 </p>
8
5
9 <p><label><%= l(:setting_default_projects_modules) %></label>
6 <p><%= setting_multiselect(:default_projects_modules,
10 <%= hidden_field_tag 'settings[default_projects_modules][]', '' %>
7 Redmine::AccessControl.available_project_modules.collect {|m| [l_or_humanize(m, :prefix => "project_module_"), m.to_s]}) %></p>
11 <% Redmine::AccessControl.available_project_modules.each do |m| %>
12 <label class="block">
13 <%= check_box_tag 'settings[default_projects_modules][]', m, Setting.default_projects_modules.include?(m.to_s) %>
14 <%= l_or_humanize(m, :prefix => "project_module_") %>
15 </label>
16 <% end %>
17 </p>
18
8
19 <p><label><%= l(:setting_sequential_project_identifiers) %></label>
9 <p><%= setting_check_box :sequential_project_identifiers %></p>
20 <%= hidden_field_tag 'settings[sequential_project_identifiers]', 0 %>
21 <%= check_box_tag 'settings[sequential_project_identifiers]', 1, Setting.sequential_project_identifiers? %>
22 </p>
23
10
24 <p><label><%= l(:setting_new_project_user_role_id) %></label>
11 <p><%= setting_select :new_project_user_role_id,
25 <%= select_tag('settings[new_project_user_role_id]', options_for_select([["--- #{l(:actionview_instancetag_blank_option)} ---", '']] + Role.find_all_givable.collect {|r| [r.name, r.id]}, Setting.new_project_user_role_id.to_i)) %></p>
12 Role.find_all_givable.collect {|r| [r.name, r.id.to_s]},
13 :blank => "--- #{l(:actionview_instancetag_blank_option)} ---" %></p>
26 </div>
14 </div>
27
15
28 <%= submit_tag l(:button_save) %>
16 <%= submit_tag l(:button_save) %>
29 <% end %>
17 <% end %>
@@ -1,43 +1,29
1 <% form_tag({:action => 'edit', :tab => 'repositories'}) do %>
1 <% form_tag({:action => 'edit', :tab => 'repositories'}) do %>
2
2
3 <div class="box tabular settings">
3 <div class="box tabular settings">
4 <p><label><%= l(:setting_autofetch_changesets) %></label>
4 <p><%= setting_check_box :autofetch_changesets %></p>
5 <%= hidden_field_tag 'settings[autofetch_changesets]', 0 %>
5
6 <%= check_box_tag 'settings[autofetch_changesets]', 1, Setting.autofetch_changesets? %>
6 <p><%= setting_check_box :sys_api_enabled %></p>
7 </p>
7
8
8 <p><%= setting_multiselect(:enabled_scm, REDMINE_SUPPORTED_SCM) %></p>
9 <p><label><%= l(:setting_sys_api_enabled) %></label>
9
10 <%= hidden_field_tag 'settings[sys_api_enabled]', 0 %>
10 <p><%= setting_text_field :repositories_encodings, :size => 60 %><br />
11 <%= check_box_tag 'settings[sys_api_enabled]', 1, Setting.sys_api_enabled? %>
11 <em><%= l(:text_comma_separated) %></em></p>
12 </p>
12
13
13 <p><%= setting_select :commit_logs_encoding, Setting::ENCODINGS %></p>
14 <p><label><%= l(:setting_enabled_scm) %></label>
14
15 <% REDMINE_SUPPORTED_SCM.each do |scm| -%>
15 <p><%= setting_text_field :repository_log_display_limit, :size => 6 %></p>
16 <%= check_box_tag 'settings[enabled_scm][]', scm, Setting.enabled_scm.include?(scm) %> <%= scm %>
17 <% end -%>
18 <%= hidden_field_tag 'settings[enabled_scm][]', '' %>
19 </p>
20
21 <p><label><%= l(:setting_repositories_encodings) %></label>
22 <%= text_field_tag 'settings[repositories_encodings]', Setting.repositories_encodings, :size => 60 %><br /><em><%= l(:text_comma_separated) %></em></p>
23
24 <p><label><%= l(:setting_commit_logs_encoding) %></label>
25 <%= select_tag 'settings[commit_logs_encoding]', options_for_select(Setting::ENCODINGS, Setting.commit_logs_encoding) %></p>
26
27 <p><label><%= l(:setting_repository_log_display_limit) %></label>
28 <%= text_field_tag 'settings[repository_log_display_limit]', Setting.repository_log_display_limit, :size => 6 %></p>
29 </div>
16 </div>
30
17
31 <fieldset class="box tabular settings"><legend><%= l(:text_issues_ref_in_commit_messages) %></legend>
18 <fieldset class="box tabular settings"><legend><%= l(:text_issues_ref_in_commit_messages) %></legend>
32 <p><label><%= l(:setting_commit_ref_keywords) %></label>
19 <p><%= setting_text_field :commit_ref_keywords, :size => 30 %><br />
33 <%= text_field_tag 'settings[commit_ref_keywords]', Setting.commit_ref_keywords, :size => 30 %><br /><em><%= l(:text_comma_separated) %></em></p>
20 <em><%= l(:text_comma_separated) %></em></p>
34
21
35 <p><label><%= l(:setting_commit_fix_keywords) %></label>
22 <p><%= setting_text_field :commit_fix_keywords, :size => 30 %>
36 <%= text_field_tag 'settings[commit_fix_keywords]', Setting.commit_fix_keywords, :size => 30 %>
23 &nbsp;<%= l(:label_applied_status) %>: <%= setting_select :commit_fix_status_id, [["", 0]] + IssueStatus.find(:all).collect{|status| [status.name, status.id.to_s]}, :label => false %>
37 &nbsp;<%= l(:label_applied_status) %>: <%= select_tag 'settings[commit_fix_status_id]', options_for_select( [["", 0]] + IssueStatus.find(:all).collect{|status| [status.name, status.id.to_s]}, Setting.commit_fix_status_id) %>
24 &nbsp;<%= l(:field_done_ratio) %>: <%= setting_select :commit_fix_done_ratio, (0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] }, :blank => :label_no_change_option, :label => false %>
38 &nbsp;<%= l(:field_done_ratio) %>: <%= select_tag 'settings[commit_fix_done_ratio]', options_for_select( [[l(:label_no_change_option), '']] + ((0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] }), Setting.commit_fix_done_ratio) %>
39 <br /><em><%= l(:text_comma_separated) %></em></p>
25 <br /><em><%= l(:text_comma_separated) %></em></p>
40 </fieldset>
26 </fieldset>
41
27
42 <%= submit_tag l(:button_save) %>
28 <%= submit_tag l(:button_save) %>
43 <% end %>
29 <% end %>
@@ -1,846 +1,848
1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
2
2
3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
4 h1 {margin:0; padding:0; font-size: 24px;}
4 h1 {margin:0; padding:0; font-size: 24px;}
5 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
5 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
6 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
6 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
7 h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
7 h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
8
8
9 /***** Layout *****/
9 /***** Layout *****/
10 #wrapper {background: white;}
10 #wrapper {background: white;}
11
11
12 #top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
12 #top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
13 #top-menu ul {margin: 0; padding: 0;}
13 #top-menu ul {margin: 0; padding: 0;}
14 #top-menu li {
14 #top-menu li {
15 float:left;
15 float:left;
16 list-style-type:none;
16 list-style-type:none;
17 margin: 0px 0px 0px 0px;
17 margin: 0px 0px 0px 0px;
18 padding: 0px 0px 0px 0px;
18 padding: 0px 0px 0px 0px;
19 white-space:nowrap;
19 white-space:nowrap;
20 }
20 }
21 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
21 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
22 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
22 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
23
23
24 #account {float:right;}
24 #account {float:right;}
25
25
26 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
26 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
27 #header a {color:#f8f8f8;}
27 #header a {color:#f8f8f8;}
28 #header h1 a.ancestor { font-size: 80%; }
28 #header h1 a.ancestor { font-size: 80%; }
29 #quick-search {float:right;}
29 #quick-search {float:right;}
30
30
31 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
31 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
32 #main-menu ul {margin: 0; padding: 0;}
32 #main-menu ul {margin: 0; padding: 0;}
33 #main-menu li {
33 #main-menu li {
34 float:left;
34 float:left;
35 list-style-type:none;
35 list-style-type:none;
36 margin: 0px 2px 0px 0px;
36 margin: 0px 2px 0px 0px;
37 padding: 0px 0px 0px 0px;
37 padding: 0px 0px 0px 0px;
38 white-space:nowrap;
38 white-space:nowrap;
39 }
39 }
40 #main-menu li a {
40 #main-menu li a {
41 display: block;
41 display: block;
42 color: #fff;
42 color: #fff;
43 text-decoration: none;
43 text-decoration: none;
44 font-weight: bold;
44 font-weight: bold;
45 margin: 0;
45 margin: 0;
46 padding: 4px 10px 4px 10px;
46 padding: 4px 10px 4px 10px;
47 }
47 }
48 #main-menu li a:hover {background:#759FCF; color:#fff;}
48 #main-menu li a:hover {background:#759FCF; color:#fff;}
49 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
49 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
50
50
51 #admin-menu ul {margin: 0; padding: 0;}
51 #admin-menu ul {margin: 0; padding: 0;}
52 #admin-menu li {margin: 0; padding: 0 0 12px 0; list-style-type:none;}
52 #admin-menu li {margin: 0; padding: 0 0 12px 0; list-style-type:none;}
53
53
54 #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
54 #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
55 #admin-menu a.projects { background-image: url(../images/projects.png); }
55 #admin-menu a.projects { background-image: url(../images/projects.png); }
56 #admin-menu a.users { background-image: url(../images/user.png); }
56 #admin-menu a.users { background-image: url(../images/user.png); }
57 #admin-menu a.groups { background-image: url(../images/group.png); }
57 #admin-menu a.groups { background-image: url(../images/group.png); }
58 #admin-menu a.roles { background-image: url(../images/database_key.png); }
58 #admin-menu a.roles { background-image: url(../images/database_key.png); }
59 #admin-menu a.trackers { background-image: url(../images/ticket.png); }
59 #admin-menu a.trackers { background-image: url(../images/ticket.png); }
60 #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); }
60 #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); }
61 #admin-menu a.workflows { background-image: url(../images/ticket_go.png); }
61 #admin-menu a.workflows { background-image: url(../images/ticket_go.png); }
62 #admin-menu a.custom_fields { background-image: url(../images/textfield.png); }
62 #admin-menu a.custom_fields { background-image: url(../images/textfield.png); }
63 #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); }
63 #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); }
64 #admin-menu a.settings { background-image: url(../images/changeset.png); }
64 #admin-menu a.settings { background-image: url(../images/changeset.png); }
65 #admin-menu a.plugins { background-image: url(../images/plugin.png); }
65 #admin-menu a.plugins { background-image: url(../images/plugin.png); }
66 #admin-menu a.info { background-image: url(../images/help.png); }
66 #admin-menu a.info { background-image: url(../images/help.png); }
67
67
68 #main {background-color:#EEEEEE;}
68 #main {background-color:#EEEEEE;}
69
69
70 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
70 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
71 * html #sidebar{ width: 17%; }
71 * html #sidebar{ width: 17%; }
72 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
72 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
73 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
73 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
74 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
74 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
75
75
76 #content { width: 80%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
76 #content { width: 80%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
77 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
77 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
78 html>body #content { min-height: 600px; overflow: auto; }
78 html>body #content { min-height: 600px; overflow: auto; }
79 * html body #content { height: 600px; } /* IE */
79 * html body #content { height: 600px; } /* IE */
80
80
81 #main.nosidebar #sidebar{ display: none; }
81 #main.nosidebar #sidebar{ display: none; }
82 #main.nosidebar #content{ width: auto; border-right: 0; }
82 #main.nosidebar #content{ width: auto; border-right: 0; }
83
83
84 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
84 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
85
85
86 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
86 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
87 #login-form table td {padding: 6px;}
87 #login-form table td {padding: 6px;}
88 #login-form label {font-weight: bold;}
88 #login-form label {font-weight: bold;}
89 #login-form input#username, #login-form input#password { width: 300px; }
89 #login-form input#username, #login-form input#password { width: 300px; }
90
90
91 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
91 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
92
92
93 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
93 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
94
94
95 /***** Links *****/
95 /***** Links *****/
96 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
96 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
97 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
97 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
98 a img{ border: 0; }
98 a img{ border: 0; }
99
99
100 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
100 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
101
101
102 /***** Tables *****/
102 /***** Tables *****/
103 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
103 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
104 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
104 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
105 table.list td { vertical-align: top; }
105 table.list td { vertical-align: top; }
106 table.list td.id { width: 2%; text-align: center;}
106 table.list td.id { width: 2%; text-align: center;}
107 table.list td.checkbox { width: 15px; padding: 0px;}
107 table.list td.checkbox { width: 15px; padding: 0px;}
108 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
108 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
109 table.list td.buttons a { padding-right: 0.6em; }
109 table.list td.buttons a { padding-right: 0.6em; }
110
110
111 tr.project td.name a { padding-left: 16px; white-space:nowrap; }
111 tr.project td.name a { padding-left: 16px; white-space:nowrap; }
112 tr.project.parent td.name a { background: url('../images/bullet_toggle_minus.png') no-repeat; }
112 tr.project.parent td.name a { background: url('../images/bullet_toggle_minus.png') no-repeat; }
113
113
114 tr.issue { text-align: center; white-space: nowrap; }
114 tr.issue { text-align: center; white-space: nowrap; }
115 tr.issue td.subject, tr.issue td.category, td.assigned_to { white-space: normal; }
115 tr.issue td.subject, tr.issue td.category, td.assigned_to { white-space: normal; }
116 tr.issue td.subject { text-align: left; }
116 tr.issue td.subject { text-align: left; }
117 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
117 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
118
118
119 tr.entry { border: 1px solid #f8f8f8; }
119 tr.entry { border: 1px solid #f8f8f8; }
120 tr.entry td { white-space: nowrap; }
120 tr.entry td { white-space: nowrap; }
121 tr.entry td.filename { width: 30%; }
121 tr.entry td.filename { width: 30%; }
122 tr.entry td.size { text-align: right; font-size: 90%; }
122 tr.entry td.size { text-align: right; font-size: 90%; }
123 tr.entry td.revision, tr.entry td.author { text-align: center; }
123 tr.entry td.revision, tr.entry td.author { text-align: center; }
124 tr.entry td.age { text-align: right; }
124 tr.entry td.age { text-align: right; }
125 tr.entry.file td.filename a { margin-left: 16px; }
125 tr.entry.file td.filename a { margin-left: 16px; }
126
126
127 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
127 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
128 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
128 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
129
129
130 tr.changeset td.author { text-align: center; width: 15%; }
130 tr.changeset td.author { text-align: center; width: 15%; }
131 tr.changeset td.committed_on { text-align: center; width: 15%; }
131 tr.changeset td.committed_on { text-align: center; width: 15%; }
132
132
133 table.files tr.file td { text-align: center; }
133 table.files tr.file td { text-align: center; }
134 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
134 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
135 table.files tr.file td.digest { font-size: 80%; }
135 table.files tr.file td.digest { font-size: 80%; }
136
136
137 table.members td.roles, table.memberships td.roles { width: 45%; }
137 table.members td.roles, table.memberships td.roles { width: 45%; }
138
138
139 tr.message { height: 2.6em; }
139 tr.message { height: 2.6em; }
140 tr.message td.last_message { font-size: 80%; }
140 tr.message td.last_message { font-size: 80%; }
141 tr.message.locked td.subject a { background-image: url(../images/locked.png); }
141 tr.message.locked td.subject a { background-image: url(../images/locked.png); }
142 tr.message.sticky td.subject a { background-image: url(../images/sticky.png); font-weight: bold; }
142 tr.message.sticky td.subject a { background-image: url(../images/sticky.png); font-weight: bold; }
143
143
144 tr.version.closed, tr.version.closed a { color: #999; }
144 tr.version.closed, tr.version.closed a { color: #999; }
145 tr.version td.name { padding-left: 20px; }
145 tr.version td.name { padding-left: 20px; }
146 tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
146 tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
147 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; }
147 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; }
148
148
149 tr.user td { width:13%; }
149 tr.user td { width:13%; }
150 tr.user td.email { width:18%; }
150 tr.user td.email { width:18%; }
151 tr.user td { white-space: nowrap; }
151 tr.user td { white-space: nowrap; }
152 tr.user.locked, tr.user.registered { color: #aaa; }
152 tr.user.locked, tr.user.registered { color: #aaa; }
153 tr.user.locked a, tr.user.registered a { color: #aaa; }
153 tr.user.locked a, tr.user.registered a { color: #aaa; }
154
154
155 tr.time-entry { text-align: center; white-space: nowrap; }
155 tr.time-entry { text-align: center; white-space: nowrap; }
156 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
156 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
157 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
157 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
158 td.hours .hours-dec { font-size: 0.9em; }
158 td.hours .hours-dec { font-size: 0.9em; }
159
159
160 table.plugins td { vertical-align: middle; }
160 table.plugins td { vertical-align: middle; }
161 table.plugins td.configure { text-align: right; padding-right: 1em; }
161 table.plugins td.configure { text-align: right; padding-right: 1em; }
162 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
162 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
163 table.plugins span.description { display: block; font-size: 0.9em; }
163 table.plugins span.description { display: block; font-size: 0.9em; }
164 table.plugins span.url { display: block; font-size: 0.9em; }
164 table.plugins span.url { display: block; font-size: 0.9em; }
165
165
166 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
166 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
167 table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
167 table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
168
168
169 table.list tbody tr:hover { background-color:#ffffdd; }
169 table.list tbody tr:hover { background-color:#ffffdd; }
170 table.list tbody tr.group:hover { background-color:inherit; }
170 table.list tbody tr.group:hover { background-color:inherit; }
171 table td {padding:2px;}
171 table td {padding:2px;}
172 table p {margin:0;}
172 table p {margin:0;}
173 .odd {background-color:#f6f7f8;}
173 .odd {background-color:#f6f7f8;}
174 .even {background-color: #fff;}
174 .even {background-color: #fff;}
175
175
176 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
176 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
177 a.sort.asc { background-image: url(../images/sort_asc.png); }
177 a.sort.asc { background-image: url(../images/sort_asc.png); }
178 a.sort.desc { background-image: url(../images/sort_desc.png); }
178 a.sort.desc { background-image: url(../images/sort_desc.png); }
179
179
180 table.attributes { width: 100% }
180 table.attributes { width: 100% }
181 table.attributes th { vertical-align: top; text-align: left; }
181 table.attributes th { vertical-align: top; text-align: left; }
182 table.attributes td { vertical-align: top; }
182 table.attributes td { vertical-align: top; }
183
183
184 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
184 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
185
185
186 td.center {text-align:center;}
186 td.center {text-align:center;}
187
187
188 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
188 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
189
189
190 div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
190 div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
191 div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
191 div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
192 div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
192 div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
193 div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
193 div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
194
194
195 .highlight { background-color: #FCFD8D;}
195 .highlight { background-color: #FCFD8D;}
196 .highlight.token-1 { background-color: #faa;}
196 .highlight.token-1 { background-color: #faa;}
197 .highlight.token-2 { background-color: #afa;}
197 .highlight.token-2 { background-color: #afa;}
198 .highlight.token-3 { background-color: #aaf;}
198 .highlight.token-3 { background-color: #aaf;}
199
199
200 .box{
200 .box{
201 padding:6px;
201 padding:6px;
202 margin-bottom: 10px;
202 margin-bottom: 10px;
203 background-color:#f6f6f6;
203 background-color:#f6f6f6;
204 color:#505050;
204 color:#505050;
205 line-height:1.5em;
205 line-height:1.5em;
206 border: 1px solid #e4e4e4;
206 border: 1px solid #e4e4e4;
207 }
207 }
208
208
209 div.square {
209 div.square {
210 border: 1px solid #999;
210 border: 1px solid #999;
211 float: left;
211 float: left;
212 margin: .3em .4em 0 .4em;
212 margin: .3em .4em 0 .4em;
213 overflow: hidden;
213 overflow: hidden;
214 width: .6em; height: .6em;
214 width: .6em; height: .6em;
215 }
215 }
216 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
216 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
217 .contextual input, .contextual select {font-size:0.9em;}
217 .contextual input, .contextual select {font-size:0.9em;}
218 .message .contextual { margin-top: 0; }
218 .message .contextual { margin-top: 0; }
219
219
220 .splitcontentleft{float:left; width:49%;}
220 .splitcontentleft{float:left; width:49%;}
221 .splitcontentright{float:right; width:49%;}
221 .splitcontentright{float:right; width:49%;}
222 form {display: inline;}
222 form {display: inline;}
223 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
223 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
224 fieldset {border: 1px solid #e4e4e4; margin:0;}
224 fieldset {border: 1px solid #e4e4e4; margin:0;}
225 legend {color: #484848;}
225 legend {color: #484848;}
226 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
226 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
227 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
227 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
228 blockquote blockquote { margin-left: 0;}
228 blockquote blockquote { margin-left: 0;}
229 acronym { border-bottom: 1px dotted; cursor: help; }
229 acronym { border-bottom: 1px dotted; cursor: help; }
230 textarea.wiki-edit { width: 99%; }
230 textarea.wiki-edit { width: 99%; }
231 li p {margin-top: 0;}
231 li p {margin-top: 0;}
232 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
232 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
233 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
233 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
234 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
234 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
235 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
235 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
236
236
237 fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
237 fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
238 fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
238 fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
239 fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); }
239 fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); }
240
240
241 fieldset#date-range p { margin: 2px 0 2px 0; }
241 fieldset#date-range p { margin: 2px 0 2px 0; }
242 fieldset#filters table { border-collapse: collapse; }
242 fieldset#filters table { border-collapse: collapse; }
243 fieldset#filters table td { padding: 0; vertical-align: middle; }
243 fieldset#filters table td { padding: 0; vertical-align: middle; }
244 fieldset#filters tr.filter { height: 2em; }
244 fieldset#filters tr.filter { height: 2em; }
245 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
245 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
246 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
246 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
247
247
248 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
248 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
249 div#issue-changesets .changeset { padding: 4px;}
249 div#issue-changesets .changeset { padding: 4px;}
250 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
250 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
251 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
251 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
252
252
253 div#activity dl, #search-results { margin-left: 2em; }
253 div#activity dl, #search-results { margin-left: 2em; }
254 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
254 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
255 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
255 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
256 div#activity dt.me .time { border-bottom: 1px solid #999; }
256 div#activity dt.me .time { border-bottom: 1px solid #999; }
257 div#activity dt .time { color: #777; font-size: 80%; }
257 div#activity dt .time { color: #777; font-size: 80%; }
258 div#activity dd .description, #search-results dd .description { font-style: italic; }
258 div#activity dd .description, #search-results dd .description { font-style: italic; }
259 div#activity span.project:after, #search-results span.project:after { content: " -"; }
259 div#activity span.project:after, #search-results span.project:after { content: " -"; }
260 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
260 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
261
261
262 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
262 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
263
263
264 div#search-results-counts {float:right;}
264 div#search-results-counts {float:right;}
265 div#search-results-counts ul { margin-top: 0.5em; }
265 div#search-results-counts ul { margin-top: 0.5em; }
266 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
266 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
267
267
268 dt.issue { background-image: url(../images/ticket.png); }
268 dt.issue { background-image: url(../images/ticket.png); }
269 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
269 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
270 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
270 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
271 dt.issue-note { background-image: url(../images/ticket_note.png); }
271 dt.issue-note { background-image: url(../images/ticket_note.png); }
272 dt.changeset { background-image: url(../images/changeset.png); }
272 dt.changeset { background-image: url(../images/changeset.png); }
273 dt.news { background-image: url(../images/news.png); }
273 dt.news { background-image: url(../images/news.png); }
274 dt.message { background-image: url(../images/message.png); }
274 dt.message { background-image: url(../images/message.png); }
275 dt.reply { background-image: url(../images/comments.png); }
275 dt.reply { background-image: url(../images/comments.png); }
276 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
276 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
277 dt.attachment { background-image: url(../images/attachment.png); }
277 dt.attachment { background-image: url(../images/attachment.png); }
278 dt.document { background-image: url(../images/document.png); }
278 dt.document { background-image: url(../images/document.png); }
279 dt.project { background-image: url(../images/projects.png); }
279 dt.project { background-image: url(../images/projects.png); }
280 dt.time-entry { background-image: url(../images/time.png); }
280 dt.time-entry { background-image: url(../images/time.png); }
281
281
282 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
282 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
283
283
284 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
284 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
285 div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }
285 div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }
286 div#roadmap .wiki h1:first-child { display: none; }
286 div#roadmap .wiki h1:first-child { display: none; }
287 div#roadmap .wiki h1 { font-size: 120%; }
287 div#roadmap .wiki h1 { font-size: 120%; }
288 div#roadmap .wiki h2 { font-size: 110%; }
288 div#roadmap .wiki h2 { font-size: 110%; }
289
289
290 div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
290 div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
291 div#version-summary fieldset { margin-bottom: 1em; }
291 div#version-summary fieldset { margin-bottom: 1em; }
292 div#version-summary .total-hours { text-align: right; }
292 div#version-summary .total-hours { text-align: right; }
293
293
294 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
294 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
295 table#time-report tbody tr { font-style: italic; color: #777; }
295 table#time-report tbody tr { font-style: italic; color: #777; }
296 table#time-report tbody tr.last-level { font-style: normal; color: #555; }
296 table#time-report tbody tr.last-level { font-style: normal; color: #555; }
297 table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
297 table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
298 table#time-report .hours-dec { font-size: 0.9em; }
298 table#time-report .hours-dec { font-size: 0.9em; }
299
299
300 form#issue-form .attributes { margin-bottom: 8px; }
300 form#issue-form .attributes { margin-bottom: 8px; }
301 form#issue-form .attributes p { padding-top: 1px; padding-bottom: 2px; }
301 form#issue-form .attributes p { padding-top: 1px; padding-bottom: 2px; }
302 form#issue-form .attributes select { min-width: 30%; }
302 form#issue-form .attributes select { min-width: 30%; }
303
303
304 ul.projects { margin: 0; padding-left: 1em; }
304 ul.projects { margin: 0; padding-left: 1em; }
305 ul.projects.root { margin: 0; padding: 0; }
305 ul.projects.root { margin: 0; padding: 0; }
306 ul.projects ul { border-left: 3px solid #e0e0e0; }
306 ul.projects ul { border-left: 3px solid #e0e0e0; }
307 ul.projects li { list-style-type:none; }
307 ul.projects li { list-style-type:none; }
308 ul.projects li.root { margin-bottom: 1em; }
308 ul.projects li.root { margin-bottom: 1em; }
309 ul.projects li.child { margin-top: 1em;}
309 ul.projects li.child { margin-top: 1em;}
310 ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
310 ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
311 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
311 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
312
312
313 #tracker_project_ids ul { margin: 0; padding-left: 1em; }
313 #tracker_project_ids ul { margin: 0; padding-left: 1em; }
314 #tracker_project_ids li { list-style-type:none; }
314 #tracker_project_ids li { list-style-type:none; }
315
315
316 ul.properties {padding:0; font-size: 0.9em; color: #777;}
316 ul.properties {padding:0; font-size: 0.9em; color: #777;}
317 ul.properties li {list-style-type:none;}
317 ul.properties li {list-style-type:none;}
318 ul.properties li span {font-style:italic;}
318 ul.properties li span {font-style:italic;}
319
319
320 .total-hours { font-size: 110%; font-weight: bold; }
320 .total-hours { font-size: 110%; font-weight: bold; }
321 .total-hours span.hours-int { font-size: 120%; }
321 .total-hours span.hours-int { font-size: 120%; }
322
322
323 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
323 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
324 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
324 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
325
325
326 #workflow_copy_form select { width: 200px; }
326 #workflow_copy_form select { width: 200px; }
327
327
328 .pagination {font-size: 90%}
328 .pagination {font-size: 90%}
329 p.pagination {margin-top:8px;}
329 p.pagination {margin-top:8px;}
330
330
331 /***** Tabular forms ******/
331 /***** Tabular forms ******/
332 .tabular p{
332 .tabular p{
333 margin: 0;
333 margin: 0;
334 padding: 5px 0 8px 0;
334 padding: 5px 0 8px 0;
335 padding-left: 180px; /*width of left column containing the label elements*/
335 padding-left: 180px; /*width of left column containing the label elements*/
336 height: 1%;
336 height: 1%;
337 clear:left;
337 clear:left;
338 }
338 }
339
339
340 html>body .tabular p {overflow:hidden;}
340 html>body .tabular p {overflow:hidden;}
341
341
342 .tabular label{
342 .tabular label{
343 font-weight: bold;
343 font-weight: bold;
344 float: left;
344 float: left;
345 text-align: right;
345 text-align: right;
346 margin-left: -180px; /*width of left column*/
346 margin-left: -180px; /*width of left column*/
347 width: 175px; /*width of labels. Should be smaller than left column to create some right
347 width: 175px; /*width of labels. Should be smaller than left column to create some right
348 margin*/
348 margin*/
349 }
349 }
350
350
351 .tabular label.floating{
351 .tabular label.floating{
352 font-weight: normal;
352 font-weight: normal;
353 margin-left: 0px;
353 margin-left: 0px;
354 text-align: left;
354 text-align: left;
355 width: 270px;
355 width: 270px;
356 }
356 }
357
357
358 .tabular label.block{
358 .tabular label.block{
359 font-weight: normal;
359 font-weight: normal;
360 margin-left: 0px !important;
360 margin-left: 0px !important;
361 text-align: left;
361 text-align: left;
362 float: none;
362 float: none;
363 display: block;
363 display: block;
364 width: auto;
364 width: auto;
365 }
365 }
366
366
367 input#time_entry_comments { width: 90%;}
367 input#time_entry_comments { width: 90%;}
368
368
369 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
369 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
370
370
371 .tabular.settings p{ padding-left: 300px; }
371 .tabular.settings p{ padding-left: 300px; }
372 .tabular.settings label{ margin-left: -300px; width: 295px; }
372 .tabular.settings label{ margin-left: -300px; width: 295px; }
373
373
374 fieldset.settings label { display: block; }
375
374 .required {color: #bb0000;}
376 .required {color: #bb0000;}
375 .summary {font-style: italic;}
377 .summary {font-style: italic;}
376
378
377 #attachments_fields input[type=text] {margin-left: 8px; }
379 #attachments_fields input[type=text] {margin-left: 8px; }
378
380
379 div.attachments { margin-top: 12px; }
381 div.attachments { margin-top: 12px; }
380 div.attachments p { margin:4px 0 2px 0; }
382 div.attachments p { margin:4px 0 2px 0; }
381 div.attachments img { vertical-align: middle; }
383 div.attachments img { vertical-align: middle; }
382 div.attachments span.author { font-size: 0.9em; color: #888; }
384 div.attachments span.author { font-size: 0.9em; color: #888; }
383
385
384 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
386 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
385 .other-formats span + span:before { content: "| "; }
387 .other-formats span + span:before { content: "| "; }
386
388
387 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
389 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
388
390
389 /* Project members tab */
391 /* Project members tab */
390 div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
392 div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
391 div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
393 div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
392 div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; }
394 div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; }
393 div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; }
395 div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; }
394 div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; }
396 div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; }
395 div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; }
397 div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; }
396
398
397 table.members td.group { padding-left: 20px; background: url(../images/group.png) no-repeat 0% 50%; }
399 table.members td.group { padding-left: 20px; background: url(../images/group.png) no-repeat 0% 50%; }
398
400
399 * html div#tab-content-members fieldset div { height: 450px; }
401 * html div#tab-content-members fieldset div { height: 450px; }
400
402
401 /***** Flash & error messages ****/
403 /***** Flash & error messages ****/
402 #errorExplanation, div.flash, .nodata, .warning {
404 #errorExplanation, div.flash, .nodata, .warning {
403 padding: 4px 4px 4px 30px;
405 padding: 4px 4px 4px 30px;
404 margin-bottom: 12px;
406 margin-bottom: 12px;
405 font-size: 1.1em;
407 font-size: 1.1em;
406 border: 2px solid;
408 border: 2px solid;
407 }
409 }
408
410
409 div.flash {margin-top: 8px;}
411 div.flash {margin-top: 8px;}
410
412
411 div.flash.error, #errorExplanation {
413 div.flash.error, #errorExplanation {
412 background: url(../images/false.png) 8px 5px no-repeat;
414 background: url(../images/false.png) 8px 5px no-repeat;
413 background-color: #ffe3e3;
415 background-color: #ffe3e3;
414 border-color: #dd0000;
416 border-color: #dd0000;
415 color: #550000;
417 color: #550000;
416 }
418 }
417
419
418 div.flash.notice {
420 div.flash.notice {
419 background: url(../images/true.png) 8px 5px no-repeat;
421 background: url(../images/true.png) 8px 5px no-repeat;
420 background-color: #dfffdf;
422 background-color: #dfffdf;
421 border-color: #9fcf9f;
423 border-color: #9fcf9f;
422 color: #005f00;
424 color: #005f00;
423 }
425 }
424
426
425 div.flash.warning {
427 div.flash.warning {
426 background: url(../images/warning.png) 8px 5px no-repeat;
428 background: url(../images/warning.png) 8px 5px no-repeat;
427 background-color: #FFEBC1;
429 background-color: #FFEBC1;
428 border-color: #FDBF3B;
430 border-color: #FDBF3B;
429 color: #A6750C;
431 color: #A6750C;
430 text-align: left;
432 text-align: left;
431 }
433 }
432
434
433 .nodata, .warning {
435 .nodata, .warning {
434 text-align: center;
436 text-align: center;
435 background-color: #FFEBC1;
437 background-color: #FFEBC1;
436 border-color: #FDBF3B;
438 border-color: #FDBF3B;
437 color: #A6750C;
439 color: #A6750C;
438 }
440 }
439
441
440 #errorExplanation ul { font-size: 0.9em;}
442 #errorExplanation ul { font-size: 0.9em;}
441 #errorExplanation h2, #errorExplanation p { display: none; }
443 #errorExplanation h2, #errorExplanation p { display: none; }
442
444
443 /***** Ajax indicator ******/
445 /***** Ajax indicator ******/
444 #ajax-indicator {
446 #ajax-indicator {
445 position: absolute; /* fixed not supported by IE */
447 position: absolute; /* fixed not supported by IE */
446 background-color:#eee;
448 background-color:#eee;
447 border: 1px solid #bbb;
449 border: 1px solid #bbb;
448 top:35%;
450 top:35%;
449 left:40%;
451 left:40%;
450 width:20%;
452 width:20%;
451 font-weight:bold;
453 font-weight:bold;
452 text-align:center;
454 text-align:center;
453 padding:0.6em;
455 padding:0.6em;
454 z-index:100;
456 z-index:100;
455 filter:alpha(opacity=50);
457 filter:alpha(opacity=50);
456 opacity: 0.5;
458 opacity: 0.5;
457 }
459 }
458
460
459 html>body #ajax-indicator { position: fixed; }
461 html>body #ajax-indicator { position: fixed; }
460
462
461 #ajax-indicator span {
463 #ajax-indicator span {
462 background-position: 0% 40%;
464 background-position: 0% 40%;
463 background-repeat: no-repeat;
465 background-repeat: no-repeat;
464 background-image: url(../images/loading.gif);
466 background-image: url(../images/loading.gif);
465 padding-left: 26px;
467 padding-left: 26px;
466 vertical-align: bottom;
468 vertical-align: bottom;
467 }
469 }
468
470
469 /***** Calendar *****/
471 /***** Calendar *****/
470 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
472 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
471 table.cal thead th {width: 14%;}
473 table.cal thead th {width: 14%;}
472 table.cal tbody tr {height: 100px;}
474 table.cal tbody tr {height: 100px;}
473 table.cal th { background-color:#EEEEEE; padding: 4px; }
475 table.cal th { background-color:#EEEEEE; padding: 4px; }
474 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
476 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
475 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
477 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
476 table.cal td.odd p.day-num {color: #bbb;}
478 table.cal td.odd p.day-num {color: #bbb;}
477 table.cal td.today {background:#ffffdd;}
479 table.cal td.today {background:#ffffdd;}
478 table.cal td.today p.day-num {font-weight: bold;}
480 table.cal td.today p.day-num {font-weight: bold;}
479
481
480 /***** Tooltips ******/
482 /***** Tooltips ******/
481 .tooltip{position:relative;z-index:24;}
483 .tooltip{position:relative;z-index:24;}
482 .tooltip:hover{z-index:25;color:#000;}
484 .tooltip:hover{z-index:25;color:#000;}
483 .tooltip span.tip{display: none; text-align:left;}
485 .tooltip span.tip{display: none; text-align:left;}
484
486
485 div.tooltip:hover span.tip{
487 div.tooltip:hover span.tip{
486 display:block;
488 display:block;
487 position:absolute;
489 position:absolute;
488 top:12px; left:24px; width:270px;
490 top:12px; left:24px; width:270px;
489 border:1px solid #555;
491 border:1px solid #555;
490 background-color:#fff;
492 background-color:#fff;
491 padding: 4px;
493 padding: 4px;
492 font-size: 0.8em;
494 font-size: 0.8em;
493 color:#505050;
495 color:#505050;
494 }
496 }
495
497
496 /***** Progress bar *****/
498 /***** Progress bar *****/
497 table.progress {
499 table.progress {
498 border: 1px solid #D7D7D7;
500 border: 1px solid #D7D7D7;
499 border-collapse: collapse;
501 border-collapse: collapse;
500 border-spacing: 0pt;
502 border-spacing: 0pt;
501 empty-cells: show;
503 empty-cells: show;
502 text-align: center;
504 text-align: center;
503 float:left;
505 float:left;
504 margin: 1px 6px 1px 0px;
506 margin: 1px 6px 1px 0px;
505 }
507 }
506
508
507 table.progress td { height: 0.9em; }
509 table.progress td { height: 0.9em; }
508 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
510 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
509 table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
511 table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
510 table.progress td.open { background: #FFF none repeat scroll 0%; }
512 table.progress td.open { background: #FFF none repeat scroll 0%; }
511 p.pourcent {font-size: 80%;}
513 p.pourcent {font-size: 80%;}
512 p.progress-info {clear: left; font-style: italic; font-size: 80%;}
514 p.progress-info {clear: left; font-style: italic; font-size: 80%;}
513
515
514 /***** Tabs *****/
516 /***** Tabs *****/
515 #content .tabs {height: 2.6em; border-bottom: 1px solid #bbbbbb; margin-bottom:1.2em; position:relative; overflow:hidden;}
517 #content .tabs {height: 2.6em; border-bottom: 1px solid #bbbbbb; margin-bottom:1.2em; position:relative; overflow:hidden;}
516 #content .tabs ul {margin:0; position:absolute; bottom:-2px; padding-left:1em; width: 2000px;}
518 #content .tabs ul {margin:0; position:absolute; bottom:-2px; padding-left:1em; width: 2000px;}
517 #content .tabs>ul { bottom:-1px; } /* others */
519 #content .tabs>ul { bottom:-1px; } /* others */
518 #content .tabs ul li {
520 #content .tabs ul li {
519 float:left;
521 float:left;
520 list-style-type:none;
522 list-style-type:none;
521 white-space:nowrap;
523 white-space:nowrap;
522 margin-right:8px;
524 margin-right:8px;
523 background:#fff;
525 background:#fff;
524 }
526 }
525 #content .tabs ul li a{
527 #content .tabs ul li a{
526 display:block;
528 display:block;
527 font-size: 0.9em;
529 font-size: 0.9em;
528 text-decoration:none;
530 text-decoration:none;
529 line-height:1.3em;
531 line-height:1.3em;
530 padding:4px 6px 4px 6px;
532 padding:4px 6px 4px 6px;
531 border: 1px solid #ccc;
533 border: 1px solid #ccc;
532 border-bottom: 1px solid #bbbbbb;
534 border-bottom: 1px solid #bbbbbb;
533 background-color: #eeeeee;
535 background-color: #eeeeee;
534 color:#777;
536 color:#777;
535 font-weight:bold;
537 font-weight:bold;
536 }
538 }
537
539
538 #content .tabs ul li a:hover {
540 #content .tabs ul li a:hover {
539 background-color: #ffffdd;
541 background-color: #ffffdd;
540 text-decoration:none;
542 text-decoration:none;
541 }
543 }
542
544
543 #content .tabs ul li a.selected {
545 #content .tabs ul li a.selected {
544 background-color: #fff;
546 background-color: #fff;
545 border: 1px solid #bbbbbb;
547 border: 1px solid #bbbbbb;
546 border-bottom: 1px solid #fff;
548 border-bottom: 1px solid #fff;
547 }
549 }
548
550
549 #content .tabs ul li a.selected:hover {
551 #content .tabs ul li a.selected:hover {
550 background-color: #fff;
552 background-color: #fff;
551 }
553 }
552
554
553 div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: -1px; }
555 div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: -1px; }
554
556
555 button.tab-left, button.tab-right {
557 button.tab-left, button.tab-right {
556 font-size: 0.9em;
558 font-size: 0.9em;
557 cursor: pointer;
559 cursor: pointer;
558 height:24px;
560 height:24px;
559 border: 1px solid #ccc;
561 border: 1px solid #ccc;
560 border-bottom: 1px solid #bbbbbb;
562 border-bottom: 1px solid #bbbbbb;
561 position:absolute;
563 position:absolute;
562 padding:4px;
564 padding:4px;
563 width: 20px;
565 width: 20px;
564 }
566 }
565
567
566 button.tab-left {
568 button.tab-left {
567 right: 20px;
569 right: 20px;
568 bottom: 0;
570 bottom: 0;
569 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
571 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
570 }
572 }
571
573
572 button.tab-right {
574 button.tab-right {
573 right: 0;
575 right: 0;
574 bottom: 0;
576 bottom: 0;
575 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;}
577 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;}
576 }
578 }
577
579
578 /***** Auto-complete *****/
580 /***** Auto-complete *****/
579 div.autocomplete {
581 div.autocomplete {
580 position:absolute;
582 position:absolute;
581 width:250px;
583 width:250px;
582 background-color:white;
584 background-color:white;
583 margin:0;
585 margin:0;
584 padding:0;
586 padding:0;
585 }
587 }
586 div.autocomplete ul {
588 div.autocomplete ul {
587 list-style-type:none;
589 list-style-type:none;
588 margin:0;
590 margin:0;
589 padding:0;
591 padding:0;
590 }
592 }
591 div.autocomplete ul li.selected { background-color: #ffb;}
593 div.autocomplete ul li.selected { background-color: #ffb;}
592 div.autocomplete ul li {
594 div.autocomplete ul li {
593 list-style-type:none;
595 list-style-type:none;
594 display:block;
596 display:block;
595 margin:0;
597 margin:0;
596 padding:2px;
598 padding:2px;
597 cursor:pointer;
599 cursor:pointer;
598 font-size: 90%;
600 font-size: 90%;
599 border-bottom: 1px solid #ccc;
601 border-bottom: 1px solid #ccc;
600 border-left: 1px solid #ccc;
602 border-left: 1px solid #ccc;
601 border-right: 1px solid #ccc;
603 border-right: 1px solid #ccc;
602 }
604 }
603 div.autocomplete ul li span.informal {
605 div.autocomplete ul li span.informal {
604 font-size: 80%;
606 font-size: 80%;
605 color: #aaa;
607 color: #aaa;
606 }
608 }
607
609
608 /***** Diff *****/
610 /***** Diff *****/
609 .diff_out { background: #fcc; }
611 .diff_out { background: #fcc; }
610 .diff_in { background: #cfc; }
612 .diff_in { background: #cfc; }
611
613
612 /***** Wiki *****/
614 /***** Wiki *****/
613 div.wiki table {
615 div.wiki table {
614 border: 1px solid #505050;
616 border: 1px solid #505050;
615 border-collapse: collapse;
617 border-collapse: collapse;
616 margin-bottom: 1em;
618 margin-bottom: 1em;
617 }
619 }
618
620
619 div.wiki table, div.wiki td, div.wiki th {
621 div.wiki table, div.wiki td, div.wiki th {
620 border: 1px solid #bbb;
622 border: 1px solid #bbb;
621 padding: 4px;
623 padding: 4px;
622 }
624 }
623
625
624 div.wiki .external {
626 div.wiki .external {
625 background-position: 0% 60%;
627 background-position: 0% 60%;
626 background-repeat: no-repeat;
628 background-repeat: no-repeat;
627 padding-left: 12px;
629 padding-left: 12px;
628 background-image: url(../images/external.png);
630 background-image: url(../images/external.png);
629 }
631 }
630
632
631 div.wiki a.new {
633 div.wiki a.new {
632 color: #b73535;
634 color: #b73535;
633 }
635 }
634
636
635 div.wiki pre {
637 div.wiki pre {
636 margin: 1em 1em 1em 1.6em;
638 margin: 1em 1em 1em 1.6em;
637 padding: 2px;
639 padding: 2px;
638 background-color: #fafafa;
640 background-color: #fafafa;
639 border: 1px solid #dadada;
641 border: 1px solid #dadada;
640 width:95%;
642 width:95%;
641 overflow-x: auto;
643 overflow-x: auto;
642 }
644 }
643
645
644 div.wiki ul.toc {
646 div.wiki ul.toc {
645 background-color: #ffffdd;
647 background-color: #ffffdd;
646 border: 1px solid #e4e4e4;
648 border: 1px solid #e4e4e4;
647 padding: 4px;
649 padding: 4px;
648 line-height: 1.2em;
650 line-height: 1.2em;
649 margin-bottom: 12px;
651 margin-bottom: 12px;
650 margin-right: 12px;
652 margin-right: 12px;
651 margin-left: 0;
653 margin-left: 0;
652 display: table
654 display: table
653 }
655 }
654 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
656 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
655
657
656 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
658 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
657 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
659 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
658 div.wiki ul.toc li { list-style-type:none;}
660 div.wiki ul.toc li { list-style-type:none;}
659 div.wiki ul.toc li.heading2 { margin-left: 6px; }
661 div.wiki ul.toc li.heading2 { margin-left: 6px; }
660 div.wiki ul.toc li.heading3 { margin-left: 12px; font-size: 0.8em; }
662 div.wiki ul.toc li.heading3 { margin-left: 12px; font-size: 0.8em; }
661
663
662 div.wiki ul.toc a {
664 div.wiki ul.toc a {
663 font-size: 0.9em;
665 font-size: 0.9em;
664 font-weight: normal;
666 font-weight: normal;
665 text-decoration: none;
667 text-decoration: none;
666 color: #606060;
668 color: #606060;
667 }
669 }
668 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
670 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
669
671
670 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
672 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
671 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
673 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
672 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
674 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
673
675
674 /***** My page layout *****/
676 /***** My page layout *****/
675 .block-receiver {
677 .block-receiver {
676 border:1px dashed #c0c0c0;
678 border:1px dashed #c0c0c0;
677 margin-bottom: 20px;
679 margin-bottom: 20px;
678 padding: 15px 0 15px 0;
680 padding: 15px 0 15px 0;
679 }
681 }
680
682
681 .mypage-box {
683 .mypage-box {
682 margin:0 0 20px 0;
684 margin:0 0 20px 0;
683 color:#505050;
685 color:#505050;
684 line-height:1.5em;
686 line-height:1.5em;
685 }
687 }
686
688
687 .handle {
689 .handle {
688 cursor: move;
690 cursor: move;
689 }
691 }
690
692
691 a.close-icon {
693 a.close-icon {
692 display:block;
694 display:block;
693 margin-top:3px;
695 margin-top:3px;
694 overflow:hidden;
696 overflow:hidden;
695 width:12px;
697 width:12px;
696 height:12px;
698 height:12px;
697 background-repeat: no-repeat;
699 background-repeat: no-repeat;
698 cursor:pointer;
700 cursor:pointer;
699 background-image:url('../images/close.png');
701 background-image:url('../images/close.png');
700 }
702 }
701
703
702 a.close-icon:hover {
704 a.close-icon:hover {
703 background-image:url('../images/close_hl.png');
705 background-image:url('../images/close_hl.png');
704 }
706 }
705
707
706 /***** Gantt chart *****/
708 /***** Gantt chart *****/
707 .gantt_hdr {
709 .gantt_hdr {
708 position:absolute;
710 position:absolute;
709 top:0;
711 top:0;
710 height:16px;
712 height:16px;
711 border-top: 1px solid #c0c0c0;
713 border-top: 1px solid #c0c0c0;
712 border-bottom: 1px solid #c0c0c0;
714 border-bottom: 1px solid #c0c0c0;
713 border-right: 1px solid #c0c0c0;
715 border-right: 1px solid #c0c0c0;
714 text-align: center;
716 text-align: center;
715 overflow: hidden;
717 overflow: hidden;
716 }
718 }
717
719
718 .task {
720 .task {
719 position: absolute;
721 position: absolute;
720 height:8px;
722 height:8px;
721 font-size:0.8em;
723 font-size:0.8em;
722 color:#888;
724 color:#888;
723 padding:0;
725 padding:0;
724 margin:0;
726 margin:0;
725 line-height:0.8em;
727 line-height:0.8em;
726 }
728 }
727
729
728 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
730 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
729 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
731 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
730 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
732 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
731 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
733 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
732
734
733 /***** Icons *****/
735 /***** Icons *****/
734 .icon {
736 .icon {
735 background-position: 0% 50%;
737 background-position: 0% 50%;
736 background-repeat: no-repeat;
738 background-repeat: no-repeat;
737 padding-left: 20px;
739 padding-left: 20px;
738 padding-top: 2px;
740 padding-top: 2px;
739 padding-bottom: 3px;
741 padding-bottom: 3px;
740 }
742 }
741
743
742 .icon-add { background-image: url(../images/add.png); }
744 .icon-add { background-image: url(../images/add.png); }
743 .icon-edit { background-image: url(../images/edit.png); }
745 .icon-edit { background-image: url(../images/edit.png); }
744 .icon-copy { background-image: url(../images/copy.png); }
746 .icon-copy { background-image: url(../images/copy.png); }
745 .icon-duplicate { background-image: url(../images/duplicate.png); }
747 .icon-duplicate { background-image: url(../images/duplicate.png); }
746 .icon-del { background-image: url(../images/delete.png); }
748 .icon-del { background-image: url(../images/delete.png); }
747 .icon-move { background-image: url(../images/move.png); }
749 .icon-move { background-image: url(../images/move.png); }
748 .icon-save { background-image: url(../images/save.png); }
750 .icon-save { background-image: url(../images/save.png); }
749 .icon-cancel { background-image: url(../images/cancel.png); }
751 .icon-cancel { background-image: url(../images/cancel.png); }
750 .icon-multiple { background-image: url(../images/table_multiple.png); }
752 .icon-multiple { background-image: url(../images/table_multiple.png); }
751 .icon-folder { background-image: url(../images/folder.png); }
753 .icon-folder { background-image: url(../images/folder.png); }
752 .open .icon-folder { background-image: url(../images/folder_open.png); }
754 .open .icon-folder { background-image: url(../images/folder_open.png); }
753 .icon-package { background-image: url(../images/package.png); }
755 .icon-package { background-image: url(../images/package.png); }
754 .icon-home { background-image: url(../images/home.png); }
756 .icon-home { background-image: url(../images/home.png); }
755 .icon-user { background-image: url(../images/user.png); }
757 .icon-user { background-image: url(../images/user.png); }
756 .icon-mypage { background-image: url(../images/user_page.png); }
758 .icon-mypage { background-image: url(../images/user_page.png); }
757 .icon-admin { background-image: url(../images/admin.png); }
759 .icon-admin { background-image: url(../images/admin.png); }
758 .icon-projects { background-image: url(../images/projects.png); }
760 .icon-projects { background-image: url(../images/projects.png); }
759 .icon-help { background-image: url(../images/help.png); }
761 .icon-help { background-image: url(../images/help.png); }
760 .icon-attachment { background-image: url(../images/attachment.png); }
762 .icon-attachment { background-image: url(../images/attachment.png); }
761 .icon-history { background-image: url(../images/history.png); }
763 .icon-history { background-image: url(../images/history.png); }
762 .icon-time { background-image: url(../images/time.png); }
764 .icon-time { background-image: url(../images/time.png); }
763 .icon-time-add { background-image: url(../images/time_add.png); }
765 .icon-time-add { background-image: url(../images/time_add.png); }
764 .icon-stats { background-image: url(../images/stats.png); }
766 .icon-stats { background-image: url(../images/stats.png); }
765 .icon-warning { background-image: url(../images/warning.png); }
767 .icon-warning { background-image: url(../images/warning.png); }
766 .icon-fav { background-image: url(../images/fav.png); }
768 .icon-fav { background-image: url(../images/fav.png); }
767 .icon-fav-off { background-image: url(../images/fav_off.png); }
769 .icon-fav-off { background-image: url(../images/fav_off.png); }
768 .icon-reload { background-image: url(../images/reload.png); }
770 .icon-reload { background-image: url(../images/reload.png); }
769 .icon-lock { background-image: url(../images/locked.png); }
771 .icon-lock { background-image: url(../images/locked.png); }
770 .icon-unlock { background-image: url(../images/unlock.png); }
772 .icon-unlock { background-image: url(../images/unlock.png); }
771 .icon-checked { background-image: url(../images/true.png); }
773 .icon-checked { background-image: url(../images/true.png); }
772 .icon-details { background-image: url(../images/zoom_in.png); }
774 .icon-details { background-image: url(../images/zoom_in.png); }
773 .icon-report { background-image: url(../images/report.png); }
775 .icon-report { background-image: url(../images/report.png); }
774 .icon-comment { background-image: url(../images/comment.png); }
776 .icon-comment { background-image: url(../images/comment.png); }
775 .icon-summary { background-image: url(../images/lightning.png); }
777 .icon-summary { background-image: url(../images/lightning.png); }
776
778
777 .icon-file { background-image: url(../images/files/default.png); }
779 .icon-file { background-image: url(../images/files/default.png); }
778 .icon-file.text-plain { background-image: url(../images/files/text.png); }
780 .icon-file.text-plain { background-image: url(../images/files/text.png); }
779 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
781 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
780 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
782 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
781 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
783 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
782 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
784 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
783 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
785 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
784 .icon-file.image-gif { background-image: url(../images/files/image.png); }
786 .icon-file.image-gif { background-image: url(../images/files/image.png); }
785 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
787 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
786 .icon-file.image-png { background-image: url(../images/files/image.png); }
788 .icon-file.image-png { background-image: url(../images/files/image.png); }
787 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
789 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
788 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
790 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
789 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
791 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
790 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
792 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
791
793
792 img.gravatar {
794 img.gravatar {
793 padding: 2px;
795 padding: 2px;
794 border: solid 1px #d5d5d5;
796 border: solid 1px #d5d5d5;
795 background: #fff;
797 background: #fff;
796 }
798 }
797
799
798 div.issue img.gravatar {
800 div.issue img.gravatar {
799 float: right;
801 float: right;
800 margin: 0 0 0 1em;
802 margin: 0 0 0 1em;
801 padding: 5px;
803 padding: 5px;
802 }
804 }
803
805
804 div.issue table img.gravatar {
806 div.issue table img.gravatar {
805 height: 14px;
807 height: 14px;
806 width: 14px;
808 width: 14px;
807 padding: 2px;
809 padding: 2px;
808 float: left;
810 float: left;
809 margin: 0 0.5em 0 0;
811 margin: 0 0.5em 0 0;
810 }
812 }
811
813
812 #history img.gravatar {
814 #history img.gravatar {
813 padding: 3px;
815 padding: 3px;
814 margin: 0 1.5em 1em 0;
816 margin: 0 1.5em 1em 0;
815 float: left;
817 float: left;
816 }
818 }
817
819
818 td.username img.gravatar {
820 td.username img.gravatar {
819 float: left;
821 float: left;
820 margin: 0 1em 0 0;
822 margin: 0 1em 0 0;
821 }
823 }
822
824
823 #activity dt img.gravatar {
825 #activity dt img.gravatar {
824 float: left;
826 float: left;
825 margin: 0 1em 1em 0;
827 margin: 0 1em 1em 0;
826 }
828 }
827
829
828 #activity dt,
830 #activity dt,
829 .journal {
831 .journal {
830 clear: left;
832 clear: left;
831 }
833 }
832
834
833 .gravatar-margin {
835 .gravatar-margin {
834 margin-left: 40px;
836 margin-left: 40px;
835 }
837 }
836
838
837 h2 img { vertical-align:middle; }
839 h2 img { vertical-align:middle; }
838
840
839
841
840 /***** Media print specific styles *****/
842 /***** Media print specific styles *****/
841 @media print {
843 @media print {
842 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
844 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
843 #main { background: #fff; }
845 #main { background: #fff; }
844 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
846 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
845 #wiki_add_attachment { display:none; }
847 #wiki_add_attachment { display:none; }
846 }
848 }
General Comments 0
You need to be logged in to leave comments. Login now