Sha256: c0cf9017e4343672ec7059561825651ed3b7d74b7d35f291e5d5aa3a73369412

Contents?: true

Size: 1.97 KB

Versions: 4

Compression:

Stored size: 1.97 KB

Contents

doctype html
html
  head
    title = Rails.application.class.module_parent_name
    meta name="viewport" content="width=device-width,initial-scale=1"
    - if @turbo_no_cache
      meta name="turbo-cache-control" content="no-cache"
    / meta name="turbo-refresh-method" content="morph"
    / meta name="turbo-refresh-scroll" content="preserve"
    meta name="turbo-prefetch" content="false"
    meta name="view-transition" content="same-origin"
    meta name="cable-history-timestamp" content="#{Time.now.to_i}"
    = csrf_meta_tags
    = csp_meta_tag
    = action_cable_with_jwt_meta_tag

    = stylesheet_link_tag 'application', 'data-turbo-track': 'reload'
    = javascript_include_tag 'application', 'data-turbo-track': 'reload', type: 'module'
    meta(name="actioncable-protocol"
         content="#{Rails.env.test? ? 'actioncable-v1-json' : 'actioncable-v1-ext-json'}")
    - if @rollbar_token.present?
      meta name="rollbar-token" content="#{@rollbar_token}"
      meta name="rollbar-env" content="#{Rails.env}"
  body
    #flash-wrapper.d-flex.justify-content-around
      #flash.flash.z-1
        = render partial: 'pg_layout/flash'
    = render partial: 'pg_layout/sidebar_mobile'

    div class="#{ @sidebar == false ? '' : 'with-sidebar' }"
      - unless @sidebar == false
        = render partial: 'pg_layout/sidebar'
      div
        = render partial: 'pg_layout/navbar'
        div
          - if user_signed_in? && breadcrumbs.any?
            .d-flex.align-items-center.justify-content-between.px-3.py-1.d-print-none[
              style="min-height: 2.5em;"]
              nav aria-label="breadcrumb"
                = render_breadcrumbs
              / = render_breadcrumbs builder: ::Bootstrap4BreadcrumbsBuilder
              .btn-toolbar
                = yield(:actions)
            hr.my-0
          = render partial: 'pg_layout/flash_alert'
          = content_for?(:content) ? yield(:content) : yield
          div style="width:100%; height: 10em"
    = render_turbo_stream_title

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pg_rails-7.0.8.pre.alpha.45 pg_layout/app/views/layouts/pg_layout/base.html.slim
pg_rails-7.0.8.pre.alpha.44 pg_layout/app/views/layouts/pg_layout/base.html.slim
pg_rails-7.0.8.pre.alpha.43 pg_layout/app/views/layouts/pg_layout/base.html.slim
pg_rails-7.0.8.pre.alpha.42 pg_layout/app/views/layouts/pg_layout/base.html.slim