Sha256: f2d70739b551207e26497fa00798848aabb3c8621d4452fb1896649a660c8216

Contents?: true

Size: 1.76 KB

Versions: 5

Compression:

Stored size: 1.76 KB

Contents

<div class="black_layer"></div>
<div class="content_and_background beforeAfterPage">
  <div class="close_button text_hidden_only" tabindex="4" title="<%= t('pageflow.public.before_after.leave_view') %>">
    <div class="label">
      <%= t('pageflow.public.close') %>
    </div>
  </div>

  <div class="page_background page_background-for_page_with_player_controls">
    <div class="uncropped_media_wrapper">
      <div class="before_after_container">
        <div class="before_after">
          <div class="before_wrapper">
            <%= background_image_div_with_size(configuration, 'before_image', :class => 'before_image', :spanning => true) %>
          </div>
          <div class="after_wrapper">
            <%= background_image_div_with_size(configuration, 'after_image', :class => 'after_image', :spanning => true) %>
          </div>
        </div>
      </div>
    </div>
    <%= shadow_div :opacity => configuration['gradient_opacity'] %>
  </div>

  <div class="content">
    <div class="controls" data-role="player_controls">
      <span class="hint"><%= t('pageflow.public.before_after.hint') %></span>
      <%= info_box(configuration) %>
      <div class="vjs-control-bar view-control">
        <div class="play_button vjs-controls vjs-default-skin vjs-player">
          <a class="vjs-play-control vjs-play vjs-control" tabindex="4" title="<%= t('pageflow.public.before_after.start_title') %>"><span></span></a>
        </div>
        <div class="control_bar_text">
          <%= configuration['control_bar_text'].presence || t('pageflow.public.before_after.start') %>
        </div>
      </div>
    </div>

    <div class="scroller">
      <div>
        <div class="content_wrapper">
          <%= page_default_content(page) %>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pageflow-before-after-1.6.0 app/views/pageflow/before_after/page.html.erb
pageflow-before-after-1.5.0 app/views/pageflow/before_after/page.html.erb
pageflow-before-after-1.4.0 app/views/pageflow/before_after/page.html.erb
pageflow-before-after-1.3.0 app/views/pageflow/before_after/page.html.erb
pageflow-before-after-1.2.0 app/views/pageflow/before_after/page.html.erb