Sha256: 7fc436046a04fde188d8ff84a07b881bd9d3275a98ebd95424d6fa88c96fbecc

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 Bytes

Contents

ruby:
  height = pagelet_options.placeholder.try(:[], :height)
  text = pagelet_options.placeholder.try(:[], :text) || 'Loading ...'
  height = height.is_a?(Numeric) ? "#{height}px" : 'auto'

div style="display: table; height: #{height}; overflow: hidden; width: 100%;"
  div style="display: table-cell; vertical-align: middle;"
    div.text-center
      span.spinner.spinner-three-bounce
        .bounce1
        .bounce2
        .bounce3
      br
      span = text

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pagelet_rails-0.1.0 app/views/layouts/pagelet_rails/loading_placeholder.slim