Defect #30236 » feature-30236.patch
app/views/issues/_list.html.erb | ||
---|---|---|
31 | 31 |
</tr> |
32 | 32 |
<% end %> |
33 | 33 |
<tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> |
34 |
<td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td>
|
|
34 |
<td class="checkbox hide-when-print"><label><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></label></td>
|
|
35 | 35 |
<% query.inline_columns.each do |column| %> |
36 | 36 |
<%= content_tag('td', column_content(column, issue), :class => column.css_classes) %> |
37 | 37 |
<% end %> |
app/views/timelog/_list.html.erb | ||
---|---|---|
32 | 32 |
</tr> |
33 | 33 |
<% end %> |
34 | 34 |
<tr id="time-entry-<%= entry.id %>" class="time-entry <%= cycle("odd", "even") %> hascontextmenu"> |
35 |
<td class="checkbox hide-when-print"><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></td>
|
|
35 |
<td class="checkbox hide-when-print"><label><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></label></td>
|
|
36 | 36 |
<% @query.inline_columns.each do |column| %> |
37 | 37 |
<%= content_tag('td', column_content(column, entry), :class => column.css_classes) %> |
38 | 38 |
<% end %> |
public/javascripts/context_menu.js | ||
---|---|---|
38 | 38 |
} else { |
39 | 39 |
tr.removeClass('context-menu-selection'); |
40 | 40 |
} |
41 |
} else { |
|
41 |
} else if (target.closest('td.checkbox').length == 0) {
|
|
42 | 42 |
if (event.ctrlKey || event.metaKey) { |
43 | 43 |
contextMenuToggleSelection(tr); |
44 | 44 |
} else if (event.shiftKey) { |
public/stylesheets/application.css | ||
---|---|---|
222 | 222 |
#project-jump .drdn-items>a:hover {background-color:#759FCF; color:#fff !important;} |
223 | 223 | |
224 | 224 |
/***** Tables *****/ |
225 |
table.list, .table-list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } |
|
225 |
table.list, .table-list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; height: 100%; margin-bottom: 4px; }
|
|
226 | 226 |
table.list th, .table-list-header { background-color:#EEEEEE; padding: 4px; white-space:nowrap; font-weight:bold; } |
227 | 227 |
table.list td {text-align:center; vertical-align:middle; padding-right:10px;} |
228 | 228 |
table.list td.id { width: 2%; text-align: center;} |
229 | 229 |
table.list td.name, table.list td.description, table.list td.subject, table.list td.comments, table.list td.roles, table.list td.attachments {text-align: left;} |
230 | 230 |
table.list td.attachments a {display:block;} |
231 | 231 |
table.list td.tick {width:15%} |
232 |
table.list td.checkbox { width: 15px; padding: 2px 0 0 0; } |
|
233 |
table.list td.checkbox input {padding:0px;} |
|
232 |
table.list td.checkbox { width: 15px; height: 100%; padding: 2px 0 0 0; } |
|
233 |
table.list td.checkbox input { padding: 0px; } |
|
234 |
table.list td.checkbox label { |
|
235 |
height: 100%; |
|
236 |
width: 100%; |
|
237 |
display: block; |
|
238 |
position: relative; |
|
239 |
} |
|
240 |
table.list td.checkbox label input { |
|
241 |
position: absolute; |
|
242 |
top: 0; |
|
243 |
bottom: 0; |
|
244 |
left: 0; |
|
245 |
right: 0; |
|
246 |
margin: auto; |
|
247 |
} |
|
234 | 248 |
table.list td.buttons, div.buttons { white-space:nowrap; text-align: right; } |
235 | 249 |
table.list td.buttons a, div.buttons a { margin-right: 0.6em; } |
236 | 250 |
table.list td.buttons a:last-child, div.buttons a:last-child { margin-right: 0; } |