lib/bspin.rb in bspin-0.0.2 vs lib/bspin.rb in bspin-0.2.0
- old
+ new
@@ -1,47 +1,5 @@
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
-
+ class Engine < ::Rails::Engine; end
end