Changeset 5897

Show
Ignore:
Timestamp:
07/31/08 18:12:55 (4 months ago)
Author:
uta
Message:

2008/07/31 sync

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • rubricks_core/trunk/themes/asteriksorange/stylesheets/asteriksorange.css

    r5788 r5897  
    108108div.rubricks_cb_content .inner_style { 
    109109  padding:                      10px 0 0 8px; 
     110} 
     111div.rubricks_cb_bar { 
     112  background:                   url(../../../images/themes/asteriksorange/layout/cb_bar.gif) repeat-x bottom; 
     113  height:                       20px; 
     114  line-height:                  20px; 
     115  margin:                       0 -2px; 
     116  padding:                      0 8px; 
     117  position:                     relative; 
     118  text-align:                   right; 
    110119} 
    111120 
  • rubricks_core/trunk/themes/rubrickswhite/stylesheets/rubrickswhite.css

    r5788 r5897  
    108108div.rubricks_cb_content .inner_style { 
    109109  padding:                      10px 0 0 8px; 
     110} 
     111div.rubricks_cb_bar { 
     112  background:                   url(../../../images/themes/rubrickswhite/layout/cb_bar.gif) repeat-x bottom; 
     113  height:                       20px; 
     114  line-height:                  20px; 
     115  margin:                       0 -2px; 
     116  padding:                      0 8px; 
     117  position:                     relative; 
     118  text-align:                   right; 
    110119} 
    111120 
  • rubricks_core/trunk/vendor/plugins/rubricks/lib/action_view_rubricks_block_helper.rb

    r5759 r5897  
    1010        return html 
    1111      end 
     12 
     13      def render_block_bar(&block) 
     14        content = capture(&block) 
     15        concat(render_block_bar_begin,  block.binding) 
     16        concat(content,                 block.binding) 
     17        concat(render_block_bar_end,    block.binding) 
     18      end 
     19 
     20      private 
     21      def render_block_bar_begin 
     22        '<div class="rubricks_cb_bar">' 
     23      end 
     24 
     25      def render_block_bar_end 
     26        '</div>' 
     27      end 
    1228    end 
    1329  end