Sha256: c421c1d0ce71f9c6fb1b6955bf7114d801e93e871e8620b7ce6ad724dc237514

Contents?: true

Size: 1.19 KB

Versions: 3

Compression:

Stored size: 1.19 KB

Contents

!!!
%html{ lang: locale }
  %head
    %meta{ content: 'text/html; charset=UTF-8', 'http-equiv': 'Content-Type' }/
    %title= page_title(@page_title)
    = csrf_meta_tags
    = stylesheet_link_tag    'application', 'data-turbolinks-track': 'reload', media: 'all'
    = javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
  %body.page#top
    %noscript
      = _('Javascript seems to be disabled.')
    = render 'elabs/layouts/menu'

    - if @page_title # This variable should be set in views (or controllers)
      %h1.page__title= @page_title

    .page__actions
      = render "elabs/#{controller_name}/filters" if render_filters?
      %a.btn--report{ href: '#', onclick: 'openModal(event, "report-modal")' }
        %i.fa.fa-flag
        = _('Report this page')

    .page__content
      .page__content__container
        = yield

    .modal#report-modal
      .modal__overlay
      .modal__window
        .modal__window__title
          %h1= _('Report this page')
          .modal__close-button
            %i.fa.fa-times{ onclick: 'closeModal("report-modal")' }
        .modal__window__content
          = render 'elabs/reports/form', new_report: @new_report

    = render 'elabs/layouts/footer'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
elabs-3.0.0 app/views/elabs/layouts/application.html.haml
elabs-2.0.0 app/views/elabs/layouts/application.html.haml
elabs-2.0.0.pre app/views/elabs/layouts/application.html.haml