@@ -9,7 +9,7 | |||||
9 | <tbody> |
|
9 | <tbody> | |
10 | <% issues.each do |issue| %> |
|
10 | <% issues.each do |issue| %> | |
11 | <tr class="issue <%= cycle('odd', 'even') %>"> |
|
11 | <tr class="issue <%= cycle('odd', 'even') %>"> | |
12 |
<t |
|
12 | <td class="checkbox"><%= check_box_tag "issue_ids[]", issue.id, false, :id => "issue_#{issue.id}" %></td> | |
13 | <td><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td> |
|
13 | <td><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td> | |
14 | <% query.columns.each do |column| %> |
|
14 | <% query.columns.each do |column| %> | |
15 | <%= content_tag 'td', column_content(column, issue), :class => column.name %> |
|
15 | <%= content_tag 'td', column_content(column, issue), :class => column.name %> |
@@ -8,9 +8,9 | |||||
8 | <tbody> |
|
8 | <tbody> | |
9 | <% for issue in issues %> |
|
9 | <% for issue in issues %> | |
10 | <tr class="<%= cycle("odd", "even") %>"> |
|
10 | <tr class="<%= cycle("odd", "even") %>"> | |
11 | <th align="center"> |
|
11 | <td class="id"> | |
12 | <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> |
|
12 | <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> | |
13 |
</t |
|
13 | </td> | |
14 | <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br /> |
|
14 | <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br /> | |
15 | <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td> |
|
15 | <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td> | |
16 | <td> |
|
16 | <td> |
@@ -14,9 +14,9 | |||||
14 | <% revisions.each do |revision| %> |
|
14 | <% revisions.each do |revision| %> | |
15 | <% changeset = revision.is_a?(Change) ? revision.changeset : revision %> |
|
15 | <% changeset = revision.is_a?(Change) ? revision.changeset : revision %> | |
16 | <tr class="<%= cycle 'odd', 'even' %>"> |
|
16 | <tr class="<%= cycle 'odd', 'even' %>"> | |
17 |
<t |
|
17 | <td class="id"><%= link_to (revision.revision || changeset.revision), :action => 'revision', :id => project, :rev => changeset.revision %></th> | |
18 |
<td |
|
18 | <td class="checkbox"><%= radio_button_tag('rev', changeset.revision, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %></td> | |
19 |
<td |
|
19 | <td class="checkbox"><%= radio_button_tag('rev_to', changeset.revision, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td> | |
20 | <td align="center" style="width:15%"><%= format_time(changeset.committed_on) %></td> |
|
20 | <td align="center" style="width:15%"><%= format_time(changeset.committed_on) %></td> | |
21 | <td align="center" style="width:15%"><em><%=h changeset.committer %></em></td> |
|
21 | <td align="center" style="width:15%"><em><%=h changeset.committer %></em></td> | |
22 | <td align="left"><%= textilizable(changeset.comments) %></td> |
|
22 | <td align="left"><%= textilizable(changeset.comments) %></td> |
@@ -17,9 +17,9 | |||||
17 | <% line_num = 1 %> |
|
17 | <% line_num = 1 %> | |
18 | <% @versions.each do |ver| %> |
|
18 | <% @versions.each do |ver| %> | |
19 | <tr class="<%= cycle("odd", "even") %>"> |
|
19 | <tr class="<%= cycle("odd", "even") %>"> | |
20 |
<t |
|
20 | <td class="id"><%= link_to ver.version, :action => 'index', :page => @page.title, :version => ver.version %></th> | |
21 |
<td |
|
21 | <td class="checkbox"><%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < @versions.size) %></td> | |
22 |
<td |
|
22 | <td class="checkbox"><%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true || $('version_from').value > #{ver.version}) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td> | |
23 | <td align="center"><%= format_time(ver.updated_on) %></td> |
|
23 | <td align="center"><%= format_time(ver.updated_on) %></td> | |
24 | <td><em><%= ver.author ? ver.author.name : "anonyme" %></em></td> |
|
24 | <td><em><%= ver.author ? ver.author.name : "anonyme" %></em></td> | |
25 | <td><%=h ver.comments %></td> |
|
25 | <td><%=h ver.comments %></td> |
@@ -68,8 +68,14 a img{ border: 0; } | |||||
68 | /***** Tables *****/ |
|
68 | /***** Tables *****/ | |
69 | table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } |
|
69 | table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } | |
70 | table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; } |
|
70 | table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; } | |
71 | table.list tbody th { padding: 0px; } |
|
|||
72 | table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;} |
|
71 | table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;} | |
|
72 | table.list td.id { width: 2%; text-align: center;} | |||
|
73 | table.list td.checkbox { width: 15px; padding: 0px;} | |||
|
74 | ||||
|
75 | tr.issue { text-align: center; white-space: nowrap; } | |||
|
76 | tr.issue td.subject, tr.issue td.category { white-space: normal; } | |||
|
77 | tr.issue td.subject { text-align: left; } | |||
|
78 | ||||
73 | table.list tbody tr:hover { background-color:#ffffdd; } |
|
79 | table.list tbody tr:hover { background-color:#ffffdd; } | |
74 | table td {padding:2px;} |
|
80 | table td {padding:2px;} | |
75 | table p {margin:0;} |
|
81 | table p {margin:0;} | |
@@ -101,6 +107,7 div.square { | |||||
101 | form {display: inline;} |
|
107 | form {display: inline;} | |
102 | input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;} |
|
108 | input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;} | |
103 | fieldset {border: 1px solid #e4e4e4; margin:0;} |
|
109 | fieldset {border: 1px solid #e4e4e4; margin:0;} | |
|
110 | legend {color: #484848;} | |||
104 | hr { width: 100%; height: 1px; background: #ccc; border: 0;} |
|
111 | hr { width: 100%; height: 1px; background: #ccc; border: 0;} | |
105 | textarea.wiki-edit { width: 99%; } |
|
112 | textarea.wiki-edit { width: 99%; } | |
106 | li p {margin-top: 0;} |
|
113 | li p {margin-top: 0;} | |
@@ -140,12 +147,6 width: 200px; | |||||
140 |
|
147 | |||
141 | div.attachments p { margin:4px 0 2px 0; } |
|
148 | div.attachments p { margin:4px 0 2px 0; } | |
142 |
|
149 | |||
143 | /***** Issue list ****/ |
|
|||
144 | tr.issue { text-align: center; white-space: nowrap; } |
|
|||
145 | tr.issue th.checkbox { width: 15px; } |
|
|||
146 | tr.issue td.subject, tr.issue td.category { white-space: normal; } |
|
|||
147 | tr.issue td.subject { text-align: left; } |
|
|||
148 |
|
||||
149 | /***** Flash & error messages ****/ |
|
150 | /***** Flash & error messages ****/ | |
150 | #flash div, #errorExplanation, .nodata { |
|
151 | #flash div, #errorExplanation, .nodata { | |
151 | padding: 4px 4px 4px 30px; |
|
152 | padding: 4px 4px 4px 30px; |
General Comments 0
You need to be logged in to leave comments.
Login now