##// END OF EJS Templates
Fixed some merge bugs. #4077...
Eric Davis -
r2838:ff3d0fe4db01
parent child
Show More
@@ -1,92 +1,92
1 1 # redMine - project management software
2 2 # Copyright (C) 2006 Jean-Philippe Lang
3 3 #
4 4 # This program is free software; you can redistribute it and/or
5 5 # modify it under the terms of the GNU General Public License
6 6 # as published by the Free Software Foundation; either version 2
7 7 # of the License, or (at your option) any later version.
8 8 #
9 9 # This program is distributed in the hope that it will be useful,
10 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 # GNU General Public License for more details.
13 13 #
14 14 # You should have received a copy of the GNU General Public License
15 15 # along with this program; if not, write to the Free Software
16 16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 17
18 18 module CustomFieldsHelper
19 19
20 20 def custom_fields_tabs
21 21 tabs = [{:name => 'IssueCustomField', :partial => 'custom_fields/index', :label => :label_issue_plural},
22 22 {:name => 'TimeEntryCustomField', :partial => 'custom_fields/index', :label => :label_spent_time},
23 23 {:name => 'ProjectCustomField', :partial => 'custom_fields/index', :label => :label_project_plural},
24 24 {:name => 'UserCustomField', :partial => 'custom_fields/index', :label => :label_user_plural},
25 25 {:name => 'GroupCustomField', :partial => 'custom_fields/index', :label => :label_group_plural},
26 {:name => 'TimeEntryActivityCustomField', :label => TimeEntryActivity::OptionName},
27 {:name => 'IssuePriorityCustomField', :label => IssuePriority::OptionName},
28 {:name => 'DocumentCategoryCustomField', :label => DocumentCategory::OptionName}
26 {:name => 'TimeEntryActivityCustomField', :partial => 'custom_fields/index', :label => TimeEntryActivity::OptionName},
27 {:name => 'IssuePriorityCustomField', :partial => 'custom_fields/index', :label => IssuePriority::OptionName},
28 {:name => 'DocumentCategoryCustomField', :partial => 'custom_fields/index', :label => DocumentCategory::OptionName}
29 29 ]
30 30 end
31 31
32 32 # Return custom field html tag corresponding to its format
33 33 def custom_field_tag(name, custom_value)
34 34 custom_field = custom_value.custom_field
35 35 field_name = "#{name}[custom_field_values][#{custom_field.id}]"
36 36 field_id = "#{name}_custom_field_values_#{custom_field.id}"
37 37
38 38 case custom_field.field_format
39 39 when "date"
40 40 text_field_tag(field_name, custom_value.value, :id => field_id, :size => 10) +
41 41 calendar_for(field_id)
42 42 when "text"
43 43 text_area_tag(field_name, custom_value.value, :id => field_id, :rows => 3, :style => 'width:90%')
44 44 when "bool"
45 45 hidden_field_tag(field_name, '0') + check_box_tag(field_name, '1', custom_value.true?, :id => field_id)
46 46 when "list"
47 47 blank_option = custom_field.is_required? ?
48 48 (custom_field.default_value.blank? ? "<option value=\"\">--- #{l(:actionview_instancetag_blank_option)} ---</option>" : '') :
49 49 '<option></option>'
50 50 select_tag(field_name, blank_option + options_for_select(custom_field.possible_values, custom_value.value), :id => field_id)
51 51 else
52 52 text_field_tag(field_name, custom_value.value, :id => field_id)
53 53 end
54 54 end
55 55
56 56 # Return custom field label tag
57 57 def custom_field_label_tag(name, custom_value)
58 58 content_tag "label", custom_value.custom_field.name +
59 59 (custom_value.custom_field.is_required? ? " <span class=\"required\">*</span>" : ""),
60 60 :for => "#{name}_custom_field_values_#{custom_value.custom_field.id}",
61 61 :class => (custom_value.errors.empty? ? nil : "error" )
62 62 end
63 63
64 64 # Return custom field tag with its label tag
65 65 def custom_field_tag_with_label(name, custom_value)
66 66 custom_field_label_tag(name, custom_value) + custom_field_tag(name, custom_value)
67 67 end
68 68
69 69 # Return a string used to display a custom value
70 70 def show_value(custom_value)
71 71 return "" unless custom_value
72 72 format_value(custom_value.value, custom_value.custom_field.field_format)
73 73 end
74 74
75 75 # Return a string used to display a custom value
76 76 def format_value(value, field_format)
77 77 return "" unless value && !value.empty?
78 78 case field_format
79 79 when "date"
80 80 begin; format_date(value.to_date); rescue; value end
81 81 when "bool"
82 82 l(value == "1" ? :general_text_Yes : :general_text_No)
83 83 else
84 84 value
85 85 end
86 86 end
87 87
88 88 # Return an array of custom field formats which can be used in select_tag
89 89 def custom_field_formats_for_select
90 90 CustomField::FIELD_FORMATS.sort {|a,b| a[1][:order]<=>b[1][:order]}.collect { |k| [ l(k[1][:name]), k[0] ] }
91 91 end
92 92 end
@@ -1,23 +1,23
1 1 # redMine - project management software
2 2 # Copyright (C) 2006 Jean-Philippe Lang
3 3 #
4 4 # This program is free software; you can redistribute it and/or
5 5 # modify it under the terms of the GNU General Public License
6 6 # as published by the Free Software Foundation; either version 2
7 7 # of the License, or (at your option) any later version.
8 8 #
9 9 # This program is distributed in the hope that it will be useful,
10 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 # GNU General Public License for more details.
13 13 #
14 14 # You should have received a copy of the GNU General Public License
15 15 # along with this program; if not, write to the Free Software
16 16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 17
18 18 class TimeEntryActivityCustomField < CustomField
19 19 def type_name
20 :enumeration_time_entry_activities
20 :enumeration_activities
21 21 end
22 22 end
23 23
@@ -1,37 +1,37
1 1 <h2><%=l(:label_enumerations)%></h2>
2 2
3 3 <% Enumeration.get_subclasses.each do |klass| %>
4 4 <h3><%= l(klass::OptionName) %></h3>
5 5
6 6 <% enumerations = klass.all %>
7 7 <% if enumerations.any? %>
8 8 <table class="list">
9 9 <tr>
10 10 <th><%= l(:field_name) %></th>
11 11 <th style="width:15%;"><%= l(:field_is_default) %></th>
12 12 <th style="width:15%;"><%= l(:field_active) %></th>
13 13 <th style="width:15%;"></th>
14 14 <th align="center" style="width:10%;"> </th>
15 15 </tr>
16 16 <% enumerations.each do |enumeration| %>
17 17 <tr class="<%= cycle('odd', 'even') %>">
18 18 <td><%= link_to h(enumeration), :action => 'edit', :id => enumeration %></td>
19 <td style="width:15%;"><%= image_tag('true.png') if enumeration.is_default? %></td>
20 <td style="width:15%;"><%= image_tag('true.png') if enumeration.active? %></td>
19 <td class="center" style="width:15%;"><%= image_tag('true.png') if enumeration.is_default? %></td>
20 <td class="center" style="width:15%;"><%= image_tag('true.png') if enumeration.active? %></td>
21 21 <td style="width:15%;"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}) %></td>
22 22 <td class="buttons">
23 23 <%= link_to l(:button_delete), { :action => 'destroy', :id => enumeration },
24 24 :method => :post,
25 25 :confirm => l(:text_are_you_sure),
26 26 :class => 'icon icon-del' %>
27 27 </td>
28 28 </tr>
29 29 <% end %>
30 30 </table>
31 31 <% reset_cycle %>
32 32 <% end %>
33 33
34 34 <p><%= link_to l(:label_enumeration_new), { :action => 'new', :type => klass.name } %></p>
35 35 <% end %>
36 36
37 37 <% html_title(l(:label_enumerations)) -%>
@@ -1,797 +1,799
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: 13px;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.8em; font-size: 0.8em; padding: 2px 2px 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; margin-right: 8px; font-weight: bold;}
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 #header h1 a.ancestor { font-size: 80%; }
29 29 #quick-search {float:right;}
30 30
31 31 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
32 32 #main-menu ul {margin: 0; padding: 0;}
33 33 #main-menu li {
34 34 float:left;
35 35 list-style-type:none;
36 36 margin: 0px 2px 0px 0px;
37 37 padding: 0px 0px 0px 0px;
38 38 white-space:nowrap;
39 39 }
40 40 #main-menu li a {
41 41 display: block;
42 42 color: #fff;
43 43 text-decoration: none;
44 44 font-weight: bold;
45 45 margin: 0;
46 46 padding: 4px 10px 4px 10px;
47 47 }
48 48 #main-menu li a:hover {background:#759FCF; color:#fff;}
49 49 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
50 50
51 51 #main {background-color:#EEEEEE;}
52 52
53 53 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
54 54 * html #sidebar{ width: 17%; }
55 55 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
56 56 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
57 57 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
58 58
59 59 #content { width: 80%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
60 60 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
61 61 html>body #content { min-height: 600px; }
62 62 * html body #content { height: 600px; } /* IE */
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 #login-form input#username, #login-form input#password { width: 300px; }
73 73
74 74 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
75 75
76 76 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
77 77
78 78 /***** Links *****/
79 79 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
80 80 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
81 81 a img{ border: 0; }
82 82
83 83 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
84 84
85 85 /***** Tables *****/
86 86 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
87 87 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
88 88 table.list td { vertical-align: top; }
89 89 table.list td.id { width: 2%; text-align: center;}
90 90 table.list td.checkbox { width: 15px; padding: 0px;}
91 91 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
92 92 table.list td.buttons a { padding-right: 0.6em; }
93 93
94 94 tr.project td.name a { padding-left: 16px; white-space:nowrap; }
95 95 tr.project.parent td.name a { background: url('../images/bullet_toggle_minus.png') no-repeat; }
96 96
97 97 tr.issue { text-align: center; white-space: nowrap; }
98 98 tr.issue td.subject, tr.issue td.category, td.assigned_to { white-space: normal; }
99 99 tr.issue td.subject { text-align: left; }
100 100 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
101 101
102 102 tr.entry { border: 1px solid #f8f8f8; }
103 103 tr.entry td { white-space: nowrap; }
104 104 tr.entry td.filename { width: 30%; }
105 105 tr.entry td.size { text-align: right; font-size: 90%; }
106 106 tr.entry td.revision, tr.entry td.author { text-align: center; }
107 107 tr.entry td.age { text-align: right; }
108 108 tr.entry.file td.filename a { margin-left: 16px; }
109 109
110 110 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
111 111 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
112 112
113 113 tr.changeset td.author { text-align: center; width: 15%; }
114 114 tr.changeset td.committed_on { text-align: center; width: 15%; }
115 115
116 116 table.files tr.file td { text-align: center; }
117 117 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
118 118 table.files tr.file td.digest { font-size: 80%; }
119 119
120 120 table.members td.roles, table.memberships td.roles { width: 45%; }
121 121
122 122 tr.message { height: 2.6em; }
123 123 tr.message td.last_message { font-size: 80%; }
124 124 tr.message.locked td.subject a { background-image: url(../images/locked.png); }
125 125 tr.message.sticky td.subject a { background-image: url(../images/sticky.png); font-weight: bold; }
126 126
127 127 tr.user td { width:13%; }
128 128 tr.user td.email { width:18%; }
129 129 tr.user td { white-space: nowrap; }
130 130 tr.user.locked, tr.user.registered { color: #aaa; }
131 131 tr.user.locked a, tr.user.registered a { color: #aaa; }
132 132
133 133 tr.time-entry { text-align: center; white-space: nowrap; }
134 134 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
135 135 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
136 136 td.hours .hours-dec { font-size: 0.9em; }
137 137
138 138 table.plugins td { vertical-align: middle; }
139 139 table.plugins td.configure { text-align: right; padding-right: 1em; }
140 140 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
141 141 table.plugins span.description { display: block; font-size: 0.9em; }
142 142 table.plugins span.url { display: block; font-size: 0.9em; }
143 143
144 144 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
145 145 table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
146 146
147 147 table.list tbody tr:hover { background-color:#ffffdd; }
148 148 table.list tbody tr.group:hover { background-color:inherit; }
149 149 table td {padding:2px;}
150 150 table p {margin:0;}
151 151 .odd {background-color:#f6f7f8;}
152 152 .even {background-color: #fff;}
153 153
154 154 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
155 155 a.sort.asc { background-image: url(../images/sort_asc.png); }
156 156 a.sort.desc { background-image: url(../images/sort_desc.png); }
157 157
158 158 table.attributes { width: 100% }
159 159 table.attributes th { vertical-align: top; text-align: left; }
160 160 table.attributes td { vertical-align: top; }
161 161
162 td.center {text-align:center;}
163
162 164 .highlight { background-color: #FCFD8D;}
163 165 .highlight.token-1 { background-color: #faa;}
164 166 .highlight.token-2 { background-color: #afa;}
165 167 .highlight.token-3 { background-color: #aaf;}
166 168
167 169 .box{
168 170 padding:6px;
169 171 margin-bottom: 10px;
170 172 background-color:#f6f6f6;
171 173 color:#505050;
172 174 line-height:1.5em;
173 175 border: 1px solid #e4e4e4;
174 176 }
175 177
176 178 div.square {
177 179 border: 1px solid #999;
178 180 float: left;
179 181 margin: .3em .4em 0 .4em;
180 182 overflow: hidden;
181 183 width: .6em; height: .6em;
182 184 }
183 185 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
184 186 .contextual input, .contextual select {font-size:0.9em;}
185 187 .message .contextual { margin-top: 0; }
186 188
187 189 .splitcontentleft{float:left; width:49%;}
188 190 .splitcontentright{float:right; width:49%;}
189 191 form {display: inline;}
190 192 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
191 193 fieldset {border: 1px solid #e4e4e4; margin:0;}
192 194 legend {color: #484848;}
193 195 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
194 196 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
195 197 blockquote blockquote { margin-left: 0;}
196 198 textarea.wiki-edit { width: 99%; }
197 199 li p {margin-top: 0;}
198 200 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
199 201 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
200 202 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
201 203 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
202 204
203 205 fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
204 206 fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
205 207 fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); }
206 208
207 209 fieldset#date-range p { margin: 2px 0 2px 0; }
208 210 fieldset#filters table { border-collapse: collapse; }
209 211 fieldset#filters table td { padding: 0; vertical-align: middle; }
210 212 fieldset#filters tr.filter { height: 2em; }
211 213 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
212 214 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
213 215
214 216 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
215 217 div#issue-changesets .changeset { padding: 4px;}
216 218 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
217 219 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
218 220
219 221 div#activity dl, #search-results { margin-left: 2em; }
220 222 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
221 223 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
222 224 div#activity dt.me .time { border-bottom: 1px solid #999; }
223 225 div#activity dt .time { color: #777; font-size: 80%; }
224 226 div#activity dd .description, #search-results dd .description { font-style: italic; }
225 227 div#activity span.project:after, #search-results span.project:after { content: " -"; }
226 228 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
227 229
228 230 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
229 231
230 232 div#search-results-counts {float:right;}
231 233 div#search-results-counts ul { margin-top: 0.5em; }
232 234 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
233 235
234 236 dt.issue { background-image: url(../images/ticket.png); }
235 237 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
236 238 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
237 239 dt.issue-note { background-image: url(../images/ticket_note.png); }
238 240 dt.changeset { background-image: url(../images/changeset.png); }
239 241 dt.news { background-image: url(../images/news.png); }
240 242 dt.message { background-image: url(../images/message.png); }
241 243 dt.reply { background-image: url(../images/comments.png); }
242 244 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
243 245 dt.attachment { background-image: url(../images/attachment.png); }
244 246 dt.document { background-image: url(../images/document.png); }
245 247 dt.project { background-image: url(../images/projects.png); }
246 248 dt.time-entry { background-image: url(../images/time.png); }
247 249
248 250 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
249 251
250 252 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
251 253 div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }
252 254 div#roadmap .wiki h1:first-child { display: none; }
253 255 div#roadmap .wiki h1 { font-size: 120%; }
254 256 div#roadmap .wiki h2 { font-size: 110%; }
255 257
256 258 div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
257 259 div#version-summary fieldset { margin-bottom: 1em; }
258 260 div#version-summary .total-hours { text-align: right; }
259 261
260 262 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
261 263 table#time-report tbody tr { font-style: italic; color: #777; }
262 264 table#time-report tbody tr.last-level { font-style: normal; color: #555; }
263 265 table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
264 266 table#time-report .hours-dec { font-size: 0.9em; }
265 267
266 268 form#issue-form .attributes { margin-bottom: 8px; }
267 269 form#issue-form .attributes p { padding-top: 1px; padding-bottom: 2px; }
268 270 form#issue-form .attributes select { min-width: 30%; }
269 271
270 272 ul.projects { margin: 0; padding-left: 1em; }
271 273 ul.projects.root { margin: 0; padding: 0; }
272 274 ul.projects ul { border-left: 3px solid #e0e0e0; }
273 275 ul.projects li { list-style-type:none; }
274 276 ul.projects li.root { margin-bottom: 1em; }
275 277 ul.projects li.child { margin-top: 1em;}
276 278 ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
277 279 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
278 280
279 281 #tracker_project_ids ul { margin: 0; padding-left: 1em; }
280 282 #tracker_project_ids li { list-style-type:none; }
281 283
282 284 ul.properties {padding:0; font-size: 0.9em; color: #777;}
283 285 ul.properties li {list-style-type:none;}
284 286 ul.properties li span {font-style:italic;}
285 287
286 288 .total-hours { font-size: 110%; font-weight: bold; }
287 289 .total-hours span.hours-int { font-size: 120%; }
288 290
289 291 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
290 292 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
291 293
292 294 .pagination {font-size: 90%}
293 295 p.pagination {margin-top:8px;}
294 296
295 297 /***** Tabular forms ******/
296 298 .tabular p{
297 299 margin: 0;
298 300 padding: 5px 0 8px 0;
299 301 padding-left: 180px; /*width of left column containing the label elements*/
300 302 height: 1%;
301 303 clear:left;
302 304 }
303 305
304 306 html>body .tabular p {overflow:hidden;}
305 307
306 308 .tabular label{
307 309 font-weight: bold;
308 310 float: left;
309 311 text-align: right;
310 312 margin-left: -180px; /*width of left column*/
311 313 width: 175px; /*width of labels. Should be smaller than left column to create some right
312 314 margin*/
313 315 }
314 316
315 317 .tabular label.floating{
316 318 font-weight: normal;
317 319 margin-left: 0px;
318 320 text-align: left;
319 321 width: 270px;
320 322 }
321 323
322 324 input#time_entry_comments { width: 90%;}
323 325
324 326 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
325 327
326 328 .tabular.settings p{ padding-left: 300px; }
327 329 .tabular.settings label{ margin-left: -300px; width: 295px; }
328 330
329 331 .required {color: #bb0000;}
330 332 .summary {font-style: italic;}
331 333
332 334 #attachments_fields input[type=text] {margin-left: 8px; }
333 335
334 336 div.attachments { margin-top: 12px; }
335 337 div.attachments p { margin:4px 0 2px 0; }
336 338 div.attachments img { vertical-align: middle; }
337 339 div.attachments span.author { font-size: 0.9em; color: #888; }
338 340
339 341 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
340 342 .other-formats span + span:before { content: "| "; }
341 343
342 344 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
343 345
344 346 /* Project members tab */
345 347 div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
346 348 div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
347 349 div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; }
348 350 div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; }
349 351 div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; }
350 352 div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; }
351 353
352 354 table.members td.group { padding-left: 20px; background: url(../images/users.png) no-repeat 0% 0%; }
353 355
354 356 * html div#tab-content-members fieldset div { height: 450px; }
355 357
356 358 /***** Flash & error messages ****/
357 359 #errorExplanation, div.flash, .nodata, .warning {
358 360 padding: 4px 4px 4px 30px;
359 361 margin-bottom: 12px;
360 362 font-size: 1.1em;
361 363 border: 2px solid;
362 364 }
363 365
364 366 div.flash {margin-top: 8px;}
365 367
366 368 div.flash.error, #errorExplanation {
367 369 background: url(../images/false.png) 8px 5px no-repeat;
368 370 background-color: #ffe3e3;
369 371 border-color: #dd0000;
370 372 color: #550000;
371 373 }
372 374
373 375 div.flash.notice {
374 376 background: url(../images/true.png) 8px 5px no-repeat;
375 377 background-color: #dfffdf;
376 378 border-color: #9fcf9f;
377 379 color: #005f00;
378 380 }
379 381
380 382 div.flash.warning {
381 383 background: url(../images/warning.png) 8px 5px no-repeat;
382 384 background-color: #FFEBC1;
383 385 border-color: #FDBF3B;
384 386 color: #A6750C;
385 387 text-align: left;
386 388 }
387 389
388 390 .nodata, .warning {
389 391 text-align: center;
390 392 background-color: #FFEBC1;
391 393 border-color: #FDBF3B;
392 394 color: #A6750C;
393 395 }
394 396
395 397 #errorExplanation ul { font-size: 0.9em;}
396 398 #errorExplanation h2, #errorExplanation p { display: none; }
397 399
398 400 /***** Ajax indicator ******/
399 401 #ajax-indicator {
400 402 position: absolute; /* fixed not supported by IE */
401 403 background-color:#eee;
402 404 border: 1px solid #bbb;
403 405 top:35%;
404 406 left:40%;
405 407 width:20%;
406 408 font-weight:bold;
407 409 text-align:center;
408 410 padding:0.6em;
409 411 z-index:100;
410 412 filter:alpha(opacity=50);
411 413 opacity: 0.5;
412 414 }
413 415
414 416 html>body #ajax-indicator { position: fixed; }
415 417
416 418 #ajax-indicator span {
417 419 background-position: 0% 40%;
418 420 background-repeat: no-repeat;
419 421 background-image: url(../images/loading.gif);
420 422 padding-left: 26px;
421 423 vertical-align: bottom;
422 424 }
423 425
424 426 /***** Calendar *****/
425 427 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
426 428 table.cal thead th {width: 14%;}
427 429 table.cal tbody tr {height: 100px;}
428 430 table.cal th { background-color:#EEEEEE; padding: 4px; }
429 431 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
430 432 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
431 433 table.cal td.odd p.day-num {color: #bbb;}
432 434 table.cal td.today {background:#ffffdd;}
433 435 table.cal td.today p.day-num {font-weight: bold;}
434 436
435 437 /***** Tooltips ******/
436 438 .tooltip{position:relative;z-index:24;}
437 439 .tooltip:hover{z-index:25;color:#000;}
438 440 .tooltip span.tip{display: none; text-align:left;}
439 441
440 442 div.tooltip:hover span.tip{
441 443 display:block;
442 444 position:absolute;
443 445 top:12px; left:24px; width:270px;
444 446 border:1px solid #555;
445 447 background-color:#fff;
446 448 padding: 4px;
447 449 font-size: 0.8em;
448 450 color:#505050;
449 451 }
450 452
451 453 /***** Progress bar *****/
452 454 table.progress {
453 455 border: 1px solid #D7D7D7;
454 456 border-collapse: collapse;
455 457 border-spacing: 0pt;
456 458 empty-cells: show;
457 459 text-align: center;
458 460 float:left;
459 461 margin: 1px 6px 1px 0px;
460 462 }
461 463
462 464 table.progress td { height: 0.9em; }
463 465 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
464 466 table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
465 467 table.progress td.open { background: #FFF none repeat scroll 0%; }
466 468 p.pourcent {font-size: 80%;}
467 469 p.progress-info {clear: left; font-style: italic; font-size: 80%;}
468 470
469 471 /***** Tabs *****/
470 472 #content .tabs {height: 2.6em; border-bottom: 1px solid #bbbbbb; margin-bottom:1.2em; position:relative;}
471 473 #content .tabs ul {margin:0; position:absolute; bottom:-2px; padding-left:1em;}
472 474 #content .tabs>ul { bottom:-1px; } /* others */
473 475 #content .tabs ul li {
474 476 float:left;
475 477 list-style-type:none;
476 478 white-space:nowrap;
477 479 margin-right:8px;
478 480 background:#fff;
479 481 }
480 482 #content .tabs ul li a{
481 483 display:block;
482 484 font-size: 0.9em;
483 485 text-decoration:none;
484 486 line-height:1.3em;
485 487 padding:4px 6px 4px 6px;
486 488 border: 1px solid #ccc;
487 489 border-bottom: 1px solid #bbbbbb;
488 490 background-color: #eeeeee;
489 491 color:#777;
490 492 font-weight:bold;
491 493 }
492 494
493 495 #content .tabs ul li a:hover {
494 496 background-color: #ffffdd;
495 497 text-decoration:none;
496 498 }
497 499
498 500 #content .tabs ul li a.selected {
499 501 background-color: #fff;
500 502 border: 1px solid #bbbbbb;
501 503 border-bottom: 1px solid #fff;
502 504 }
503 505
504 506 #content .tabs ul li a.selected:hover {
505 507 background-color: #fff;
506 508 }
507 509
508 510 /***** Auto-complete *****/
509 511 div.autocomplete {
510 512 position:absolute;
511 513 width:250px;
512 514 background-color:white;
513 515 margin:0;
514 516 padding:0;
515 517 }
516 518 div.autocomplete ul {
517 519 list-style-type:none;
518 520 margin:0;
519 521 padding:0;
520 522 }
521 523 div.autocomplete ul li.selected { background-color: #ffb;}
522 524 div.autocomplete ul li {
523 525 list-style-type:none;
524 526 display:block;
525 527 margin:0;
526 528 padding:2px;
527 529 cursor:pointer;
528 530 font-size: 90%;
529 531 border-bottom: 1px solid #ccc;
530 532 border-left: 1px solid #ccc;
531 533 border-right: 1px solid #ccc;
532 534 }
533 535 div.autocomplete ul li span.informal {
534 536 font-size: 80%;
535 537 color: #aaa;
536 538 }
537 539
538 540 /***** Diff *****/
539 541 .diff_out { background: #fcc; }
540 542 .diff_in { background: #cfc; }
541 543
542 544 /***** Wiki *****/
543 545 div.wiki table {
544 546 border: 1px solid #505050;
545 547 border-collapse: collapse;
546 548 margin-bottom: 1em;
547 549 }
548 550
549 551 div.wiki table, div.wiki td, div.wiki th {
550 552 border: 1px solid #bbb;
551 553 padding: 4px;
552 554 }
553 555
554 556 div.wiki .external {
555 557 background-position: 0% 60%;
556 558 background-repeat: no-repeat;
557 559 padding-left: 12px;
558 560 background-image: url(../images/external.png);
559 561 }
560 562
561 563 div.wiki a.new {
562 564 color: #b73535;
563 565 }
564 566
565 567 div.wiki pre {
566 568 margin: 1em 1em 1em 1.6em;
567 569 padding: 2px;
568 570 background-color: #fafafa;
569 571 border: 1px solid #dadada;
570 572 width:95%;
571 573 overflow-x: auto;
572 574 }
573 575
574 576 div.wiki ul.toc {
575 577 background-color: #ffffdd;
576 578 border: 1px solid #e4e4e4;
577 579 padding: 4px;
578 580 line-height: 1.2em;
579 581 margin-bottom: 12px;
580 582 margin-right: 12px;
581 583 margin-left: 0;
582 584 display: table
583 585 }
584 586 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
585 587
586 588 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
587 589 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
588 590 div.wiki ul.toc li { list-style-type:none;}
589 591 div.wiki ul.toc li.heading2 { margin-left: 6px; }
590 592 div.wiki ul.toc li.heading3 { margin-left: 12px; font-size: 0.8em; }
591 593
592 594 div.wiki ul.toc a {
593 595 font-size: 0.9em;
594 596 font-weight: normal;
595 597 text-decoration: none;
596 598 color: #606060;
597 599 }
598 600 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
599 601
600 602 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
601 603 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
602 604 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
603 605
604 606 /***** My page layout *****/
605 607 .block-receiver {
606 608 border:1px dashed #c0c0c0;
607 609 margin-bottom: 20px;
608 610 padding: 15px 0 15px 0;
609 611 }
610 612
611 613 .mypage-box {
612 614 margin:0 0 20px 0;
613 615 color:#505050;
614 616 line-height:1.5em;
615 617 }
616 618
617 619 .handle {
618 620 cursor: move;
619 621 }
620 622
621 623 a.close-icon {
622 624 display:block;
623 625 margin-top:3px;
624 626 overflow:hidden;
625 627 width:12px;
626 628 height:12px;
627 629 background-repeat: no-repeat;
628 630 cursor:pointer;
629 631 background-image:url('../images/close.png');
630 632 }
631 633
632 634 a.close-icon:hover {
633 635 background-image:url('../images/close_hl.png');
634 636 }
635 637
636 638 /***** Gantt chart *****/
637 639 .gantt_hdr {
638 640 position:absolute;
639 641 top:0;
640 642 height:16px;
641 643 border-top: 1px solid #c0c0c0;
642 644 border-bottom: 1px solid #c0c0c0;
643 645 border-right: 1px solid #c0c0c0;
644 646 text-align: center;
645 647 overflow: hidden;
646 648 }
647 649
648 650 .task {
649 651 position: absolute;
650 652 height:8px;
651 653 font-size:0.8em;
652 654 color:#888;
653 655 padding:0;
654 656 margin:0;
655 657 line-height:0.8em;
656 658 }
657 659
658 660 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
659 661 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
660 662 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
661 663 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
662 664
663 665 /***** Icons *****/
664 666 .icon {
665 667 background-position: 0% 40%;
666 668 background-repeat: no-repeat;
667 669 padding-left: 20px;
668 670 padding-top: 2px;
669 671 padding-bottom: 3px;
670 672 }
671 673
672 674 .icon22 {
673 675 background-position: 0% 40%;
674 676 background-repeat: no-repeat;
675 677 padding-left: 26px;
676 678 line-height: 22px;
677 679 vertical-align: middle;
678 680 }
679 681
680 682 .icon-add { background-image: url(../images/add.png); }
681 683 .icon-edit { background-image: url(../images/edit.png); }
682 684 .icon-copy { background-image: url(../images/copy.png); }
683 685 .icon-del { background-image: url(../images/delete.png); }
684 686 .icon-move { background-image: url(../images/move.png); }
685 687 .icon-save { background-image: url(../images/save.png); }
686 688 .icon-cancel { background-image: url(../images/cancel.png); }
687 689 .icon-folder { background-image: url(../images/folder.png); }
688 690 .open .icon-folder { background-image: url(../images/folder_open.png); }
689 691 .icon-package { background-image: url(../images/package.png); }
690 692 .icon-home { background-image: url(../images/home.png); }
691 693 .icon-user { background-image: url(../images/user.png); }
692 694 .icon-mypage { background-image: url(../images/user_page.png); }
693 695 .icon-admin { background-image: url(../images/admin.png); }
694 696 .icon-projects { background-image: url(../images/projects.png); }
695 697 .icon-help { background-image: url(../images/help.png); }
696 698 .icon-attachment { background-image: url(../images/attachment.png); }
697 699 .icon-index { background-image: url(../images/index.png); }
698 700 .icon-history { background-image: url(../images/history.png); }
699 701 .icon-time { background-image: url(../images/time.png); }
700 702 .icon-time-add { background-image: url(../images/time_add.png); }
701 703 .icon-stats { background-image: url(../images/stats.png); }
702 704 .icon-warning { background-image: url(../images/warning.png); }
703 705 .icon-fav { background-image: url(../images/fav.png); }
704 706 .icon-fav-off { background-image: url(../images/fav_off.png); }
705 707 .icon-reload { background-image: url(../images/reload.png); }
706 708 .icon-lock { background-image: url(../images/locked.png); }
707 709 .icon-unlock { background-image: url(../images/unlock.png); }
708 710 .icon-checked { background-image: url(../images/true.png); }
709 711 .icon-details { background-image: url(../images/zoom_in.png); }
710 712 .icon-report { background-image: url(../images/report.png); }
711 713 .icon-comment { background-image: url(../images/comment.png); }
712 714
713 715 .icon-file { background-image: url(../images/files/default.png); }
714 716 .icon-file.text-plain { background-image: url(../images/files/text.png); }
715 717 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
716 718 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
717 719 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
718 720 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
719 721 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
720 722 .icon-file.image-gif { background-image: url(../images/files/image.png); }
721 723 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
722 724 .icon-file.image-png { background-image: url(../images/files/image.png); }
723 725 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
724 726 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
725 727 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
726 728 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
727 729
728 730 .icon22-projects { background-image: url(../images/22x22/projects.png); }
729 731 .icon22-users { background-image: url(../images/22x22/users.png); }
730 732 .icon22-groups { background-image: url(../images/22x22/groups.png); }
731 733 .icon22-tracker { background-image: url(../images/22x22/tracker.png); }
732 734 .icon22-role { background-image: url(../images/22x22/role.png); }
733 735 .icon22-workflow { background-image: url(../images/22x22/workflow.png); }
734 736 .icon22-options { background-image: url(../images/22x22/options.png); }
735 737 .icon22-notifications { background-image: url(../images/22x22/notifications.png); }
736 738 .icon22-authent { background-image: url(../images/22x22/authent.png); }
737 739 .icon22-info { background-image: url(../images/22x22/info.png); }
738 740 .icon22-comment { background-image: url(../images/22x22/comment.png); }
739 741 .icon22-package { background-image: url(../images/22x22/package.png); }
740 742 .icon22-settings { background-image: url(../images/22x22/settings.png); }
741 743 .icon22-plugin { background-image: url(../images/22x22/plugin.png); }
742 744
743 745 img.gravatar {
744 746 padding: 2px;
745 747 border: solid 1px #d5d5d5;
746 748 background: #fff;
747 749 }
748 750
749 751 div.issue img.gravatar {
750 752 float: right;
751 753 margin: 0 0 0 1em;
752 754 padding: 5px;
753 755 }
754 756
755 757 div.issue table img.gravatar {
756 758 height: 14px;
757 759 width: 14px;
758 760 padding: 2px;
759 761 float: left;
760 762 margin: 0 0.5em 0 0;
761 763 }
762 764
763 765 #history img.gravatar {
764 766 padding: 3px;
765 767 margin: 0 1.5em 1em 0;
766 768 float: left;
767 769 }
768 770
769 771 td.username img.gravatar {
770 772 float: left;
771 773 margin: 0 1em 0 0;
772 774 }
773 775
774 776 #activity dt img.gravatar {
775 777 float: left;
776 778 margin: 0 1em 1em 0;
777 779 }
778 780
779 781 #activity dt,
780 782 .journal {
781 783 clear: left;
782 784 }
783 785
784 786 .gravatar-margin {
785 787 margin-left: 40px;
786 788 }
787 789
788 790 h2 img { vertical-align:middle; }
789 791
790 792
791 793 /***** Media print specific styles *****/
792 794 @media print {
793 795 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
794 796 #main { background: #fff; }
795 797 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
796 798 #wiki_add_attachment { display:none; }
797 799 }
@@ -1,97 +1,97
1 1 ---
2 2 custom_values_006:
3 3 customized_type: Issue
4 4 custom_field_id: 2
5 5 customized_id: 3
6 6 id: 6
7 7 value: "125"
8 8 custom_values_007:
9 9 customized_type: Project
10 10 custom_field_id: 3
11 11 customized_id: 1
12 12 id: 7
13 13 value: Stable
14 14 custom_values_001:
15 15 customized_type: Principal
16 16 custom_field_id: 4
17 17 customized_id: 3
18 18 id: 1
19 19 value: ""
20 20 custom_values_002:
21 21 customized_type: Principal
22 22 custom_field_id: 4
23 23 customized_id: 4
24 24 id: 2
25 25 value: 01 23 45 67 89
26 26 custom_values_003:
27 27 customized_type: Principal
28 28 custom_field_id: 4
29 29 customized_id: 2
30 30 id: 3
31 31 value: ""
32 32 custom_values_004:
33 33 customized_type: Issue
34 34 custom_field_id: 2
35 35 customized_id: 1
36 36 id: 4
37 37 value: "125"
38 38 custom_values_005:
39 39 customized_type: Issue
40 40 custom_field_id: 2
41 41 customized_id: 2
42 42 id: 5
43 43 value: ""
44 44 custom_values_008:
45 45 customized_type: Issue
46 46 custom_field_id: 1
47 47 customized_id: 3
48 48 id: 8
49 49 value: "MySQL"
50 50 custom_values_009:
51 51 customized_type: Issue
52 52 custom_field_id: 2
53 53 customized_id: 3
54 54 id: 9
55 55 value: "this is a stringforcustomfield search"
56 56 custom_values_010:
57 57 customized_type: Issue
58 58 custom_field_id: 6
59 59 customized_id: 1
60 60 id: 10
61 61 value: "2.1"
62 62 custom_values_011:
63 63 customized_type: Issue
64 64 custom_field_id: 6
65 65 customized_id: 2
66 66 id: 11
67 67 value: "2.05"
68 68 custom_values_012:
69 69 customized_type: Issue
70 70 custom_field_id: 6
71 71 customized_id: 3
72 72 id: 12
73 73 value: "11.65"
74 74 custom_values_013:
75 75 customized_type: Issue
76 76 custom_field_id: 6
77 77 customized_id: 7
78 78 id: 13
79 79 value: ""
80 80 custom_values_014:
81 81 customized_type: Issue
82 82 custom_field_id: 6
83 83 customized_id: 5
84 84 id: 14
85 85 value: "-7.6"
86 86 custom_values_015:
87 customized_type: TimeEntryActivity
87 customized_type: Enumeration
88 88 custom_field_id: 7
89 89 customized_id: 10
90 90 id: 15
91 91 value: true
92 92 custom_values_016:
93 93 customized_type: Enumeration
94 94 custom_field_id: 7
95 95 customized_id: 11
96 96 id: 16
97 value: true
97 value: '1'
General Comments 0
You need to be logged in to leave comments. Login now