[#4182] Style the labor and overhead sections of the table a bit.

This commit is contained in:
Eric Davis
2010-07-07 13:48:43 -07:00
parent 5cc66ddb09
commit e199c77bae
2 changed files with 5 additions and 3 deletions
+2 -3
View File
@@ -8,9 +8,8 @@ module ContractsHelper
def format_budget_for_deliverable(deliverable, spent, total)
if total > 0 || spent > 0
content_tag(:span, h(number_to_currency(spent, :unit => '')), :class => 'spent-amount') +
" " +
content_tag(:span, h(number_to_currency(total, :unit => '')), :class => 'total-amount')
content_tag(:div, h(number_to_currency(spent, :unit => '')), :class => 'spent-amount') +
content_tag(:div, h(number_to_currency(total, :unit => '')), :class => 'total-amount')
else
'---'
end
+3
View File
@@ -23,3 +23,6 @@ a.contract-delete {color: red; }
/* Positioning */
#deliverable-finances ol li { display: inline; }
#deliverable-finances ol li label { float: none; margin-left: 0; }
#deliverables td.labor, #deliverables td.overhead, #deliverables td.fixed { text-align: center; }
#deliverables td.labor div, #deliverables td.overhead div, #deliverables td.fixed div { text-align: right; display: inline; padding: 0 5px; width: 50%; }