##// END OF EJS Templates
Move the filters buttons inside the filters fieldset on the issue list (closes #614)....
Jean-Philippe Lang -
r1247:f5b5688e8ad8
parent child
Show More
@@ -1,67 +1,67
1 1 <% if @query.new_record? %>
2 2 <h2><%=l(:label_issue_plural)%></h2>
3 3 <% html_title(l(:label_issue_plural)) %>
4 4
5 5 <% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %>
6 6 <%= hidden_field_tag('project_id', @project.id) if @project %>
7 <fieldset id="filters"><legend><%= l(:label_filter_plural) %></legend>
7 8 <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
8 <div class="contextual">
9 <div class="buttons">
9 10 <%= link_to_remote l(:button_apply),
10 11 { :url => { :set_filter => 1 },
11 12 :update => "content",
12 13 :with => "Form.serialize('query_form')"
13 14 }, :class => 'icon icon-checked' %>
14 15
15 16 <%= link_to_remote l(:button_clear),
16 17 { :url => { :set_filter => 1 },
17 18 :update => "content",
18 19 }, :class => 'icon icon-reload' %>
19 20
20 21 <% if current_role && current_role.allowed_to?(:save_queries) %>
21 22 <%= link_to l(:button_save), {}, :onclick => "$('query_form').submit(); return false;", :class => 'icon icon-save' %>
22 23 <% end %>
23 24 </div>
24 <br />
25 &nbsp;
25 </fieldset>
26 26 <% end %>
27 27 <% else %>
28 28 <div class="contextual">
29 29 <% if @query.editable_by?(User.current) %>
30 30 <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => @query}, :class => 'icon icon-edit' %>
31 31 <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
32 32 <% end %>
33 33 </div>
34 34 <h2><%=h @query.name %></h2>
35 35 <div id="query_form"></div>
36 36 <% html_title @query.name %>
37 37 <% end %>
38 38 <%= error_messages_for 'query' %>
39 39 <% if @query.valid? %>
40 40 <% if @issues.empty? %>
41 41 <p class="nodata"><%= l(:label_no_data) %></p>
42 42 <% else %>
43 43 <%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query} %>
44 44 <p class="pagination"><%= pagination_links_full @issue_pages, @issue_count %></p>
45 45
46 46 <p class="other-formats">
47 47 <%= l(:label_export_to) %>
48 48 <span><%= link_to 'Atom', {:format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span>
49 49 <span><%= link_to 'CSV', {:format => 'csv'}, :class => 'csv' %></span>
50 50 <span><%= link_to 'PDF', {:format => 'pdf'}, :class => 'pdf' %></span>
51 51 </p>
52 52 <% end %>
53 53 <% end %>
54 54
55 55 <% content_for :sidebar do %>
56 56 <%= render :partial => 'issues/sidebar' %>
57 57 <% end if @project%>
58 58
59 59 <% content_for :header_tags do %>
60 60 <%= auto_discovery_link_tag(:atom, {:query_id => @query, :format => 'atom', :page => nil, :key => User.current.rss_key}, :title => l(:label_issue_plural)) %>
61 61 <%= auto_discovery_link_tag(:atom, {:action => 'changes', :query_id => @query, :format => 'atom', :page => nil, :key => User.current.rss_key}, :title => l(:label_changes_details)) %>
62 62 <%= javascript_include_tag 'context_menu' %>
63 63 <%= stylesheet_link_tag 'context_menu' %>
64 64 <% end %>
65 65
66 66 <div id="context-menu" style="display: none;"></div>
67 67 <%= javascript_tag "new ContextMenu('#{url_for(:controller => 'issues', :action => 'context_menu')}')" %>
@@ -1,27 +1,27
1 1 <% content_tag 'fieldset', :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %>
2 2 <legend><%= l(:field_column_names) %></legend>
3 3
4 <%= hidden_field_tag 'query[column_names][]', '' %>
5 <table margin=0>
4 <%= hidden_field_tag 'query[column_names][]', '', :id => nil %>
5 <table>
6 6 <tr>
7 7 <td><%= select_tag 'available_columns',
8 8 options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
9 9 :multiple => true, :size => 10, :style => "width:150px" %>
10 10 </td>
11 11 <td align="center" valign="middle">
12 12 <input type="button" value="--&gt;"
13 13 onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
14 14 <input type="button" value="&lt;--"
15 15 onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" />
16 16 </td>
17 17 <td><%= select_tag 'query[column_names][]',
18 18 options_for_select(@query.columns.collect {|column| [column.caption, column.name]}),
19 19 :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>
20 20 </td>
21 21 </tr>
22 22 </table>
23 23 <% end %>
24 24
25 25 <% content_for :header_tags do %>
26 26 <%= javascript_include_tag 'select_list_move' %>
27 27 <% end %>
@@ -1,103 +1,101
1 1 <script type="text/javascript">
2 2 //<![CDATA[
3 3 function add_filter() {
4 4 select = $('add_filter_select');
5 5 field = select.value
6 6 Element.show('tr_' + field);
7 7 check_box = $('cb_' + field);
8 8 check_box.checked = true;
9 9 toggle_filter(field);
10 10 select.selectedIndex = 0;
11 11
12 12 for (i=0; i<select.options.length; i++) {
13 13 if (select.options[i].value == field) {
14 14 select.options[i].disabled = true;
15 15 }
16 16 }
17 17 }
18 18
19 19 function toggle_filter(field) {
20 20 check_box = $('cb_' + field);
21 21
22 22 if (check_box.checked) {
23 23 Element.show("operators_" + field);
24 24 toggle_operator(field);
25 25 } else {
26 26 Element.hide("operators_" + field);
27 27 Element.hide("div_values_" + field);
28 28 }
29 29 }
30 30
31 31 function toggle_operator(field) {
32 32 operator = $("operators_" + field);
33 33 switch (operator.value) {
34 34 case "!*":
35 35 case "*":
36 36 case "t":
37 37 case "w":
38 38 case "o":
39 39 case "c":
40 40 Element.hide("div_values_" + field);
41 41 break;
42 42 default:
43 43 Element.show("div_values_" + field);
44 44 break;
45 45 }
46 46 }
47 47
48 48 function toggle_multi_select(field) {
49 49 select = $('values_' + field);
50 50 if (select.multiple == true) {
51 51 select.multiple = false;
52 52 } else {
53 53 select.multiple = true;
54 54 }
55 55 }
56 56 //]]>
57 57 </script>
58 58
59 <fieldset><legend><%= l(:label_filter_plural) %></legend>
60 59 <table width="100%">
61 60 <tr>
62 61 <td>
63 62 <table style="padding:0;">
64 63 <% query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.each do |filter| %>
65 64 <% field = filter[0]
66 65 options = filter[1] %>
67 66 <tr <%= 'style="display:none;"' unless query.has_filter?(field) %> id="tr_<%= field %>">
68 67 <td valign="top" style="width:200px;">
69 68 <%= check_box_tag 'fields[]', field, query.has_filter?(field), :onclick => "toggle_filter('#{field}');", :id => "cb_#{field}" %>
70 69 <label for="cb_<%= field %>"><%= filter[1][:name] || l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) %></label>
71 70 </td>
72 71 <td valign="top" style="width:150px;">
73 72 <%= select_tag "operators[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :id => "operators_#{field}", :onchange => "toggle_operator('#{field}');", :class => "select-small", :style => "vertical-align: top;" %>
74 73 </td>
75 74 <td valign="top">
76 75 <div id="div_values_<%= field %>" style="display:none;">
77 76 <% case options[:type]
78 77 when :list, :list_optional, :list_status, :list_subprojects %>
79 78 <select <%= "multiple=true" if query.values_for(field) and query.values_for(field).length > 1 %> name="values[<%= field %>][]" id="values_<%= field %>" class="select-small" style="vertical-align: top;">
80 79 <%= options_for_select options[:values], query.values_for(field) %>
81 80 </select>
82 81 <%= link_to_function image_tag('expand.png'), "toggle_multi_select('#{field}');" %>
83 82 <% when :date, :date_past %>
84 83 <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 3, :class => "select-small" %> <%= l(:label_day_plural) %>
85 84 <% when :string, :text %>
86 85 <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 30, :class => "select-small" %>
87 86 <% when :integer %>
88 87 <%= text_field_tag "values[#{field}][]", query.values_for(field), :id => "values_#{field}", :size => 3, :class => "select-small" %>
89 88 <% end %>
90 89 </div>
91 90 <script type="text/javascript">toggle_filter('<%= field %>');</script>
92 91 </td>
93 92 </tr>
94 93 <% end %>
95 94 </table>
96 95 </td>
97 96 <td align="right" valign="top">
98 97 <%= l(:label_filter_add) %>:
99 98 <%= select_tag 'add_filter_select', options_for_select([["",""]] + query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.collect{|field| [ field[1][:name] || l(("field_"+field[0].to_s.gsub(/\_id$/, "")).to_sym), field[0]] unless query.has_filter?(field[0])}.compact), :onchange => "add_filter();", :class => "select-small" %>
100 99 </td>
101 100 </tr>
102 101 </table>
103 </fieldset> No newline at end of file
@@ -1,21 +1,24
1 1 <%= error_messages_for 'query' %>
2 2 <%= hidden_field_tag 'confirm', 1 %>
3 3
4 4 <div class="box">
5 5 <div class="tabular">
6 6 <p><label for="query_name"><%=l(:field_name)%></label>
7 7 <%= text_field 'query', 'name', :size => 80 %></p>
8 8
9 9 <% if current_role.allowed_to?(:manage_public_queries) %>
10 10 <p><label for="query_is_public"><%=l(:field_is_public)%></label>
11 11 <%= check_box 'query', 'is_public' %></p>
12 12 <% end %>
13 13
14 14 <p><label for="query_default_columns"><%=l(:label_default_columns)%></label>
15 15 <%= check_box_tag 'default_columns', 1, @query.has_default_columns?, :id => 'query_default_columns',
16 16 :onclick => 'if (this.checked) {Element.hide("columns")} else {Element.show("columns")}' %></p>
17 17 </div>
18 18
19 <fieldset><legend><%= l(:label_filter_plural) %></legend>
19 20 <%= render :partial => 'queries/filters', :locals => {:query => query}%>
21 </fieldset>
22
20 23 <%= render :partial => 'queries/columns', :locals => {:query => query}%>
21 24 </div>
@@ -1,576 +1,579
1 1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
2 2
3 3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
4 4 h1 {margin:0; padding:0; font-size: 24px;}
5 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 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 7 h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
8 8
9 9 /***** Layout *****/
10 10 #wrapper {background: white;}
11 11
12 12 #top-menu {background: #2C4056;color: #fff;height:1.5em; padding: 2px 6px 0px 6px;}
13 13 #top-menu ul {margin: 0; padding: 0;}
14 14 #top-menu li {
15 15 float:left;
16 16 list-style-type:none;
17 17 margin: 0px 0px 0px 0px;
18 18 padding: 0px 0px 0px 0px;
19 19 white-space:nowrap;
20 20 }
21 21 #top-menu a {color: #fff; padding-right: 4px;}
22 22 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
23 23
24 24 #account {float:right;}
25 25
26 26 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
27 27 #header a {color:#f8f8f8;}
28 28 #quick-search {float:right;}
29 29
30 30 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
31 31 #main-menu ul {margin: 0; padding: 0;}
32 32 #main-menu li {
33 33 float:left;
34 34 list-style-type:none;
35 35 margin: 0px 10px 0px 0px;
36 36 padding: 0px 0px 0px 0px;
37 37 white-space:nowrap;
38 38 }
39 39 #main-menu li a {
40 40 display: block;
41 41 color: #fff;
42 42 text-decoration: none;
43 43 margin: 0;
44 44 padding: 4px 4px 4px 4px;
45 45 background: #2C4056;
46 46 }
47 47 #main-menu li a:hover, #main-menu li a.selected {background:#759FCF;}
48 48
49 49 #main {background: url(../images/mainbg.png) repeat-x; background-color:#EEEEEE;}
50 50
51 51 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
52 52 * html #sidebar{ width: 17%; }
53 53 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
54 54 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
55 55 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
56 56
57 57 #content { width: 80%; background: url(../images/contentbg.png) repeat-x; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; height:600px; min-height: 600px;}
58 58 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
59 59 html>body #content {
60 60 height: auto;
61 61 min-height: 600px;
62 62 }
63 63
64 64 #main.nosidebar #sidebar{ display: none; }
65 65 #main.nosidebar #content{ width: auto; border-right: 0; }
66 66
67 67 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
68 68
69 69 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
70 70 #login-form table td {padding: 6px;}
71 71 #login-form label {font-weight: bold;}
72 72
73 73 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
74 74
75 75 /***** Links *****/
76 76 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
77 77 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
78 78 a img{ border: 0; }
79 79
80 80 a.issue.closed, .issue.closed a { text-decoration: line-through; }
81 81
82 82 /***** Tables *****/
83 83 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
84 84 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
85 85 table.list td { overflow: hidden; vertical-align: top;}
86 86 table.list td.id { width: 2%; text-align: center;}
87 87 table.list td.checkbox { width: 15px; padding: 0px;}
88 88
89 89 tr.issue { text-align: center; white-space: nowrap; }
90 90 tr.issue td.subject, tr.issue td.category { white-space: normal; }
91 91 tr.issue td.subject { text-align: left; }
92 92 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
93 93
94 94 tr.entry { border: 1px solid #f8f8f8; }
95 95 tr.entry td { white-space: nowrap; }
96 96 tr.entry td.filename { width: 30%; }
97 97 tr.entry td.size { text-align: right; font-size: 90%; }
98 98 tr.entry td.revision, tr.entry td.author { text-align: center; }
99 99 tr.entry td.age { text-align: right; }
100 100
101 101 tr.changeset td.author { text-align: center; width: 15%; }
102 102 tr.changeset td.committed_on { text-align: center; width: 15%; }
103 103
104 104 tr.message { height: 2.6em; }
105 105 tr.message td.last_message { font-size: 80%; }
106 106 tr.message.locked td.subject a { background-image: url(../images/locked.png); }
107 107 tr.message.sticky td.subject a { background-image: url(../images/sticky.png); font-weight: bold; }
108 108
109 109 tr.user td { width:13%; }
110 110 tr.user td.email { width:18%; }
111 111 tr.user td { white-space: nowrap; }
112 112 tr.user.locked, tr.user.registered { color: #aaa; }
113 113 tr.user.locked a, tr.user.registered a { color: #aaa; }
114 114
115 115 tr.time-entry { text-align: center; white-space: nowrap; }
116 116 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
117 117 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
118 118 td.hours .hours-dec { font-size: 0.9em; }
119 119
120 120 table.list tbody tr:hover { background-color:#ffffdd; }
121 121 table td {padding:2px;}
122 122 table p {margin:0;}
123 123 .odd {background-color:#f6f7f8;}
124 124 .even {background-color: #fff;}
125 125
126 126 .highlight { background-color: #FCFD8D;}
127 127 .highlight.token-1 { background-color: #faa;}
128 128 .highlight.token-2 { background-color: #afa;}
129 129 .highlight.token-3 { background-color: #aaf;}
130 130
131 131 .box{
132 132 padding:6px;
133 133 margin-bottom: 10px;
134 134 background-color:#f6f6f6;
135 135 color:#505050;
136 136 line-height:1.5em;
137 137 border: 1px solid #e4e4e4;
138 138 }
139 139
140 140 div.square {
141 141 border: 1px solid #999;
142 142 float: left;
143 143 margin: .3em .4em 0 .4em;
144 144 overflow: hidden;
145 145 width: .6em; height: .6em;
146 146 }
147 147
148 148 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
149 149 .contextual input {font-size:0.9em;}
150 150
151 151 .splitcontentleft{float:left; width:49%;}
152 152 .splitcontentright{float:right; width:49%;}
153 153 form {display: inline;}
154 154 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
155 155 fieldset {border: 1px solid #e4e4e4; margin:0;}
156 156 legend {color: #484848;}
157 157 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
158 158 textarea.wiki-edit { width: 99%; }
159 159 li p {margin-top: 0;}
160 160 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
161 161
162 #filters { margin-bottom: 1em; }
163 #filters .buttons { text-align: right; font-size: 0.9em; }
164
162 165 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
163 166 div#issue-changesets .changeset { padding: 4px;}
164 167 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
165 168 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
166 169
167 170 div#activity dl { margin-left: 2em; }
168 171 div#activity dd { margin-bottom: 1em; }
169 172 div#activity dt { margin-bottom: 1px; }
170 173 div#activity dt .time { color: #777; font-size: 80%; }
171 174 div#activity dd .description { font-style: italic; }
172 175 div#activity span.project:after { content: " -"; }
173 176
174 177 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
175 178 div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }
176 179 div#roadmap .wiki h1:first-child { display: none; }
177 180 div#roadmap .wiki h1 { font-size: 120%; }
178 181 div#roadmap .wiki h2 { font-size: 110%; }
179 182
180 183 div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
181 184 div#version-summary fieldset { margin-bottom: 1em; }
182 185 div#version-summary .total-hours { text-align: right; }
183 186
184 187 table#time-report td.hours { text-align: right; padding-right: 0.5em; }
185 188 table#time-report tbody tr { font-style: italic; color: #777; }
186 189 table#time-report tbody tr.last-level { font-style: normal; color: #555; }
187 190 table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
188 191 table#time-report .hours-dec { font-size: 0.9em; }
189 192
190 193 .total-hours { font-size: 110%; font-weight: bold; }
191 194 .total-hours span.hours-int { font-size: 120%; }
192 195
193 196 .autoscroll {overflow-x: auto; padding:1px; width:100%; margin-bottom: 1.2em;}
194 197 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
195 198
196 199 .pagination {font-size: 90%}
197 200 p.pagination {margin-top:8px;}
198 201
199 202 /***** Tabular forms ******/
200 203 .tabular p{
201 204 margin: 0;
202 205 padding: 5px 0 8px 0;
203 206 padding-left: 180px; /*width of left column containing the label elements*/
204 207 height: 1%;
205 208 clear:left;
206 209 }
207 210
208 211 .tabular label{
209 212 font-weight: bold;
210 213 float: left;
211 214 text-align: right;
212 215 margin-left: -180px; /*width of left column*/
213 216 width: 175px; /*width of labels. Should be smaller than left column to create some right
214 217 margin*/
215 218 }
216 219
217 220 .tabular label.floating{
218 221 font-weight: normal;
219 222 margin-left: 0px;
220 223 text-align: left;
221 224 width: 200px;
222 225 }
223 226
224 227 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
225 228
226 229 .tabular.settings p{ padding-left: 300px; }
227 230 .tabular.settings label{ margin-left: -300px; width: 295px; }
228 231
229 232 .required {color: #bb0000;}
230 233 .summary {font-style: italic;}
231 234
232 235 #attachments_fields input[type=text] {margin-left: 8px; }
233 236
234 237 div.attachments p { margin:4px 0 2px 0; }
235 238 div.attachments img { vertical-align: middle; }
236 239 div.attachments span.author { font-size: 0.9em; color: #888; }
237 240
238 241 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
239 242 .other-formats span + span:before { content: "| "; }
240 243
241 244 a.feed { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
242 245
243 246 /***** Flash & error messages ****/
244 247 #errorExplanation, div.flash, .nodata {
245 248 padding: 4px 4px 4px 30px;
246 249 margin-bottom: 12px;
247 250 font-size: 1.1em;
248 251 border: 2px solid;
249 252 }
250 253
251 254 div.flash {margin-top: 8px;}
252 255
253 256 div.flash.error, #errorExplanation {
254 257 background: url(../images/false.png) 8px 5px no-repeat;
255 258 background-color: #ffe3e3;
256 259 border-color: #dd0000;
257 260 color: #550000;
258 261 }
259 262
260 263 div.flash.notice {
261 264 background: url(../images/true.png) 8px 5px no-repeat;
262 265 background-color: #dfffdf;
263 266 border-color: #9fcf9f;
264 267 color: #005f00;
265 268 }
266 269
267 270 .nodata {
268 271 text-align: center;
269 272 background-color: #FFEBC1;
270 273 border-color: #FDBF3B;
271 274 color: #A6750C;
272 275 }
273 276
274 277 #errorExplanation ul { font-size: 0.9em;}
275 278
276 279 /***** Ajax indicator ******/
277 280 #ajax-indicator {
278 281 position: absolute; /* fixed not supported by IE */
279 282 background-color:#eee;
280 283 border: 1px solid #bbb;
281 284 top:35%;
282 285 left:40%;
283 286 width:20%;
284 287 font-weight:bold;
285 288 text-align:center;
286 289 padding:0.6em;
287 290 z-index:100;
288 291 filter:alpha(opacity=50);
289 292 opacity: 0.5;
290 293 }
291 294
292 295 html>body #ajax-indicator { position: fixed; }
293 296
294 297 #ajax-indicator span {
295 298 background-position: 0% 40%;
296 299 background-repeat: no-repeat;
297 300 background-image: url(../images/loading.gif);
298 301 padding-left: 26px;
299 302 vertical-align: bottom;
300 303 }
301 304
302 305 /***** Calendar *****/
303 306 table.cal {border-collapse: collapse; width: 100%; margin: 8px 0 6px 0;border: 1px solid #d7d7d7;}
304 307 table.cal thead th {width: 14%;}
305 308 table.cal tbody tr {height: 100px;}
306 309 table.cal th { background-color:#EEEEEE; padding: 4px; }
307 310 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
308 311 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
309 312 table.cal td.odd p.day-num {color: #bbb;}
310 313 table.cal td.today {background:#ffffdd;}
311 314 table.cal td.today p.day-num {font-weight: bold;}
312 315
313 316 /***** Tooltips ******/
314 317 .tooltip{position:relative;z-index:24;}
315 318 .tooltip:hover{z-index:25;color:#000;}
316 319 .tooltip span.tip{display: none; text-align:left;}
317 320
318 321 div.tooltip:hover span.tip{
319 322 display:block;
320 323 position:absolute;
321 324 top:12px; left:24px; width:270px;
322 325 border:1px solid #555;
323 326 background-color:#fff;
324 327 padding: 4px;
325 328 font-size: 0.8em;
326 329 color:#505050;
327 330 }
328 331
329 332 /***** Progress bar *****/
330 333 table.progress {
331 334 border: 1px solid #D7D7D7;
332 335 border-collapse: collapse;
333 336 border-spacing: 0pt;
334 337 empty-cells: show;
335 338 text-align: center;
336 339 float:left;
337 340 margin: 1px 6px 1px 0px;
338 341 }
339 342
340 343 table.progress td { height: 0.9em; }
341 344 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
342 345 table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
343 346 table.progress td.open { background: #FFF none repeat scroll 0%; }
344 347 p.pourcent {font-size: 80%;}
345 348 p.progress-info {clear: left; font-style: italic; font-size: 80%;}
346 349
347 350 /***** Tabs *****/
348 351 #content .tabs {height: 2.6em; border-bottom: 1px solid #bbbbbb; margin-bottom:1.2em; position:relative;}
349 352 #content .tabs ul {margin:0; position:absolute; bottom:-2px; padding-left:1em;}
350 353 #content .tabs>ul { bottom:-1px; } /* others */
351 354 #content .tabs ul li {
352 355 float:left;
353 356 list-style-type:none;
354 357 white-space:nowrap;
355 358 margin-right:8px;
356 359 background:#fff;
357 360 }
358 361 #content .tabs ul li a{
359 362 display:block;
360 363 font-size: 0.9em;
361 364 text-decoration:none;
362 365 line-height:1.3em;
363 366 padding:4px 6px 4px 6px;
364 367 border: 1px solid #ccc;
365 368 border-bottom: 1px solid #bbbbbb;
366 369 background-color: #eeeeee;
367 370 color:#777;
368 371 font-weight:bold;
369 372 }
370 373
371 374 #content .tabs ul li a:hover {
372 375 background-color: #ffffdd;
373 376 text-decoration:none;
374 377 }
375 378
376 379 #content .tabs ul li a.selected {
377 380 background-color: #fff;
378 381 border: 1px solid #bbbbbb;
379 382 border-bottom: 1px solid #fff;
380 383 }
381 384
382 385 #content .tabs ul li a.selected:hover {
383 386 background-color: #fff;
384 387 }
385 388
386 389 /***** Diff *****/
387 390 .diff_out { background: #fcc; }
388 391 .diff_in { background: #cfc; }
389 392
390 393 /***** Wiki *****/
391 394 div.wiki table {
392 395 border: 1px solid #505050;
393 396 border-collapse: collapse;
394 397 margin-bottom: 1em;
395 398 }
396 399
397 400 div.wiki table, div.wiki td, div.wiki th {
398 401 border: 1px solid #bbb;
399 402 padding: 4px;
400 403 }
401 404
402 405 div.wiki .external {
403 406 background-position: 0% 60%;
404 407 background-repeat: no-repeat;
405 408 padding-left: 12px;
406 409 background-image: url(../images/external.png);
407 410 }
408 411
409 412 div.wiki a.new {
410 413 color: #b73535;
411 414 }
412 415
413 416 div.wiki pre {
414 417 margin: 1em 1em 1em 1.6em;
415 418 padding: 2px;
416 419 background-color: #fafafa;
417 420 border: 1px solid #dadada;
418 421 width:95%;
419 422 overflow-x: auto;
420 423 }
421 424
422 425 div.wiki div.toc {
423 426 background-color: #ffffdd;
424 427 border: 1px solid #e4e4e4;
425 428 padding: 4px;
426 429 line-height: 1.2em;
427 430 margin-bottom: 12px;
428 431 margin-right: 12px;
429 432 display: table
430 433 }
431 434 * html div.wiki div.toc { width: 50%; } /* IE6 doesn't autosize div */
432 435
433 436 div.wiki div.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
434 437 div.wiki div.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
435 438
436 439 div.wiki div.toc a {
437 440 display: block;
438 441 font-size: 0.9em;
439 442 font-weight: normal;
440 443 text-decoration: none;
441 444 color: #606060;
442 445 }
443 446 div.wiki div.toc a:hover { color: #c61a1a; text-decoration: underline;}
444 447
445 448 div.wiki div.toc a.heading2 { margin-left: 6px; }
446 449 div.wiki div.toc a.heading3 { margin-left: 12px; font-size: 0.8em; }
447 450
448 451 /***** My page layout *****/
449 452 .block-receiver {
450 453 border:1px dashed #c0c0c0;
451 454 margin-bottom: 20px;
452 455 padding: 15px 0 15px 0;
453 456 }
454 457
455 458 .mypage-box {
456 459 margin:0 0 20px 0;
457 460 color:#505050;
458 461 line-height:1.5em;
459 462 }
460 463
461 464 .handle {
462 465 cursor: move;
463 466 }
464 467
465 468 a.close-icon {
466 469 display:block;
467 470 margin-top:3px;
468 471 overflow:hidden;
469 472 width:12px;
470 473 height:12px;
471 474 background-repeat: no-repeat;
472 475 cursor:pointer;
473 476 background-image:url('../images/close.png');
474 477 }
475 478
476 479 a.close-icon:hover {
477 480 background-image:url('../images/close_hl.png');
478 481 }
479 482
480 483 /***** Gantt chart *****/
481 484 .gantt_hdr {
482 485 position:absolute;
483 486 top:0;
484 487 height:16px;
485 488 border-top: 1px solid #c0c0c0;
486 489 border-bottom: 1px solid #c0c0c0;
487 490 border-right: 1px solid #c0c0c0;
488 491 text-align: center;
489 492 overflow: hidden;
490 493 }
491 494
492 495 .task {
493 496 position: absolute;
494 497 height:8px;
495 498 font-size:0.8em;
496 499 color:#888;
497 500 padding:0;
498 501 margin:0;
499 502 line-height:0.8em;
500 503 }
501 504
502 505 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
503 506 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
504 507 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
505 508 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
506 509
507 510 /***** Icons *****/
508 511 .icon {
509 512 background-position: 0% 40%;
510 513 background-repeat: no-repeat;
511 514 padding-left: 20px;
512 515 padding-top: 2px;
513 516 padding-bottom: 3px;
514 517 }
515 518
516 519 .icon22 {
517 520 background-position: 0% 40%;
518 521 background-repeat: no-repeat;
519 522 padding-left: 26px;
520 523 line-height: 22px;
521 524 vertical-align: middle;
522 525 }
523 526
524 527 .icon-add { background-image: url(../images/add.png); }
525 528 .icon-edit { background-image: url(../images/edit.png); }
526 529 .icon-copy { background-image: url(../images/copy.png); }
527 530 .icon-del { background-image: url(../images/delete.png); }
528 531 .icon-move { background-image: url(../images/move.png); }
529 532 .icon-save { background-image: url(../images/save.png); }
530 533 .icon-cancel { background-image: url(../images/cancel.png); }
531 534 .icon-file { background-image: url(../images/file.png); }
532 535 .icon-folder { background-image: url(../images/folder.png); }
533 536 .open .icon-folder { background-image: url(../images/folder_open.png); }
534 537 .icon-package { background-image: url(../images/package.png); }
535 538 .icon-home { background-image: url(../images/home.png); }
536 539 .icon-user { background-image: url(../images/user.png); }
537 540 .icon-mypage { background-image: url(../images/user_page.png); }
538 541 .icon-admin { background-image: url(../images/admin.png); }
539 542 .icon-projects { background-image: url(../images/projects.png); }
540 543 .icon-logout { background-image: url(../images/logout.png); }
541 544 .icon-help { background-image: url(../images/help.png); }
542 545 .icon-attachment { background-image: url(../images/attachment.png); }
543 546 .icon-index { background-image: url(../images/index.png); }
544 547 .icon-history { background-image: url(../images/history.png); }
545 548 .icon-time { background-image: url(../images/time.png); }
546 549 .icon-stats { background-image: url(../images/stats.png); }
547 550 .icon-warning { background-image: url(../images/warning.png); }
548 551 .icon-fav { background-image: url(../images/fav.png); }
549 552 .icon-fav-off { background-image: url(../images/fav_off.png); }
550 553 .icon-reload { background-image: url(../images/reload.png); }
551 554 .icon-lock { background-image: url(../images/locked.png); }
552 555 .icon-unlock { background-image: url(../images/unlock.png); }
553 556 .icon-checked { background-image: url(../images/true.png); }
554 557 .icon-details { background-image: url(../images/zoom_in.png); }
555 558 .icon-report { background-image: url(../images/report.png); }
556 559
557 560 .icon22-projects { background-image: url(../images/22x22/projects.png); }
558 561 .icon22-users { background-image: url(../images/22x22/users.png); }
559 562 .icon22-tracker { background-image: url(../images/22x22/tracker.png); }
560 563 .icon22-role { background-image: url(../images/22x22/role.png); }
561 564 .icon22-workflow { background-image: url(../images/22x22/workflow.png); }
562 565 .icon22-options { background-image: url(../images/22x22/options.png); }
563 566 .icon22-notifications { background-image: url(../images/22x22/notifications.png); }
564 567 .icon22-authent { background-image: url(../images/22x22/authent.png); }
565 568 .icon22-info { background-image: url(../images/22x22/info.png); }
566 569 .icon22-comment { background-image: url(../images/22x22/comment.png); }
567 570 .icon22-package { background-image: url(../images/22x22/package.png); }
568 571 .icon22-settings { background-image: url(../images/22x22/settings.png); }
569 572 .icon22-plugin { background-image: url(../images/22x22/plugin.png); }
570 573
571 574 /***** Media print specific styles *****/
572 575 @media print {
573 576 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual { display:none; }
574 577 #main { background: #fff; }
575 578 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; }
576 579 }
General Comments 0
You need to be logged in to leave comments. Login now