diff --git a/tailbone/static/css/grids.css b/tailbone/static/css/grids.css index b192b1b3..bb565464 100644 --- a/tailbone/static/css/grids.css +++ b/tailbone/static/css/grids.css @@ -73,6 +73,11 @@ div.grid.full table { width: 100%; } +div.grid.no-border table { + border-left: none; + border-top: none; +} + div.grid table th, div.grid table td { border-right: 1px solid black; diff --git a/tailbone/static/css/layout.css b/tailbone/static/css/layout.css index 9f087952..758faba9 100644 --- a/tailbone/static/css/layout.css +++ b/tailbone/static/css/layout.css @@ -68,19 +68,28 @@ body > #body-wrapper { * Panels ******************************/ +.panel, +.panel-grid { + border-left: 1px solid Black; + margin-bottom: 15px; +} + .panel { border-bottom: 1px solid Black; - border-left: 1px solid Black; border-right: 1px solid Black; - margin-bottom: 15px; padding: 0px; } -.panel h2 { - border-top: 1px solid Black; +.panel h2, +.panel-grid h2 { border-bottom: 1px solid Black; - margin: 0px; + border-top: 1px solid Black; padding: 5px; + margin: 0px; +} + +.panel-grid h2 { + border-right: 1px solid Black; } .panel-body { diff --git a/tailbone/templates/products/read.mako b/tailbone/templates/products/read.mako index 04260832..74e9954d 100644 --- a/tailbone/templates/products/read.mako +++ b/tailbone/templates/products/read.mako @@ -15,7 +15,7 @@ .panel-wrapper { float: left; margin-right: 15px; - width: 45%; + min-width: 45%; } @@ -96,62 +96,62 @@ -
+

Vendor Sources

-
- % if product.costs: -
- - - - - - - - - - - % for i, cost in enumerate(product.costs, 1): - - - - - - - - - % endfor - -
Pref.VendorCodeCase SizeCase CostUnit Cost
${'X' if cost.preference == 1 else ''}${cost.vendor}${cost.code}${cost.case_size}${'$ %0.2f' % cost.case_cost if cost.case_cost is not None else ''}${'$ %0.4f' % cost.unit_cost if cost.unit_cost is not None else ''}
-
- % else: + % if product.costs: +
+ + + + + + + + + + + % for i, cost in enumerate(product.costs, 1): + + + + + + + + + % endfor + +
Pref.VendorCodeCase SizeCase CostUnit Cost
${'X' if cost.preference == 1 else ''}${cost.vendor}${cost.code}${cost.case_size}${'$ %0.2f' % cost.case_cost if cost.case_cost is not None else ''}${'$ %0.4f' % cost.unit_cost if cost.unit_cost is not None else ''}
+
+ % else: +

None on file.

- % endif -
+
+ % endif
-
+

Additional Lookup Codes

-
- % if product.codes: -
- - - - - - % for i, code in enumerate(product.codes, 1): - - - - % endfor - -
Code
${code}
-
- % else: -

None on file.

- % endif -
+ % if product.codes: +
+ + + + + + % for i, code in enumerate(product.codes, 1): + + + + % endfor + +
Code
${code}
+
+ % else: +
+

None on file.

+
+ % endif