Sha256: 303f1a4b1484f9a75a48b6b1cc5f7a9787dcdf759c3f788c3632cc096b33b8f7

Contents?: true

Size: 1.82 KB

Versions: 12

Compression:

Stored size: 1.82 KB

Contents

- content_for(:permanent_notice) do
  - unless current_account.robots_allowed?
    .permanent-notice.permanent-notice-info{data: {icon: 'k'}}
      %p
        =t 'spina.pages.invisible_to_search_engines'
        %small=t 'spina.pages.invisible_to_search_engines_description'

.filters
  %span{data: {dropdown: true}}
    = link_to t('spina.pages.new'), spina.new_admin_page_path, class: 'button button-primary', data: {icon: 't', trigger: ('dropdown' if current_theme.new_page_templates.size > 1), target: '#create_page_dropdown'}

    .sliding-dropdown#create_page_dropdown
      .slide-controls
        %a.previous.muted.icon-only{href: '#', data: {icon: '!'}}

        - current_theme.new_page_templates.each_with_index do |template, index|
          .slide-title{class: ('active' if index == 0), data: {target: "#slide-#{template[1].parameterize}"}}= template[1]

        %a.next.icon-only{href: '#', data: {icon: '"'}}

      - current_theme.new_page_templates.each_with_index do |template, index|
        .slide{class: ('active' if index == 0), id: "slide-#{template[1].parameterize}"}
          %p= template[2]

          %p.muted= template[3]

          .slide-dots
            - current_theme.new_page_templates.each_with_index do |template2, index2|
              .slide-dot{class: ('active' if index2 == index)}

          = link_to t('spina.pages.create_page', template: template[1]), spina.new_admin_page_path(params: {view_template: template[0]}), class: 'button button-primary', data: {icon: 'q'}

  = link_to t('spina.pages.change_order'), '#pages_list', class: 'button sort-switch', data: {icon: '8', change_order: t('spina.pages.change_order'), done_changing_order: t('spina.pages.done_changing_order')}

.dd#pages_list{data: {:"sort-url" => spina.sort_admin_pages_url }}
  %ol.dd-list
    = render partial: 'page', collection: @pages.roots

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spina-0.6.24 app/views/spina/admin/pages/index.html.haml
spina-0.6.23 app/views/spina/admin/pages/index.html.haml
spina-0.6.22 app/views/spina/admin/pages/index.html.haml
spina-0.6.21 app/views/spina/admin/pages/index.html.haml
spina-0.6.20 app/views/spina/admin/pages/index.html.haml
spina-0.6.19 app/views/spina/admin/pages/index.html.haml
spina-0.6.18 app/views/spina/admin/pages/index.html.haml
spina-0.6.17 app/views/spina/admin/pages/index.html.haml
spina-0.6.16 app/views/spina/admin/pages/index.html.haml
spina-0.6.15 app/views/spina/admin/pages/index.html.haml
spina-0.6.14 app/views/spina/admin/pages/index.html.haml
spina-0.6.13 app/views/spina/admin/pages/index.html.haml