##// END OF EJS Templates
Display shared versions in project settings (#4357)....
Jean-Philippe Lang -
r3019:efeebd427875
parent child
Show More
1 NO CONTENT: new file 100644, binary diff hidden
@@ -1,39 +1,41
1 <% if @project.versions.any? %>
1 <% if @project.shared_versions.any? %>
2 2 <table class="list versions">
3 3 <thead>
4 4 <th><%= l(:label_version) %></th>
5 5 <th><%= l(:field_effective_date) %></th>
6 6 <th><%= l(:field_description) %></th>
7 7 <th><%= l(:field_status) %></th>
8 8 <th><%= l(:field_sharing) %></th>
9 9 <th><%= l(:label_wiki_page) unless @project.wiki.nil? %></th>
10 10 <th style="width:15%"></th>
11 11 </thead>
12 12 <tbody>
13 <% for version in @project.versions.sort %>
14 <tr class="version <%= cycle 'odd', 'even' %> <%=h version.status %>">
15 <td><%= link_to h(version.name), :controller => 'versions', :action => 'show', :id => version %></td>
16 <td align="center"><%= format_date(version.effective_date) %></td>
17 <td><%=h version.description %></td>
18 <td><%= l("version_status_#{version.status}") %></td>
19 <td><%=h format_version_sharing(version.sharing) %></td>
13 <% for version in @project.shared_versions.sort %>
14 <tr class="version <%= cycle 'odd', 'even' %> <%=h version.status %> <%= 'shared' if version.project != @project %>">
15 <td class="name"><%= link_to_version version %></td>
16 <td class="date"><%= format_date(version.effective_date) %></td>
17 <td class="description"><%=h version.description %></td>
18 <td class="status"><%= l("version_status_#{version.status}") %></td>
19 <td class="sharing"><%=h format_version_sharing(version.sharing) %></td>
20 20 <td><%= link_to(h(version.wiki_page_title), :controller => 'wiki', :page => Wiki.titleize(version.wiki_page_title)) unless version.wiki_page_title.blank? || @project.wiki.nil? %></td>
21 21 <td class="buttons">
22 <% if version.project == @project %>
22 23 <%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => version }, :class => 'icon icon-edit' %>
23 24 <%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy', :id => version}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
25 <% end %>
24 26 </td>
25 27 </tr>
26 28 <% end; reset_cycle %>
27 29 </tbody>
28 30 </table>
29 31 <% else %>
30 32 <p class="nodata"><%= l(:label_no_data) %></p>
31 33 <% end %>
32 34
33 35 <div class="contextual">
34 36 <% if @project.versions.any? %>
35 37 <%= link_to 'Close completed versions', {:controller => 'versions', :action => 'close_completed', :project_id => @project}, :method => :post %>
36 38 <% end %>
37 39 </div>
38 40
39 41 <p><%= link_to_if_authorized l(:label_version_new), :controller => 'projects', :action => 'add_version', :id => @project %></p>
@@ -1,812 +1,815
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.version.closed, tr.version.closed a { color: #999; }
128 tr.version td.name { padding-left: 20px; }
129 tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
130 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; }
128 131
129 132 tr.user td { width:13%; }
130 133 tr.user td.email { width:18%; }
131 134 tr.user td { white-space: nowrap; }
132 135 tr.user.locked, tr.user.registered { color: #aaa; }
133 136 tr.user.locked a, tr.user.registered a { color: #aaa; }
134 137
135 138 tr.time-entry { text-align: center; white-space: nowrap; }
136 139 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
137 140 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
138 141 td.hours .hours-dec { font-size: 0.9em; }
139 142
140 143 table.plugins td { vertical-align: middle; }
141 144 table.plugins td.configure { text-align: right; padding-right: 1em; }
142 145 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
143 146 table.plugins span.description { display: block; font-size: 0.9em; }
144 147 table.plugins span.url { display: block; font-size: 0.9em; }
145 148
146 149 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
147 150 table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
148 151
149 152 table.list tbody tr:hover { background-color:#ffffdd; }
150 153 table.list tbody tr.group:hover { background-color:inherit; }
151 154 table td {padding:2px;}
152 155 table p {margin:0;}
153 156 .odd {background-color:#f6f7f8;}
154 157 .even {background-color: #fff;}
155 158
156 159 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
157 160 a.sort.asc { background-image: url(../images/sort_asc.png); }
158 161 a.sort.desc { background-image: url(../images/sort_desc.png); }
159 162
160 163 table.attributes { width: 100% }
161 164 table.attributes th { vertical-align: top; text-align: left; }
162 165 table.attributes td { vertical-align: top; }
163 166
164 167 td.center {text-align:center;}
165 168
166 169 .highlight { background-color: #FCFD8D;}
167 170 .highlight.token-1 { background-color: #faa;}
168 171 .highlight.token-2 { background-color: #afa;}
169 172 .highlight.token-3 { background-color: #aaf;}
170 173
171 174 .box{
172 175 padding:6px;
173 176 margin-bottom: 10px;
174 177 background-color:#f6f6f6;
175 178 color:#505050;
176 179 line-height:1.5em;
177 180 border: 1px solid #e4e4e4;
178 181 }
179 182
180 183 div.square {
181 184 border: 1px solid #999;
182 185 float: left;
183 186 margin: .3em .4em 0 .4em;
184 187 overflow: hidden;
185 188 width: .6em; height: .6em;
186 189 }
187 190 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
188 191 .contextual input, .contextual select {font-size:0.9em;}
189 192 .message .contextual { margin-top: 0; }
190 193
191 194 .splitcontentleft{float:left; width:49%;}
192 195 .splitcontentright{float:right; width:49%;}
193 196 form {display: inline;}
194 197 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
195 198 fieldset {border: 1px solid #e4e4e4; margin:0;}
196 199 legend {color: #484848;}
197 200 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
198 201 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
199 202 blockquote blockquote { margin-left: 0;}
200 203 acronym { border-bottom: 1px dotted; cursor: help; }
201 204 textarea.wiki-edit { width: 99%; }
202 205 li p {margin-top: 0;}
203 206 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
204 207 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
205 208 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
206 209 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
207 210
208 211 fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
209 212 fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
210 213 fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); }
211 214
212 215 fieldset#date-range p { margin: 2px 0 2px 0; }
213 216 fieldset#filters table { border-collapse: collapse; }
214 217 fieldset#filters table td { padding: 0; vertical-align: middle; }
215 218 fieldset#filters tr.filter { height: 2em; }
216 219 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
217 220 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
218 221
219 222 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
220 223 div#issue-changesets .changeset { padding: 4px;}
221 224 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
222 225 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
223 226
224 227 div#activity dl, #search-results { margin-left: 2em; }
225 228 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
226 229 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
227 230 div#activity dt.me .time { border-bottom: 1px solid #999; }
228 231 div#activity dt .time { color: #777; font-size: 80%; }
229 232 div#activity dd .description, #search-results dd .description { font-style: italic; }
230 233 div#activity span.project:after, #search-results span.project:after { content: " -"; }
231 234 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
232 235
233 236 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
234 237
235 238 div#search-results-counts {float:right;}
236 239 div#search-results-counts ul { margin-top: 0.5em; }
237 240 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
238 241
239 242 dt.issue { background-image: url(../images/ticket.png); }
240 243 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
241 244 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
242 245 dt.issue-note { background-image: url(../images/ticket_note.png); }
243 246 dt.changeset { background-image: url(../images/changeset.png); }
244 247 dt.news { background-image: url(../images/news.png); }
245 248 dt.message { background-image: url(../images/message.png); }
246 249 dt.reply { background-image: url(../images/comments.png); }
247 250 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
248 251 dt.attachment { background-image: url(../images/attachment.png); }
249 252 dt.document { background-image: url(../images/document.png); }
250 253 dt.project { background-image: url(../images/projects.png); }
251 254 dt.time-entry { background-image: url(../images/time.png); }
252 255
253 256 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
254 257
255 258 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
256 259 div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }
257 260 div#roadmap .wiki h1:first-child { display: none; }
258 261 div#roadmap .wiki h1 { font-size: 120%; }
259 262 div#roadmap .wiki h2 { font-size: 110%; }
260 263
261 264 div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
262 265 div#version-summary fieldset { margin-bottom: 1em; }
263 266 div#version-summary .total-hours { text-align: right; }
264 267
265 268 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
266 269 table#time-report tbody tr { font-style: italic; color: #777; }
267 270 table#time-report tbody tr.last-level { font-style: normal; color: #555; }
268 271 table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
269 272 table#time-report .hours-dec { font-size: 0.9em; }
270 273
271 274 form#issue-form .attributes { margin-bottom: 8px; }
272 275 form#issue-form .attributes p { padding-top: 1px; padding-bottom: 2px; }
273 276 form#issue-form .attributes select { min-width: 30%; }
274 277
275 278 ul.projects { margin: 0; padding-left: 1em; }
276 279 ul.projects.root { margin: 0; padding: 0; }
277 280 ul.projects ul { border-left: 3px solid #e0e0e0; }
278 281 ul.projects li { list-style-type:none; }
279 282 ul.projects li.root { margin-bottom: 1em; }
280 283 ul.projects li.child { margin-top: 1em;}
281 284 ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
282 285 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
283 286
284 287 #tracker_project_ids ul { margin: 0; padding-left: 1em; }
285 288 #tracker_project_ids li { list-style-type:none; }
286 289
287 290 ul.properties {padding:0; font-size: 0.9em; color: #777;}
288 291 ul.properties li {list-style-type:none;}
289 292 ul.properties li span {font-style:italic;}
290 293
291 294 .total-hours { font-size: 110%; font-weight: bold; }
292 295 .total-hours span.hours-int { font-size: 120%; }
293 296
294 297 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
295 298 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
296 299
297 300 .pagination {font-size: 90%}
298 301 p.pagination {margin-top:8px;}
299 302
300 303 /***** Tabular forms ******/
301 304 .tabular p{
302 305 margin: 0;
303 306 padding: 5px 0 8px 0;
304 307 padding-left: 180px; /*width of left column containing the label elements*/
305 308 height: 1%;
306 309 clear:left;
307 310 }
308 311
309 312 html>body .tabular p {overflow:hidden;}
310 313
311 314 .tabular label{
312 315 font-weight: bold;
313 316 float: left;
314 317 text-align: right;
315 318 margin-left: -180px; /*width of left column*/
316 319 width: 175px; /*width of labels. Should be smaller than left column to create some right
317 320 margin*/
318 321 }
319 322
320 323 .tabular label.floating{
321 324 font-weight: normal;
322 325 margin-left: 0px;
323 326 text-align: left;
324 327 width: 270px;
325 328 }
326 329
327 330 .tabular label.block{
328 331 font-weight: normal;
329 332 margin-left: 0px !important;
330 333 text-align: left;
331 334 float: none;
332 335 display: block;
333 336 width: auto;
334 337 }
335 338
336 339 input#time_entry_comments { width: 90%;}
337 340
338 341 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
339 342
340 343 .tabular.settings p{ padding-left: 300px; }
341 344 .tabular.settings label{ margin-left: -300px; width: 295px; }
342 345
343 346 .required {color: #bb0000;}
344 347 .summary {font-style: italic;}
345 348
346 349 #attachments_fields input[type=text] {margin-left: 8px; }
347 350
348 351 div.attachments { margin-top: 12px; }
349 352 div.attachments p { margin:4px 0 2px 0; }
350 353 div.attachments img { vertical-align: middle; }
351 354 div.attachments span.author { font-size: 0.9em; color: #888; }
352 355
353 356 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
354 357 .other-formats span + span:before { content: "| "; }
355 358
356 359 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
357 360
358 361 /* Project members tab */
359 362 div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
360 363 div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
361 364 div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; }
362 365 div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; }
363 366 div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; }
364 367 div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; }
365 368
366 369 table.members td.group { padding-left: 20px; background: url(../images/users.png) no-repeat 0% 0%; }
367 370
368 371 * html div#tab-content-members fieldset div { height: 450px; }
369 372
370 373 /***** Flash & error messages ****/
371 374 #errorExplanation, div.flash, .nodata, .warning {
372 375 padding: 4px 4px 4px 30px;
373 376 margin-bottom: 12px;
374 377 font-size: 1.1em;
375 378 border: 2px solid;
376 379 }
377 380
378 381 div.flash {margin-top: 8px;}
379 382
380 383 div.flash.error, #errorExplanation {
381 384 background: url(../images/false.png) 8px 5px no-repeat;
382 385 background-color: #ffe3e3;
383 386 border-color: #dd0000;
384 387 color: #550000;
385 388 }
386 389
387 390 div.flash.notice {
388 391 background: url(../images/true.png) 8px 5px no-repeat;
389 392 background-color: #dfffdf;
390 393 border-color: #9fcf9f;
391 394 color: #005f00;
392 395 }
393 396
394 397 div.flash.warning {
395 398 background: url(../images/warning.png) 8px 5px no-repeat;
396 399 background-color: #FFEBC1;
397 400 border-color: #FDBF3B;
398 401 color: #A6750C;
399 402 text-align: left;
400 403 }
401 404
402 405 .nodata, .warning {
403 406 text-align: center;
404 407 background-color: #FFEBC1;
405 408 border-color: #FDBF3B;
406 409 color: #A6750C;
407 410 }
408 411
409 412 #errorExplanation ul { font-size: 0.9em;}
410 413 #errorExplanation h2, #errorExplanation p { display: none; }
411 414
412 415 /***** Ajax indicator ******/
413 416 #ajax-indicator {
414 417 position: absolute; /* fixed not supported by IE */
415 418 background-color:#eee;
416 419 border: 1px solid #bbb;
417 420 top:35%;
418 421 left:40%;
419 422 width:20%;
420 423 font-weight:bold;
421 424 text-align:center;
422 425 padding:0.6em;
423 426 z-index:100;
424 427 filter:alpha(opacity=50);
425 428 opacity: 0.5;
426 429 }
427 430
428 431 html>body #ajax-indicator { position: fixed; }
429 432
430 433 #ajax-indicator span {
431 434 background-position: 0% 40%;
432 435 background-repeat: no-repeat;
433 436 background-image: url(../images/loading.gif);
434 437 padding-left: 26px;
435 438 vertical-align: bottom;
436 439 }
437 440
438 441 /***** Calendar *****/
439 442 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
440 443 table.cal thead th {width: 14%;}
441 444 table.cal tbody tr {height: 100px;}
442 445 table.cal th { background-color:#EEEEEE; padding: 4px; }
443 446 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
444 447 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
445 448 table.cal td.odd p.day-num {color: #bbb;}
446 449 table.cal td.today {background:#ffffdd;}
447 450 table.cal td.today p.day-num {font-weight: bold;}
448 451
449 452 /***** Tooltips ******/
450 453 .tooltip{position:relative;z-index:24;}
451 454 .tooltip:hover{z-index:25;color:#000;}
452 455 .tooltip span.tip{display: none; text-align:left;}
453 456
454 457 div.tooltip:hover span.tip{
455 458 display:block;
456 459 position:absolute;
457 460 top:12px; left:24px; width:270px;
458 461 border:1px solid #555;
459 462 background-color:#fff;
460 463 padding: 4px;
461 464 font-size: 0.8em;
462 465 color:#505050;
463 466 }
464 467
465 468 /***** Progress bar *****/
466 469 table.progress {
467 470 border: 1px solid #D7D7D7;
468 471 border-collapse: collapse;
469 472 border-spacing: 0pt;
470 473 empty-cells: show;
471 474 text-align: center;
472 475 float:left;
473 476 margin: 1px 6px 1px 0px;
474 477 }
475 478
476 479 table.progress td { height: 0.9em; }
477 480 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
478 481 table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
479 482 table.progress td.open { background: #FFF none repeat scroll 0%; }
480 483 p.pourcent {font-size: 80%;}
481 484 p.progress-info {clear: left; font-style: italic; font-size: 80%;}
482 485
483 486 /***** Tabs *****/
484 487 #content .tabs {height: 2.6em; border-bottom: 1px solid #bbbbbb; margin-bottom:1.2em; position:relative;}
485 488 #content .tabs ul {margin:0; position:absolute; bottom:-2px; padding-left:1em;}
486 489 #content .tabs>ul { bottom:-1px; } /* others */
487 490 #content .tabs ul li {
488 491 float:left;
489 492 list-style-type:none;
490 493 white-space:nowrap;
491 494 margin-right:8px;
492 495 background:#fff;
493 496 }
494 497 #content .tabs ul li a{
495 498 display:block;
496 499 font-size: 0.9em;
497 500 text-decoration:none;
498 501 line-height:1.3em;
499 502 padding:4px 6px 4px 6px;
500 503 border: 1px solid #ccc;
501 504 border-bottom: 1px solid #bbbbbb;
502 505 background-color: #eeeeee;
503 506 color:#777;
504 507 font-weight:bold;
505 508 }
506 509
507 510 #content .tabs ul li a:hover {
508 511 background-color: #ffffdd;
509 512 text-decoration:none;
510 513 }
511 514
512 515 #content .tabs ul li a.selected {
513 516 background-color: #fff;
514 517 border: 1px solid #bbbbbb;
515 518 border-bottom: 1px solid #fff;
516 519 }
517 520
518 521 #content .tabs ul li a.selected:hover {
519 522 background-color: #fff;
520 523 }
521 524
522 525 /***** Auto-complete *****/
523 526 div.autocomplete {
524 527 position:absolute;
525 528 width:250px;
526 529 background-color:white;
527 530 margin:0;
528 531 padding:0;
529 532 }
530 533 div.autocomplete ul {
531 534 list-style-type:none;
532 535 margin:0;
533 536 padding:0;
534 537 }
535 538 div.autocomplete ul li.selected { background-color: #ffb;}
536 539 div.autocomplete ul li {
537 540 list-style-type:none;
538 541 display:block;
539 542 margin:0;
540 543 padding:2px;
541 544 cursor:pointer;
542 545 font-size: 90%;
543 546 border-bottom: 1px solid #ccc;
544 547 border-left: 1px solid #ccc;
545 548 border-right: 1px solid #ccc;
546 549 }
547 550 div.autocomplete ul li span.informal {
548 551 font-size: 80%;
549 552 color: #aaa;
550 553 }
551 554
552 555 /***** Diff *****/
553 556 .diff_out { background: #fcc; }
554 557 .diff_in { background: #cfc; }
555 558
556 559 /***** Wiki *****/
557 560 div.wiki table {
558 561 border: 1px solid #505050;
559 562 border-collapse: collapse;
560 563 margin-bottom: 1em;
561 564 }
562 565
563 566 div.wiki table, div.wiki td, div.wiki th {
564 567 border: 1px solid #bbb;
565 568 padding: 4px;
566 569 }
567 570
568 571 div.wiki .external {
569 572 background-position: 0% 60%;
570 573 background-repeat: no-repeat;
571 574 padding-left: 12px;
572 575 background-image: url(../images/external.png);
573 576 }
574 577
575 578 div.wiki a.new {
576 579 color: #b73535;
577 580 }
578 581
579 582 div.wiki pre {
580 583 margin: 1em 1em 1em 1.6em;
581 584 padding: 2px;
582 585 background-color: #fafafa;
583 586 border: 1px solid #dadada;
584 587 width:95%;
585 588 overflow-x: auto;
586 589 }
587 590
588 591 div.wiki ul.toc {
589 592 background-color: #ffffdd;
590 593 border: 1px solid #e4e4e4;
591 594 padding: 4px;
592 595 line-height: 1.2em;
593 596 margin-bottom: 12px;
594 597 margin-right: 12px;
595 598 margin-left: 0;
596 599 display: table
597 600 }
598 601 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
599 602
600 603 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
601 604 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
602 605 div.wiki ul.toc li { list-style-type:none;}
603 606 div.wiki ul.toc li.heading2 { margin-left: 6px; }
604 607 div.wiki ul.toc li.heading3 { margin-left: 12px; font-size: 0.8em; }
605 608
606 609 div.wiki ul.toc a {
607 610 font-size: 0.9em;
608 611 font-weight: normal;
609 612 text-decoration: none;
610 613 color: #606060;
611 614 }
612 615 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
613 616
614 617 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
615 618 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
616 619 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
617 620
618 621 /***** My page layout *****/
619 622 .block-receiver {
620 623 border:1px dashed #c0c0c0;
621 624 margin-bottom: 20px;
622 625 padding: 15px 0 15px 0;
623 626 }
624 627
625 628 .mypage-box {
626 629 margin:0 0 20px 0;
627 630 color:#505050;
628 631 line-height:1.5em;
629 632 }
630 633
631 634 .handle {
632 635 cursor: move;
633 636 }
634 637
635 638 a.close-icon {
636 639 display:block;
637 640 margin-top:3px;
638 641 overflow:hidden;
639 642 width:12px;
640 643 height:12px;
641 644 background-repeat: no-repeat;
642 645 cursor:pointer;
643 646 background-image:url('../images/close.png');
644 647 }
645 648
646 649 a.close-icon:hover {
647 650 background-image:url('../images/close_hl.png');
648 651 }
649 652
650 653 /***** Gantt chart *****/
651 654 .gantt_hdr {
652 655 position:absolute;
653 656 top:0;
654 657 height:16px;
655 658 border-top: 1px solid #c0c0c0;
656 659 border-bottom: 1px solid #c0c0c0;
657 660 border-right: 1px solid #c0c0c0;
658 661 text-align: center;
659 662 overflow: hidden;
660 663 }
661 664
662 665 .task {
663 666 position: absolute;
664 667 height:8px;
665 668 font-size:0.8em;
666 669 color:#888;
667 670 padding:0;
668 671 margin:0;
669 672 line-height:0.8em;
670 673 }
671 674
672 675 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
673 676 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
674 677 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
675 678 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
676 679
677 680 /***** Icons *****/
678 681 .icon {
679 682 background-position: 0% 40%;
680 683 background-repeat: no-repeat;
681 684 padding-left: 20px;
682 685 padding-top: 2px;
683 686 padding-bottom: 3px;
684 687 }
685 688
686 689 .icon22 {
687 690 background-position: 0% 40%;
688 691 background-repeat: no-repeat;
689 692 padding-left: 26px;
690 693 line-height: 22px;
691 694 vertical-align: middle;
692 695 }
693 696
694 697 .icon-add { background-image: url(../images/add.png); }
695 698 .icon-edit { background-image: url(../images/edit.png); }
696 699 .icon-copy { background-image: url(../images/copy.png); }
697 700 .icon-duplicate { background-image: url(../images/duplicate.png); }
698 701 .icon-del { background-image: url(../images/delete.png); }
699 702 .icon-move { background-image: url(../images/move.png); }
700 703 .icon-save { background-image: url(../images/save.png); }
701 704 .icon-cancel { background-image: url(../images/cancel.png); }
702 705 .icon-folder { background-image: url(../images/folder.png); }
703 706 .open .icon-folder { background-image: url(../images/folder_open.png); }
704 707 .icon-package { background-image: url(../images/package.png); }
705 708 .icon-home { background-image: url(../images/home.png); }
706 709 .icon-user { background-image: url(../images/user.png); }
707 710 .icon-mypage { background-image: url(../images/user_page.png); }
708 711 .icon-admin { background-image: url(../images/admin.png); }
709 712 .icon-projects { background-image: url(../images/projects.png); }
710 713 .icon-help { background-image: url(../images/help.png); }
711 714 .icon-attachment { background-image: url(../images/attachment.png); }
712 715 .icon-index { background-image: url(../images/index.png); }
713 716 .icon-history { background-image: url(../images/history.png); }
714 717 .icon-time { background-image: url(../images/time.png); }
715 718 .icon-time-add { background-image: url(../images/time_add.png); }
716 719 .icon-stats { background-image: url(../images/stats.png); }
717 720 .icon-warning { background-image: url(../images/warning.png); }
718 721 .icon-fav { background-image: url(../images/fav.png); }
719 722 .icon-fav-off { background-image: url(../images/fav_off.png); }
720 723 .icon-reload { background-image: url(../images/reload.png); }
721 724 .icon-lock { background-image: url(../images/locked.png); }
722 725 .icon-unlock { background-image: url(../images/unlock.png); }
723 726 .icon-checked { background-image: url(../images/true.png); }
724 727 .icon-details { background-image: url(../images/zoom_in.png); }
725 728 .icon-report { background-image: url(../images/report.png); }
726 729 .icon-comment { background-image: url(../images/comment.png); }
727 730
728 731 .icon-file { background-image: url(../images/files/default.png); }
729 732 .icon-file.text-plain { background-image: url(../images/files/text.png); }
730 733 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
731 734 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
732 735 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
733 736 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
734 737 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
735 738 .icon-file.image-gif { background-image: url(../images/files/image.png); }
736 739 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
737 740 .icon-file.image-png { background-image: url(../images/files/image.png); }
738 741 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
739 742 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
740 743 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
741 744 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
742 745
743 746 .icon22-projects { background-image: url(../images/22x22/projects.png); }
744 747 .icon22-users { background-image: url(../images/22x22/users.png); }
745 748 .icon22-groups { background-image: url(../images/22x22/groups.png); }
746 749 .icon22-tracker { background-image: url(../images/22x22/tracker.png); }
747 750 .icon22-role { background-image: url(../images/22x22/role.png); }
748 751 .icon22-workflow { background-image: url(../images/22x22/workflow.png); }
749 752 .icon22-options { background-image: url(../images/22x22/options.png); }
750 753 .icon22-notifications { background-image: url(../images/22x22/notifications.png); }
751 754 .icon22-authent { background-image: url(../images/22x22/authent.png); }
752 755 .icon22-info { background-image: url(../images/22x22/info.png); }
753 756 .icon22-comment { background-image: url(../images/22x22/comment.png); }
754 757 .icon22-package { background-image: url(../images/22x22/package.png); }
755 758 .icon22-settings { background-image: url(../images/22x22/settings.png); }
756 759 .icon22-plugin { background-image: url(../images/22x22/plugin.png); }
757 760
758 761 img.gravatar {
759 762 padding: 2px;
760 763 border: solid 1px #d5d5d5;
761 764 background: #fff;
762 765 }
763 766
764 767 div.issue img.gravatar {
765 768 float: right;
766 769 margin: 0 0 0 1em;
767 770 padding: 5px;
768 771 }
769 772
770 773 div.issue table img.gravatar {
771 774 height: 14px;
772 775 width: 14px;
773 776 padding: 2px;
774 777 float: left;
775 778 margin: 0 0.5em 0 0;
776 779 }
777 780
778 781 #history img.gravatar {
779 782 padding: 3px;
780 783 margin: 0 1.5em 1em 0;
781 784 float: left;
782 785 }
783 786
784 787 td.username img.gravatar {
785 788 float: left;
786 789 margin: 0 1em 0 0;
787 790 }
788 791
789 792 #activity dt img.gravatar {
790 793 float: left;
791 794 margin: 0 1em 1em 0;
792 795 }
793 796
794 797 #activity dt,
795 798 .journal {
796 799 clear: left;
797 800 }
798 801
799 802 .gravatar-margin {
800 803 margin-left: 40px;
801 804 }
802 805
803 806 h2 img { vertical-align:middle; }
804 807
805 808
806 809 /***** Media print specific styles *****/
807 810 @media print {
808 811 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
809 812 #main { background: #fff; }
810 813 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
811 814 #wiki_add_attachment { display:none; }
812 815 }
General Comments 0
You need to be logged in to leave comments. Login now