Minor CSS tweaks

This commit is contained in:
Eric Davis
2008-06-09 17:19:19 -07:00
parent 1bb2742521
commit 618b3757af
2 changed files with 7 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
<%= content_tag(:td, link_to_function("Details", "$('deliverable-details-#{deliverable.id}').toggle();"), :class => 'actions') %>
</tr>
<tr id="deliverable-details-<%= deliverable.id %>" class="deliverable deliverable-details <%= css %>" style="display:none;">
<td>
<td class="deliverable-actions">
<%= content_tag(:p,link_to("Edit", :action => 'edit', :id => @project.id, :deliverable_id => deliverable.id)) if allowed_management? -%>
<%= content_tag(:p,link_to("Delete", { :action => 'destroy', :id => @project.id, :deliverable_id => deliverable.id}, :confirm => l(:text_are_you_sure))) if allowed_management? %>
<%= content_tag(:p,link_to("Issues", :action => 'issues', :id => @project.id, :deliverable_id => deliverable.id)) -%>

View File

@@ -11,6 +11,12 @@ tr.deliverable td.spent { text-align: right; }
tr.deliverable td.due_date { text-align: center; }
tr.deliverable td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
tr.deliverable-details { border-top: 1px solid #BBBBBB; }
tr.deliverable-details td { padding-bottom: 50px ; }
td.deliverable-actions { padding-left: 10px; }
tr.deliverable-details p { text-align:left; clear:both;}
tr.deliverable-details span.title { float:left; font-weight:bold; width: 130px;}
tr.deliverable-details span.data { float:right; padding-right: 50px;}