Sha256: 746fdd6a7b766358c07471c51244129ffd0e19b51f0786b02126a54cc475be8d

Contents?: true

Size: 1.26 KB

Versions: 2

Compression:

Stored size: 1.26 KB

Contents

require "bspin/version"

module Bspin
  def self.hblock
    html = <<-HTML
    <div class='modal' id='spinner' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
      <div class='modal-dialog' style='margin-top:30%;margin-left:45%'>
        <div class='modal-content' style='margin-top:-50%; width:110px; background-color: transparent;'>

        <div class='modal-body' style='height: 120px; background-color: transparent; '>
          <div id='floatingBarsG'>
            <div class='blockG' id='rotateG_01'></div>
            <div class='blockG' id='rotateG_02'></div>
            <div class='blockG' id='rotateG_03'></div>
            <div class='blockG' id='rotateG_04'></div>
            <div class='blockG' id='rotateG_05'></div>
            <div class='blockG' id='rotateG_06'></div>
            <div class='blockG' id='rotateG_07'></div>
            <div class='blockG' id='rotateG_08'></div>
         </div>
        </div>

      </div>
     </div>
    </div>
    HTML

    html
  end

  def self.jblock
    html = <<-HTML
  <script type="text/javascript">
      function please_wait() {
          $('#spinner').modal({
              backdrop: false,
              keyboard: false
          });
      }
      ;
  </script>
    HTML

    html
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bspin-0.0.2 lib/bspin.rb
bspin-0.0.1 lib/bspin.rb